/* Last remove css*/
.page-id-31502 .zsiq_theme1.zsiq_floatmain {
    display: none !important;
}



/* Searchbar container */
#azillm-searchbar-wrap {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 70px; /* default height */
  opacity: 1;
}

/* collapsed state */
#azillm-searchbar-wrap.closed {
  max-height: 70px;  /* only enough for the icon */
  opacity: 1;        /* icon stays visible */
}

/* expanded state */
#azillm-searchbar-wrap.open {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 30px;
}

/* collapsed state */
#azillm-searchbar-wrap.closed .azillm-questions,
#azillm-searchbar-wrap.closed .azillm-close-icon {
  display: none;
}

/* expanded state */
#azillm-searchbar-wrap.open .azillm-questions,
#azillm-searchbar-wrap.open .azillm-close-icon {
  
}


#azillm-searchbar-wrap.closed {
  max-height: 50px;
}
#azillm-searchbar-wrap {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}
.search-header {
    padding: 10px 0;
}
span.azillm-close-icon {
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    background: linear-gradient(180deg, rgba(170, 170, 170, 0.2) 0%, rgba(170, 170, 170, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}
.azillm-search-icon img.serchllm {display: block; }
.azillm-searchbar {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08));
    backdrop-filter: blur(13.832858085632324px);
    box-shadow: 0px 0px 14px -1px #00000029;
    border-radius: 60px;
    border: 1px solid #CDCDCD;
    height: 58px;
    display: flex;
    justify-content: end;
    gap: 10px;
    padding-inline: 15px;
    position: relative;
    min-height: 58px;
        transition: 0.3s;
}
.closed .azillm-searchbar {
    position: fixed;
    display: inline-flex;
    right: 50px;
    padding-inline: 10px;
}
span.azillm-search-icon {
    width: 36px;
    height: 36px;
    cursor: pointer;
}
.azillm-search-icon img.serchllm {
    display: block;
    width: 36px;
    height: 36px;
}
.az-search-close {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: end;
}
.azillm-questions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: pointer;
}
.azillm-questions::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.azillm-questions span.azillm-pill {
    font-size: 14px;
    padding: 5px 15px;
    border: 1px solid transparent;
    border-radius: 50px;
    background: linear-gradient(#111, #111) padding-box, /* Inner solid dark background */
    linear-gradient(90deg, #ff0080, #ffae00, #0000ff) border-box;
    box-shadow: 3px 4px 4px 0px #FFFFFF33 inset;
    color: #CFCECE;
}
.azillm-sidepopup {
    z-index: 99999 !important;
}

.azillm-sidepopup {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
}
.azillm-sidepopup.open { right:0; }
.popup-header {
    background: #0D0D0D;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #0D0D0D;
    box-shadow: 0px 8px 10px -6px #0000001A;
    box-shadow: -8px 0px 25px -19px #6E6E6E80;
}
.popup-footer {
    padding: 15px;
    display: flex;
    background: #0D0D0D;
    flex-direction: column;
}
.foll_questiin h4 {
    font-size: 12px;
    color: #ACACAC;
    font-weight: normal;
    margin-bottom: 10px;
}
.foll_questiin {
    border-top: 1px solid #232323;
    padding-top: 15px;
    margin-top: 15px;
}
#azillm-search-input { flex:1; padding:8px; border:1px solid #ccc; border-radius:4px; }
#azillm-search-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    padding: 0;
    position: absolute;
    right: 15px;
}
.user-query {
    margin-bottom: 10px;
    background: #121212;
    padding: 10px;
    border-radius: 6px;
    color: #C7C7C7;
    font-size: 14px;
}
        .azillm-sources h4, .questions-section h4 { margin-top:20px; margin-bottom:10px; }
        .source-item { background:#f9f9f9; padding:8px; margin:5px 0; border-radius:6px; }
        .question-item { padding:8px 12px; margin:4px 0; background:#f1f1f1; border-radius:6px; cursor:pointer; }
        .question-item:hover { background:#e9ecef; }
        .ai-answer { color: #C7C7C7; font-size: 14px;background: #121212; padding: 10px;    border-radius: 6px;}

  /* Expanded Fullscreen Mode */
.azillm-sidepopup.expanded {
  position: fixed;
  inset: 0; /* full screen */
  width: 100% !important;
  height: 100% !important;
  right: 0;
  top: 0;
  background: #0D0D0D; /* dark background like figma */
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  padding: 40px 20px;
  overflow: hidden;
}

/* Hide sidebar look in expanded */
.azillm-sidepopup.expanded .popup-header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  background: transparent;
  border: none;
  padding: 20px;
}

.azillm-sidepopup.expanded .popup-header .title {
  display: none; /* hide "Azilen AI Assistant" title */
}
.azillm-sidepopup.expanded .popup-body, .azillm-sidepopup.expanded .popup-footer {max-width: 1090px;width: 100%;}
.azillm-sidepopup.expanded .popup-body {
    flex: 1;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: unset;
}
div#azillm-answer {
    width: 100%;
}

.azillm-sidepopup.expanded .popup-footer {  
  margin: 0 auto;
  padding: 20px;
}

.azillm-sidepopup.expanded #azillm-search-input {
  flex: 1;
  padding: 15px 20px;
}

.azillm-sidepopup .popup-body::-webkit-scrollbar {
  width: 0px;
}

/* Close icon styled for fullscreen */
.azillm-sidepopup.expanded #azillm-side-close {
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}
.foll_questiin span.azillm-pill {
    white-space: normal;
    line-height: 1.4;
    background: #1C1C1C;
    border-radius: 6px;
    font-size: 13px;
    color: #C7C7C7;
    padding: 8px 10px;
}
span.last_con {
    font-size: 14px;
    color: #8F8F8F;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.searchfooter input#azillm-search-input {
    border: 1px solid transparent;
    border-radius: 9999px;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box, 
    linear-gradient(90deg, #ff007a, #ffb800, #007bff) border-box;
    padding: 12px 20px;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #929292;
}
.azillm-sidepopup  .popup-footer .searchfooter {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.popup-actions span#azillm-side-close, .popup-actions .expand-icon {
    color: #fff;
    line-height: 1;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-header .popup-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.popup-header span.title {
    line-height: 1;
    color: #CFCFCF;
    font-weight: 600;
}
.popup-header-cont {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ppup-header-logo img {
    display: block;
}
span.header-sub {
    color: #FAFAFA80;
    font-size: 13px;
    line-height: 1;
}
.popup-header-logo-cont {
    display: flex;
    align-items: center;
    gap: 10px;
}
.azillm-sidepopup.expanded.open {
    padding: 0;
}
.popup-actions > span {
    cursor: pointer;
}


.popup-footer-inner {
    padding: 10px;
}
.ft-q-title {
    font-size: 12px;
    color: #ACACAC;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}
.popup-footer-question {
    margin-bottom: 20px;
}
.ft-q-row {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ft-q-row .ft-q-li a:before {
    content: "";
    background: url(/wp-content/uploads/2025/09/Star.svg);
    width: 16px;
    height: 18px;
    display: block;
}
.ft-q-row .ft-q-li a {
    padding: 10px;
    line-height: 1;
    border-radius: 6px;
    background: #1C1C1C;
    color: #FAFAFA;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

div#azillm-sidepopup.expanded .popup-header-logo-cont{ 
    display:none
}