@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
* {
	margin: 0;
	padding: 0;
}
body {
	font-family: Roboto;
}
/* 

.search-input-container {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.search-icon {
    margin-right: 12px;
    color: #6b7280;
}

.search_overlay_input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: #374151;
    font-weight: 500;
}

.search_overlay_input::placeholder {
    color: #9ca3af;
}
*/

.ai-powered-badge {
    display: inline-flex;
    width: 132px;
    align-items: center;
    gap: 6px;
    padding: 5px 0px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ai-powered-badge .ai-powered-icon {
    background-image: url('/resources/app/images/ai_icon_small.svg');
    width: 14px;
    height: 18px;
}
.ai-powered-badge .ai-powered-text {
    background: linear-gradient(297deg, #3EA9F4 -0.52%, #0E055B 99.66%);
    -webkit-background-clip: text;  /* For Safari/Chrome */
    -webkit-text-fill-color: transparent; /* Makes the text take the gradient */
    background-clip: text; /* For Firefox (experimental) */
    color: transparent; /* Fallback */
}
.ui-sesg-item.ai-search-option{
    padding: 10px 10px 5px 10px;
}
.ai-search-container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border-radius: 8px;
    background: #F3F8FD;
    cursor: pointer;
}
.ai-icon {
    background-image: url(/resources/app/images/ai_icon_large.svg);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: 26px;
}
.ai-text {
    flex: 1;
}
.ai-query{
    font-size: 18px;
    font-weight: 400;
    color: #2e2e2e;
}
.ai-title {
    font-size: 12px;
    font-weight: 400;
    color: #4d4d4d;
    margin-bottom: 4px;
}
.search-result-item {
    padding: 5px 10px;
}

.search-result-container {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    padding: 10px 10px;
    cursor: pointer;
}
.search-result-container:hover {
    background: #F3F8FD;
}
.result-icon {
    background-image: url(/resources/app/images/ArticlePage.svg);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: 20px;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 18px;
    font-weight: 400;
    color: #4d4d4d;
    margin-bottom: 6px;
    line-height: 1.4;
}

.result-description {
    font-size: 14px;
    color: #7d7d7d;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ui-sesg-item.search-for-option{
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    cursor: pointer;
    border-top: 1px solid #d6d6d6;
    padding: 20px;
}
.ui-sesg-item.search-for-option .ui-search-sgmenu{
    font-family: roboto !important;
    display: flex;
    font-size: 18px;
    padding: 0px;
    color: #4D4D4D;
    cursor: pointer;
    flex: 1;
}
.ui-sesg-item.search-for-option .ui-search-sgmenu:hover{
    background-color: transparent !important;
}
.search-for-container-icon{
    background :url(/resources/app/images/old_toc_top_bar/Search.svg);
    width: 24px;
    height: 24px;
    outline: none;
    background-repeat: no-repeat;
    border: none;
    align-items: center;
    background-position: center;
    background-size: 18px;
}


/* Support Tab Pop-up Form */
#ux-support-lightbox.ux-flat-lb {
    position: fixed;
    bottom: 0;
    margin: auto;
    align-items: center;
    justify-content: center;
}
#ux-support-lightbox {
    z-index: 99999;
}
.lightboxCenterUi.open, .lightboxCenterUipdf.open {
    display: block;
}
#ux-support-lightbox-outerContainer {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}
.ux-flat-lb #ux-support-lightbox-Container {
    border: #ccc 1px solid;
}
#ux-support-lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 15000;
    text-align: center;
}
#ux-support-lightbox-content-wrap {
    text-align: left;
}
.ux-flat-lb #ux-support-lightbox-title {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
    color: #000;
    height: 34px;
}
.ux-flat-lb #ux-support-lightbox-title {
    border: 0;
    background-color: #fff;
}
#ux-support-lightbox-title {
    background-color: #e8e8e8;
    height: 27px;
    color: #333;
    font: 12px Arial,Helvetica,sans-serif;
    border-top: #fff 1px solid;
    border-left: #fff 1px solid;
    border-right: #fff 1px solid;
}
#ux-support-lightbox-headerText {
    float: left;
    margin-bottom: 1px;
    padding: 7px 0 0 10px;
}
.ux-flat-lb #ux-support-lightbox-title {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
    color: #000;
    height: 34px;
}
#ux-support-lightbox-title {
    height: 27px;
    color: #333;
    font: 12px Arial,Helvetica,sans-serif;
}
#ux-support-lightbox-content-wrap {
    text-align: left;
}
#ux-lightbox-close-wrap {
    float: right;
    position: relative;
    z-index: 0;
    height: 27px;
    width: 32px;
}
.lightboxCenterUi #ux-lightbox-close, .lightboxCenterUipdf #ux-lightbox-close {
    cursor: pointer;
    left: 10px;
    top: 11px;
}
.ux-flat-lb #ux-support-lightbox-title {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
    color: #000;
    height: 35px;
    padding: 0px;
    margin: 0px;
}
.lightboxCenterUi #ux-support-lightbox-close, .lightboxCenterUipdf #ux-support-lightbox-close {
    cursor: pointer;
    left: 10px;
    top: 11px;
}

#ux-support-lightbox-content {
    clear: both;
    overflow: hidden;
    background-color: #fff;
    border: #fff 1px solid;
    text-align: left;
}
.ux-flat-lb #ux-support-lightbox-content {
    border-color: #e2e2e2;
}

#ux-support-lightbox-content {
    clear: both;
    overflow: auto;
    background-color: #fff;
    border: #fff 1px solid;
    text-align: left;
}
.lightboxCenterUi.open ~ #ux-support-lightbox-overlay, .lightboxCenterUipdf.open ~ #ux-support-lightbox-overlay {
    display: block;
    opacity: 0.75;
    height: 100%;
    background: #000;
}
#ux-support-lightbox-overlay {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 14999;
    width: 100%;
    height: 500px;
    padding: 0;
    margin: 0;
}

.close-support-lightbox{
    display: none;
}

.open-support-lightbox{
    display: block;
}



/*End Support Tab Pop-up Form */


/* Add Icon for Toggle */

.toggle_div .collapse-icon {
    padding-left: 30px;
    background-image: url(/resources/app/images/arrow_right.svg);
    background-position: 10px 4px;
    background-repeat: no-repeat;
    width: 10px;
    background-size: 8px;
    height: 100px;
}

.toggle_div .expend-icon {
    padding-left: 30px;
    background-image: url(/resources/app/images/arrow_down.svg);
    background-position: 10px 5px;
    background-repeat: no-repeat;
    width: 10px;
    background-size: 15px;
    height: 100px;
}

.tooltipcss.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}
.tooltipcss.modal.open{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 1;
}
.tooltipcss.fade {
    opacity: 0;
    transition: opacity .15s linear;
}
.tooltipcss .modal-dialog {
    position: relative;
    width: 500px;
    margin: .5rem;
    pointer-events: none;
    z-index: 99;
    text-align: center;
    -webkit-box-shadow: rgb(0 0 0 / 40%) 0 0.1em 0.5em;
    -moz-box-shadow: rgba(0,0,0,0.4) 0 0.1em 0.5em;
    box-shadow: rgb(0 0 0 / 40%) 0 0.1em 0.5em;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    -ms-border-radius: 0.3em;
    -o-border-radius: 0.3em;
    border-radius: 0.3em;
}
.tooltipcss.open.modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.tooltipcss.fade.show {
    opacity: 1;
}

.tooltipcss.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
}
.modal.show .modal-dialog {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
}
.tooltipcss .modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

.tooltipcss .modal-header {
    display: block;
    padding: 1rem 1rem 0.5rem;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    text-align: center;
}
.tooltipcss .x-msgbox-text {
    color: rgba(204,204,204,0.9);
}
.tooltipcss .thankyoumsg{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7em;
    padding-bottom: 0.5rem;
}
.tooltipcss .modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}
.tooltipcss .close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.tooltipcss .modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.tooltipcss button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}


.tooltipcss .close:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.tooltipcss .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding:1rem;
    line-height: 1.7rem;

}

.tooltipcss .modal-body form {
    display: block;
    margin-top: 0em;
}

.tooltipcss .modal-body .form-group {
    margin-bottom: 1rem;
}
.tooltipcss .modal-body .col-form-label {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}


.tooltipcss .modal-body .form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.tooltipcss .modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0px 1rem 1rem;
}
.tooltipcss .btn-secondary {
    background-color:rgb(239, 239, 239);
}
.tooltipcss .btn-primary{

    color: #fff;
    background-color:#3b5998;
}
.tooltipcss .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.tooltipcss .btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.tooltipcss .modal-footer>:not(:last-child) {
    margin-right: .25rem;
}
.tooltipcss .modal-footer>:not(:first-child) {
    margin-left: .25rem;
}
.modal-dialog.tooltip {
    height: auto !important;
}

.hq-tip {
    position: relative;
}

#tooltipContainer {
display:none;
padding: 8px !important;
top: 32px;
left: unset;
right: unset;
position: absolute;
border-radius: 5px;
background: #fff;
z-index: 11;
border: 1px solid rgba(0,0,0,.2);
box-shadow: 0 0 10px #ccc;
}


.ui-sesgs-container {
    background-color: white;
    border: 1px solid #ccc;
    border-top: none; /* remove top border to connect visually with input */
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    margin-top:20px
}

.ui-sesgs-item {
    /*padding: 10px;*/
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.ui-sesgs-item:hover {
    background-color: #f2f2f2;
}

.proprofs-ai-box{
	border: 1px solid #e0e0e0; 
	background: #f9f9fb; 
	border-radius: 10px; 
	padding: 22px 24px 16px 24px; 
	margin-bottom: 22px; 
	box-shadow: 0 2px 8px rgba(80, 80, 120, 0.04);
}
.proprofsAi-icon{
	background-image: url(/resources/app/images/Ai_Icon.svg);
    background-position: 5px 4px;
    background-repeat: no-repeat;
    width: 30px;
    background-size: 15px;
    height: 20px;
}


@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}

.blinking {
    animation: blink 1s infinite;
}

.ai-toggle{
    background-color: transparent;
    color: #3b5998;
    border-radius: 25px;
    padding: 10px 25px;
    border: 1px solid #0a53a8;
    outline: none;
    cursor: pointer;
    max-width: -moz-fit-content;
    max-width: fit-content;
}

.ai-toggle:hover {
    background-color: #0a53a8;
    color: #ffffff;
}


.dot-pulse {
    position: relative;
    left: -9999px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #1970d5;
    color: #1970d5;
    box-shadow: 9999px 0 0 -5px;
    animation: dot-pulse 2s infinite linear;
    animation-delay: 0.25s;
    margin: 7px 0 0 20px;
  }
  
  .dot-pulse::before,
  .dot-pulse::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #1970d5;
    color: #1970d5;
  }
  
  .dot-pulse::before {
    box-shadow: 9984px 0 0 -5px;
    animation: dot-pulse-before 2s infinite linear;
    animation-delay: 0s;
  }
  
  .dot-pulse::after {
    box-shadow: 10014px 0 0 -5px;
    animation: dot-pulse-after 2s infinite linear;
    animation-delay: 0.5s;
  }
  @keyframes dot-pulse-before {
    0% {
      box-shadow: 9984px 0 0 -5px;
    }
  
    30% {
      box-shadow: 9984px 0 0 2px;
    }
  
    60%,
    100% {
      box-shadow: 9984px 0 0 -5px;
    }
  }
  
  @keyframes dot-pulse {
    0% {
      box-shadow: 9999px 0 0 -5px;
    }
  
    30% {
      box-shadow: 9999px 0 0 2px;
    }
  
    60%,
    100% {
      box-shadow: 9999px 0 0 -5px;
    }
  }
  
  @keyframes dot-pulse-after {
    0% {
      box-shadow: 10014px 0 0 -5px;
    }
  
    30% {
      box-shadow: 10014px 0 0 2px;
    }
  
    60%,
    100% {
      box-shadow: 10014px 0 0 -5px;
    }
}

.header_search_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0c0d0d33; /* Light tint */
  backdrop-filter: blur(7px); /* Actual blur */
  -webkit-backdrop-filter: blur(8px);
  display: none;
  z-index: 9999;
  box-sizing: border-box;
  padding: 40px 20px 0;
}
.header_search_overlay_ai {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0c0d0d33; /* Light tint */
  backdrop-filter: blur(7px); /* Actual blur */
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  box-sizing: border-box;
  padding: 40px 20px 0;
}

.search_overlay_content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.search_overlay_content_ai {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.outside-overlay {
  width: 100%;
  padding: 12px 8px 12px 18px;
  font-size: 18px;
  border-radius: 50px;
  border: 1px solid #dcdcdc;
  background: white;
  box-shadow: 0px 16px 32px -12px rgba(88, 92, 95, .1);
  display: flex;
  gap: 12px;
  align-items: center;
}
.search_overlay_input, .search_overlay_input:focus{
    outline:none;
    border: none;
    width: 700px;

}
.outside-overlay .search_icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
}

.hb-menulist li {
    list-style: none;
}
.query-arrow{
    vertical-align: middle;
    -moz-animation: ani_bounce 1s infinite;
    -webkit-animation: ani_bounce 1s infinite;
    animation: ani_bounce 1s infinite;
    display: inline-block;
    position: relative;
    top: 1px;
}
@keyframes ani_bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateX(0);
    }
    40% {
      transform: translateX(-8px);
    }
    60% {
      transform: translateX(-4px);
    }
  }
  
  /* Optional vendor prefixes for better compatibility */
  @-webkit-keyframes ani_bounce {
    0%, 20%, 50%, 80%, 100% {
      -webkit-transform: translateX(0);
    }
    40% {
      -webkit-transform: translateX(-8px);
    }
    60% {
      -webkit-transform: translateX(-4px);
    }
  }

.ask-ai-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 20px;
    background: white;
    border: 1px solid #2563eb;
    border-radius: 50px;
    color: #2563eb;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: max-content;
    margin-right: 5px;
}

.ask-ai-btn:hover  {
    background: #0A53A8;
    color: white;
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); 
}

.ask-ai-btn:hover .ai-icon{ 
   
    background-image: url(/resources/app/images/ai_icon_white.svg);
    background-repeat: no-repeat;
}

 


.proprofs-ai-box-header {
    position: relative;
    margin: 20px auto;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* min-height: 200px; */
    border-radius: 16px;
    border: 0.5px solid #D6D6D6;
    background: #FFF;
    box-shadow: 4px 4px 28px 0 rgba(0, 0, 0, 0.16);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.ai-chat-header h1 {
    color: #2e2e2e;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.ai-chat-content {
    /* flex: 1; */
    padding: 5px 35px;
    overflow-y: auto;
    /* height: 450px; */
    max-height: 370px;
    /* min-height: 100px; */
}

.ai-message-thread-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-user-message {
    align-self: flex-end;
    background: #f5f5f5;
    padding: 10px 16px;
    border-radius: 18px;
    border-top-right-radius: 4px;
    max-width: 80%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ai-user-message p {
    font-size: 15px;
    color: #333;
    margin: 0;
}

.ai-response {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: flex-start;
    max-width: 80%;
}

.ai-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ai-avatar svg {
    width: 20px;
    height: 20px;
}

.ai-name {
    font-size: 14px;
    /* font-weight: 600;
    color: #4169E1; */
}

.ai-response-content {
    background: white;
    padding: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.ai-chat-input-section {
    padding: 10px 20px 20px 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
}
.ai-chat-input-footer {
    font-size: 12px;
    color: #4d4d4d;
    text-align: right;
    display: block;
    padding-bottom:5px;
}

.ai-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.2s ease;
    background: #fafafa;
}

.ai-input-container:focus-within {
    border-color: #4169E1;
    background: white;
    box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.1);
}

.ai-chat-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
    background: transparent;
}

.ai-chat-input::placeholder {
    color: #999;
    font-size: 15px;
}

.ai-ask-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #4169E1;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ai-ask-button:hover {
    background: #3557c7;
    transform: scale(1.05);
}

.ai-ask-button svg {
    width: 16px;
    height: 16px;
}

.ai-loading-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 18px;
    border-top-left-radius: 4px;
    max-width: 80%;
}

.ai-loading-indicator p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.ai-loading-dots {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="4" cy="12" r="3" fill="%23666"><animate attributeName="opacity" values="1;0.3;1" dur="1.5s" repeatCount="indefinite"/></circle><circle cx="12" cy="12" r="3" fill="%23666"><animate attributeName="opacity" values="0.3;1;0.3" dur="1.5s" repeatCount="indefinite"/></circle><circle cx="20" cy="12" r="3" fill="%23666"><animate attributeName="opacity" values="1;0.3;1" dur="1.5s" repeatCount="indefinite"/></circle></svg>') no-repeat center;
}

/* Skeleton Loader Styles */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 18px;
    border-top-left-radius: 4px;
    max-width: 80%;
}

.ai-thinking-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 18px;
    border-top-left-radius: 4px;
    max-width: 80%;
}

.ai-thinking-container svg {
    animation: pulse 2s ease-in-out infinite;
}
.ai-ask-button:hover svg path {
    fill: white;
}

@keyframes pulse {
    0%, 100% {
    opacity: 1;
    transform: scale(1);
    }
    50% {
    opacity: 0.7;
    transform: scale(1.05);
    }
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.medium {
    width: 80%;
}

.skeleton-line.long {
    width: 100%;
}

@keyframes skeleton-loading {
    0% {
    background-position: 200% 0;
    }
    100% {
    background-position: -200% 0;
    }
}

/* AI Loading Message Styles */
.ai-loading-message {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 80%;
}

.ai-thinking-bubble {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 18px;
    border-top-left-radius: 4px;
    border: 1px solid #e5e5e5;
}

.ai-thinking-bubble svg {
    animation: pulse 2s ease-in-out infinite;
}

.ai-thinking-bubble span {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.skeleton-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
}

.skeleton-bar {
    height: 16px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-bar-long {
    width: 85%;
}

.skeleton-bar-short {
    width: 60%;
}
.proprofs-ai-box-header .skeleton-bar-short {
    width: 40%;
}

.proprofs-ai-box-header .skeleton-bars{
    padding-left: 0px;
}

@keyframes pulse {
    0%, 100% {
    opacity: 1;
    transform: scale(1);
    }
    50% {
    opacity: 0.7;
    transform: scale(1.05);
    }
}

.ai-response-content h1 {
    font-size: 24px;
    font-weight: 500;
    line-height: 30.5px;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.ai-response-content h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.ai-response-content h3 {
    font-size: 18.5px;
    font-weight: 500;
    line-height: 26px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.ai-response-content h4 {
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.ai-response-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.ai-response-content ul {
    list-style-type: disc;
    margin: 5px 0 0 9px;
    padding: 0 0 0 12px;
    list-style-position: inside;
    padding-inline-start: 20px;
}
.ai-response-content ol {
    padding-inline-start: 20px;
}
.ai-response-content li {
    margin-bottom: 7px;
    line-height: 160%;  
}

.proprofs-ai-box-header ul {
    list-style-type: disc;
    margin: 5px 0 0 9px;
    padding: 0 0 0 12px;
    list-style-position: inside;
}

.proprofs-ai-box-header li {
    margin-bottom: 7px;
    line-height: 160%;
    list-style-position: inside;
    color: #4d4d4d;
}

.ai-response-content {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.ask-ai-btn .ai-icon {
    height: 18px;
    width: 18px;
    background-size: 18px;
}


.ai-close-button{
    position: absolute;
    right: 22px;
    background: none;
    border: none;
    
}