:root {
    --chatbot-width: 500px;
    --chatbot-font-family: 'Segoe UI';
    --chatbot-image-position-bottom: -25px;
    --chatbot-image-position-right: -10px;
    --chatbot-position-bottom: 120px;
    --chatbot-position-right: 1%;
    --chatbot-height: 62vh;
    --chatbot-border-color: #E4E3E3;
    --chatbot-primary-color: #313131;
    --chatbot-secondary-color: rgb(38, 66, 204);
    --chatbot-vanderbilt-color: rgba(205,175,111,240);
    --chatbot-secondary-vanderbilt-color: #ded9cf;
    --chatbot-hover-color: var(--chatbot-vanderbilt-color);
    --chatbot-stars-color: rgba(232,211,150,255);
    --chatbot-bg-color: #f1f1f1e3;
    --chatbot-scrollbar-track-color: #252525;
    --chatbot-scrollbar-thumb-color: #d7d7d7;
    --chatbot-scrollbar-thumb-hover-color: #949494;
    --chatbot-button-disabled-color: grey;
    --chatbot-popup-bg-color: #fff;
    --chatbot-dot-color: grey;  
    --chatbot-border-width: 3px; 
    --chatbot-online-color: #68D391;
    --popup-color: #991a1a
}

.lwh-open-cbot .fa, .lwh-open-cbot .fas, .lwh-open-cbot .far, .lwh-open-cbot .fal, .lwh-open-cbot .fab {  /* FontAwesome classes for different styles */
    font-style: normal !important;
}


.lwh-open-cbot *,
.lwh-open-cbot *::after,
.lwh-open-cbot *::before,
.lwh-open-cbot *:focus {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lwh-open-cbot *:focus {
    box-shadow: none;
}


.lwh-open-cbot .custom-chatbot {
    width: var(--chatbot-width);
    font-family: var(--chatbot-font-family);
    position: fixed;
    bottom: var(--chatbot-position-bottom);
    right: var(--chatbot-position-right);
    overflow: hidden;
    z-index: 9998;
}

.lwh-open-cbot .custom-chatbot .chat__messages__amplify a {
    color: var(--chatbot-primary-color) !important;
    text-decoration: none;
}

.lwh-open-cbot .chat {
    background-color:rgb(255, 255, 255);
    position: relative;
    z-index: 9999;
    border: 1.5px solid var(--chatbot-border-color);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, display 0s linear 0.5s;
    display: none;
}

.lwh-open-cbot .chat.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.lwh-open-cbot .custom-chatbot__image {
    position: fixed;
    right: var(--chatbot-image-position-right);
    bottom: var(--chatbot-image-position-bottom);
    z-index: 9999;
    cursor: pointer;
}

.lwh-open-cbot .custom-chatbot button {
    border: none;
    background: none;
}

.lwh-open-cbot .custom-chatbot button>i {
    color: var(--chatbot-primary-color);
    font-size: 18px;
}

.lwh-open-cbot .custom-chatbot button:hover i {
    color: var(--chatbot-hover-color) !important;
    cursor: pointer;
}

.lwh-open-cbot .custom-chatbot input[type='text'] {
    border: none;
    outline: none;
    padding: 0;
    box-shadow: none !important;
    white-space: pre-wrap;
}

.lwh-open-cbot .chat__header {
    background-color: var(--chatbot-secondary-vanderbilt-color);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--chatbot-border-color);
    padding: 10px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.lwh-open-cbot .chat__header>div:nth-child(1)>div:nth-child(2) {
    display: flex;
    align-items: end;
    
}

.lwh-open-cbot .chat__header .chat__new {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 6px 4px 6px;
    background-color: var(--chatbot-primary-color);
    color: white;
    cursor: pointer;
    border-radius: 10px;
}

.lwh-open-cbot .chat__header .chat__new:hover {
    background-color: var(--chatbot-hover-color);
}

.lwh-open-cbot .chat__header>div:nth-child(2) {
    display: flex;
   
    align-items: center;
}

.lwh-open-cbot .chat__export i,
.lwh-open-cbot .chat__close-icon i {
    display: block;
}

.regenerate-button i:hover,
.lwh-open-cbot .chat__export i:hover,
.lwh-open-cbot .chat__close-icon i:hover,
.lwh-open-cbot .form__back-button i:hover,
.lwh-open-cbot .disclaimer__close-icon i:hover,
.lwh-open-cbot .chat__menu-icon i:hover {
    color: var(--chatbot-hover-color);
    cursor: pointer;
}

.lwh-open-cbot .chat__export {
    font-size: 12px;
    cursor: pointer;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: -1px;
}

.lwh-open-cbot .chat__title {
    font-weight: 700;
    font-size: 28px;
}

.lwh-open-cbot .chat__title span {
    font-size: 28px;
}

.lwh-open-cbot .chat__status {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: -4px;
    margin-left: 2px;
}

.lwh-open-cbot .chat__status span {
    background-color: var(--chatbot-online-color);
    background-color: #acacac;
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 40px;
    margin-bottom: 3px;
}


.lwh-open-cbot .selected-group-type {
    font-size: 20px;
    color: black !important;
    margin-left: auto; 
    font-weight: bold;
    margin-top: 8px;
    flex-shrink: 0;
}


.lwh-open-cbot .lwh-open-cbot .form__back-button {
    cursor: pointer;
    position: relative;
    margin-top: 3px;
    margin-left: 4px;
}

.lwh-open-cbot .chat__close-icon,
.lwh-open-cbot .disclaimer__close-icon {
    cursor: pointer;
    position: relative;
    z-index: 1;
    margin-top: 3px;
    margin-right: 4px;
}

.lwh-open-cbot .chat__menu-icon {
    cursor: pointer;
    position: relative;
    z-index: 1;
    font-size: 26px !important;
    flex-shrink: 0;
    height: 100%;
    margin-top: 2px;
    margin-left: 4px;
}



.disclaimer-text a,
.disclaimer-text a:focus,
.disclaimer-text a:active,
.typing-container .message a,
.typing-container .message a[href^="#dataSource:"],
.typing-container .message a:focus,
.typing-container .message a[href^="#dataSource:"]:focus,
.typing-container .message a:active,
.lwh-open-cbot .typing-container .message a[href^="#dataSource:"]:active {
    color: #5495ff !important;
    text-decoration: underline !important;
    cursor: pointer;
    outline: none !important;
}

.disclaimer-text a:hover,
.typing-container .message a:hover,
.lwh-open-cbot .typing-container .message a[href^="#dataSource:"]:hover {
    color: var(--chatbot-hover-color) !important; 
    text-decoration: none !important; 
}

.lwh-open-cbot .typing-container .message {
    flex-direction: column;
    gap: 2px; 
    align-items: flex-start;
    overflow-x: auto;
    color: var(--chatbot-primary-color) !important;
}

.lwh-open-cbot .typing-container .message p,
.lwh-open-cbot .typing-container .message ol,
.lwh-open-cbot .typing-container .message li,
.lwh-open-cbot .typing-container .message ul {
    padding-left: 10px;
    padding-bottom: 0px !important;
}

.lwh-open-cbot .typing-container .chat__messages ul li,
.lwh-open-cbot .typing-container .chat__messages ol li {
    margin-bottom: 0;
    padding-bottom: 0;
    list-style-position: inside;
    line-height: 1.2;
}

.lwh-open-cbot .typing-container  {
    margin-top: 12px !important;
}

.lwh-open-cbot .typing-container .message div {
    padding-bottom: 0px !important;
}

.lwh-open-cbot .typing-container .message li {
    margin-left: 16px;
}

.lwh-open-cbot .chat__messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    flex-grow: 1;
    position: relative;
    padding: 16px 10px 32px 10px; 
    height: 100%;
}

.lwh-open-cbot .chat__messages::-webkit-scrollbar,
.lwh-open-cbot .chat__messages__amplify code::-webkit-scrollbar {
    width: 3px;
    height: 5px;
}

.lwh-open-cbot .chat__messages::-webkit-scrollbar-track,
.lwh-open-cbot .chat__messages__amplify code::-webkit-scrollbar-track {
    background: var(--chatbot-scrollbar-track-color);
}

.lwh-open-cbot .chat__messages::-webkit-scrollbar-thumb,
.lwh-open-cbot .chat__messages__amplify code::-webkit-scrollbar-thumb {
    background: var(--chatbot-scrollbar-thumb-color);
    border-radius: 100px;
}

.lwh-open-cbot .chat__messages::-webkit-scrollbar-thumb:hover,
.lwh-open-cbot .chat__messages__amplify code::-webkit-scrollbar-thumb:hover {
    background: var(--chatbot-scrollbar-thumb-hover-color);
}

.lwh-open-cbot .chat__messages__user,
.lwh-open-cbot .chat__messages__amplify {
    display: flex;
    gap: 2px;
    flex-direction: row !important;
    width: calc(100% - 8px);
}

.lwh-open-cbot .chat__messages__amplify {
    align-items: start; 
}

.lwh-open-cbot .chat__messages__user {
    align-self: flex-end;
    align-items: end !important;
    justify-content: flex-end !important; 
}

.lwh-open-cbot .chat__messages__user>div {
    align-items: flex-end;
    align-self: end;
}

.lwh-open-cbot .chat__messages__amplify>div,
.lwh-open-cbot .chat__messages__user>div {
    display: flex;
    gap: 0.5rem;
    padding: 4px;
    flex-direction: row !important;
}

.lwh-open-cbot .chat__messages__amplify .message {
    /* margin-top: 4px; */
    background-color: var(--chatbot-bg-color);
    padding: 6px 12px 0px 8px;
    border-radius: 0px 8px 8px 8px;
    /* width: -moz-fit-content;
    width: fit-content; */
    align-self: flex-start;
    justify-content: space-between;
    gap: 0px !important;
    position: relative;
    white-space: pre-wrap;
    flex-direction: column;  
    overflow-x: auto;
}

.lwh-open-cbot .chat__messages__amplify .code-snippet {
    background-color: rgb(27, 27, 27);
    border-radius: 8px;
}

.lwh-open-cbot .chat__messages__amplify pre {
    display: flex;
    overflow: hidden;
}

.lwh-open-cbot .chat__messages__amplify code {
    display: block;
    padding: 10px;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    color: #f8f8f8;
    overflow-x: auto;
    word-break: normal;
    word-spacing: normal;
    white-space: pre;
    align-self: flex-start;
    text-align: left;
}

.lwh-open-cbot .snippet-header {
    background: rgb(164, 164, 164);
    border-radius: 8px 8px 0 0;
    padding: 2px 6px;
}

.lwh-open-cbot .snippet-header button {
    cursor: pointer;
    color: rgb(55 55 55);
    font-weight: 600;
}


.lwh-open-cbot .chat__messages__user p {
    background-color: var(--chatbot-primary-color);
    padding: 6px 12px;
    border-radius: 8px 8px 0px 8px;
    color: white;
    width: -moz-fit-content;
    width: fit-content;
    align-self: flex-end !important;
} 


.lwh-open-cbot .chat__input-area {
    padding: 4px 8px;
    position: relative;
    z-index: 1;
}

.lwh-open-cbot .chat__input-area>form {
    border: 2px solid var(--chatbot-border-color);
    border-radius: 10px;
    padding: 8px 10px;
}

/* Style the textarea */
.lwh-open-cbot .chat__input-area textarea {
    width: 100%;
    height: 20px; 
    resize: none; 
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    padding: 0;
    background: transparent;
    box-shadow: none !important; 
    overflow-y: auto;
}


.lwh-open-cbot .chat__input-area>form>div {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lwh-open-cbot .chat__input-area .input {
    display: flex;
    gap: 6px;
    width: 100%;
    align-items: center;

}

.lwh-open-cbot .chat__input-area .input label {
    font-size: 12px;
    opacity: 0.7;
}

.lwh-open-cbot .chat__input-area .input label:hover {
    color: var(--chatbot-secondary-color);
    cursor: pointer;
    opacity: 1;
}

.lwh-open-cbot .chat__input-area .input>div:nth-child(1),
.lwh-open-cbot .chat__input-area .input input {
    width: 100%;
    font-size: 16px;
}

.lwh-open-cbot .custom-chatbot button[disabled] i {
    cursor: not-allowed;
    color: var(--chatbot-button-disabled-color);
}

.lwh-open-cbot .popup {
    display: none;
    width: 100%;
    position: absolute;
    background-color: var(--chatbot-popup-bg-color);
    padding: 8px;
    border-radius: 4px;
    top: 1%;
    opacity: 0;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
    font-size: 18px !important;
}



.lwh-open-cbot .popup-animation {
    animation: slideInRight 0.5s ease forwards, fadeOut 2s ease forwards 3s;
}

.lwh-open-cbot .popup-animation-static {
    animation: slideInRight 0.5s ease forwards;
}

.lwh-open-cbot .popup p {
    color: var(--chatbot-popup-text-color);
}

.lwh-open-cbot .popup .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes blink {
    50% {
        fill: transparent;
    }
}

.lwh-open-cbot .dot {
    animation: 1s blink infinite;
    fill: var(--chatbot-dot-color);
}

.lwh-open-cbot .dot:nth-child(2) {
    animation-delay: 250ms;
}

.lwh-open-cbot .dot:nth-child(3) {
    animation-delay: 500ms;
}

.lwh-open-cbot .loading p {
    margin: 0; 
    color: #6d6b71;
    line-height: 1.1rem; 
}

.lwh-open-cbot .avatar-image {
    display: block;
}

.lwh-open-cbot .startup-btns {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    gap: 6px; 
    justify-content: space-evenly; /* or space-around */
    align-items: center; 
    margin-top: -10px; 
    font-weight: 600;
}

.lwh-open-cbot .startup-btns p {
    padding: 6px 10px;
    border: 1px solid var(--chatbot-border-color);
    border-radius: 4px;
    width: fit-content;
    min-width: 80px; /* Set a minimum width to ensure consistent size */
    cursor: pointer;
    text-align: center;
    margin: 2px;
    color: var(--chatbot-primary-color); 
    background-color: var(--chatbot-bg-color);
}

.lwh-open-cbot .startup-btns p:hover,
.lwh-open-cbot .startup-btns p.active {
    background-color: var(--chatbot-hover-color);
    color: white;
}


.lwh-open-cbot .disabled {
    color: grey; /* Dim the text for disabled groups */
    cursor: not-allowed;
}
.lwh-open-cbot .disabled-container {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 5px; /* Space between icon and text */
    margin-top: 2px; 
    cursor: not-allowed;
}



.lwh-open-cbot .disabled-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 20px;
    height: 22px;
    padding: 4px;
    border: 2px solid red;
    color: red;
    font-size: 16px;
    line-height: 1;
    position: relative;
    flex-shrink: 0;
}

.lwh-open-cbot .disabled-icon::after {
    content: '!';
    position: absolute;
    left: 33%; 
    top: 55%;
    transform: translateY(-50%);
}

.lwh-open-cbot .disabled-message {
    color: red;
    margin-top: 5px; 
    font-size: 16px;
}

.lwh-open-cbot .chat-container {
    display: flex;
    flex-direction: column;
    height: var(--chatbot-height) ; 
    position: relative;
    overflow: hidden; 
}


.lwh-open-cbot .disclaimer {
    font-size: 16px;
    border-top: 1px solid #eae7e7;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: white; /* Ensure it covers the chat__messages */
}

.lwh-open-cbot .disclaimer-message {
    color: rgba(109, 106, 106, 0.926);
    font-size: 14px;
    padding: 4px;
    margin-bottom: 6px;
}

.lwh-open-cbot .disclaimer-content {
    transition: max-height 0.3s ease;
    overflow: hidden;
    padding: 4px;
}

.lwh-open-cbot .disclaimer-content.collapsed {
    max-height: 0;
}

.lwh-open-cbot .disclaimer-text {
    margin-left: 8px;
    color: #616067;
    font-size: 16px !important;
    text-align: center;
    white-space: pre-line;
}



@media (max-width: 679px) {
    .lwh-open-cbot .custom-chatbot {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        width: 100%;
        z-index: 1000;
    }
    .lwh-open-cbot .chat {
        border-radius: 12px 12px 0 0;
        z-index: 1001;
    }
    :root {
        --chatbot-height: 40vh;  /* Reduce the chat window height on mobile */
        --chatbot-width: 96%;
    }
}




.lwh-open-cbot .Amplify {
    color: var(--chatbot-secondary-color);
}

.lwh-open-cbot .Vanderbilt { 
    color: var(--chatbot-vanderbilt-color);
}


.lwh-open-cbot .powered-by {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    
}



@keyframes pulse {
    0%, 9%, 100% {
        transform: scale(1); 
    }
    13% {
        transform: scale(1.1);
    }
    18% {
        transform: scale(1);
    }
}
.lwh-open-cbot .vanderbilt-chat-icon {
    animation: pulse 10s infinite;
}

.lwh-open-cbot .amplify-loader {
    margin-bottom: 20px;
    margin-left: 4px;
}


@keyframes rotateAnimation {
    0% {
        transform: rotate(0deg);
        animation-timing-function: cubic-bezier(0.9, 0, 0.1, 1); /* Faster start */
    }
    94% {
        transform: rotate(720deg); /* Two full spins */
        animation-timing-function: cubic-bezier(0.1, 1, 0.2, 1); /* Slower end */
    }
    99% {
        transform: rotate(720deg); /* Hold briefly */
    }
    100% {
        transform: rotate(720deg); /* Hold */
    }
}


.loading-container {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: 100%; 
    width: 100%;
}
  
.load-spinner {
    display: inline-block;
    width: 1.3rem; 
    height: 1.3rem;
    font-size: 1.3rem;
    filter: brightness(60%) contrast(120%);
    animation: rotateAnimation 3s infinite linear;
    vertical-align: middle;
}

.load-spinner svg {
    width: 100%; 
    height: 100%; 
}


.lwh-open-cbot .chat__icons {
    display: flex;
    align-items: center;
    gap: 10px; 
}


.lwh-open-cbot .chat__toggle-dropdown i,
.lwh-open-cbot .chat__clear-conversation i {
    cursor: pointer;
    color: var(--chatbot-primary-color); 
    font-size: 18px; 
}

.lwh-open-cbot .chat__toggle-dropdown i:hover,
.lwh-open-cbot .chat__clear-conversation i:hover {
    color: var(--chatbot-hover-color); /* Change color on hover */
}



.lwh-open-cbot .chat__dropdown-menu {
    position: absolute;
    top: 46px;
    left: 0px;
    background-color: #fff;
    border: 1px solid var(--chatbot-border-color);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: none; 
    z-index: 10;
    width: 200px;
    outline: none;

}

.lwh-open-cbot .chat__dropdown-item {
    padding: 8px 16px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.lwh-open-cbot .chat__dropdown-item:hover {
    background-color: var(--chatbot-secondary-vanderbilt-color);
}

.lwh-open-cbot .chat__dropdown-item button:focus {
    outline: none; 
    /* padding: 8px 0; */
}

.lwh-open-cbot .chat__dropdown-item:first-child {
    border-top: 1px solid #ddd;
}

.lwh-open-cbot .chat__dropdown-item:last-child {
    border-bottom: none;
}


.lwh-open-cbot .chat__dropdown-item button:active {
    transform: none;
    box-shadow: none; 
    padding: 8px 0;
}

.lwh-open-cbot .chat__dropdown-item button {
    background: none;
    border: none;
    font-size: 14px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 8px 0; /* Ensure padding covers the entire button */
}

.lwh-open-cbot .chat__dropdown-menu img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    height: auto;
}


.lwh-open-cbot .star-rating {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 2px;
    margin-left: 16px;
    background-color: transparent;
    height: 34px;
    position: absolute;
    bottom: 160;
    left: 6;
    visibility: hidden;
    opacity: 0;

}

.lwh-open-cbot .star-rating.visible {
    visibility: visible;
    opacity: 1;
}


.lwh-open-cbot .stars-container {
    display: flex;
    transform: translate(-10%, -22%) rotateY(180deg);
    margin-top: 14px;
}



.lwh-open-cbot .star-rating label {
    cursor: pointer;
    margin-right: 6px;
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    font-size: 18px !important;

}

.lwh-open-cbot .star-rating input {
    display: none;
}

.lwh-open-cbot .star-stroke {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: var(--chatbot-hover-color);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transition: background 0.6s ease;
}
  

.lwh-open-cbot .star-fill {
    width: 80%;
    height: 80%;
    background: white;
    clip-path: inherit;
}

.lwh-open-cbot .star-rating input:checked + label .star-stroke,
.lwh-open-cbot .star-rating label:hover .star-stroke {
    background: var(--chatbot-stars-color);
}

.lwh-open-cbot .star-rating input:checked + label .star-stroke,
.lwh-open-cbot .star-rating input:checked + label .star-fill,
.lwh-open-cbot .star-rating input:checked ~ label .star-stroke,
.lwh-open-cbot .star-rating input:checked ~ label .star-fill {
    background: var(--chatbot-stars-color);
}


.lwh-open-cbot .star-rating label:hover .star-stroke .star-fill {
    background: var(--chatbot-stars-color);
}

.lwh-open-cbot .star-rating label:hover ~ label .star-stroke,
.lwh-open-cbot .star-rating label:hover ~ label .star-fill {
    background: var(--chatbot-stars-color);
}


.label-description {
    display: none;
}



.lwh-open-cbot .checkbox-container {
    display: flex;
    align-items: center; 
}



.lwh-open-cbot .checkbox-wrapper .label-text{ 
    margin-top: 18px;
    margin-left: 4px;
}


  .lwh-open-cbot .checkbox-wrapper input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    background: #fff;
    font-size: 1.8em;
    border-radius: 0.125em;
    display: inline-block;
    border: var(--chatbot-border-width) solid var(--chatbot-border-color);
    width: 18px;
    height: 18px;
    position: relative;
    cursor: pointer;
  }

  .lwh-open-cbot .checkbox-wrapper input[type=checkbox]:before,
  .lwh-open-cbot .checkbox-wrapper input[type=checkbox]:after {
    content: "";
    position: absolute;
    background: var(--chatbot-online-color);
    width: calc(var(--chatbot-border-width) * 3);
    height: var(--chatbot-border-width);
    top: 50%;
    left: 10%;
    transform-origin: left center;
  }

  .lwh-open-cbot .checkbox-wrapper input[type=checkbox]:before {
    transform: rotate(45deg) translate(calc(var(--chatbot-border-width) / -2), calc(var(--chatbot-border-width) / -2)) scaleX(0);
    transition: transform 100ms ease-in 100ms;
  }

  .lwh-open-cbot .checkbox-wrapper input[type=checkbox]:after {
    width: calc(var(--chatbot-border-width) * 5);
    transform: rotate(-45deg) translateY(calc(var(--chatbot-border-width) * 2)) scaleX(0);
    transform-origin: left center;
    transition: transform 100ms ease-in;
  }

  .lwh-open-cbot .checkbox-wrapper input[type=checkbox]:checked:before {
    transform: rotate(45deg) translate(calc(var(--chatbot-border-width) / -2), calc(var(--chatbot-border-width) / -2)) scaleX(1);
    transition: transform 100ms ease-in;
  }

  .lwh-open-cbot .checkbox-wrapper input[type=checkbox]:checked:after {
    width: calc(var(--chatbot-border-width) * 5);
    transform: rotate(-45deg) translateY(calc(var(--chatbot-border-width) * 2)) scaleX(1);
    transition: transform 100ms ease-out 100ms;
  }

  .lwh-open-cbot .checkbox-wrapper input[type=checkbox]:focus {
    outline: calc(var(--chatbot-border-width) / 2) solid var(--chatbot-vanderbilt-color);
  }


.lwh-open-cbot .menu-forms-container {
    display: flex;
    height: var(--chatbot-height) ; 
    position: relative;
    width: 100%;
    overflow-y: auto; 
    overflow-x: hidden;  
}

.lwh-open-cbot .form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 8px; 
    height: 100%;
    margin-bottom: 4px;
}


.lwh-open-cbot .form-container form {
    flex-direction: column;
    min-width: 25rem;   
    display: flex;
    align-items: left;
    height: 90%;
}

.lwh-open-cbot .title {
    color: #212529;
    font-size: 28px;
    text-align: center; 
    margin-top: 6px;
    margin-bottom: 16px;
    font-size: 28px !important;
}



.lwh-open-cbot .form-control {
    background-color: var(--chatbot-bg-color);
    border-radius: 1rem;
    border: 1px solid var(--chatbot-border-color); 
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.11);
    width: 90%;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;

    &.thick {
        height: 3rem;
        padding: 6px 8px;
    }

    
}


.lwh-open-cbot .form-group .form-control {
    padding-left: 2.2rem; 
    padding-right: 4px;
    border: 1px solid var(--chatbot-border-color);
}


.lwh-open-cbot .form-control:focus {
    outline: none; 
    margin-bottom: 20px;
    border-color: var(--chatbot-border-color); 
    box-shadow: 0 0 0 2px var(--chatbot-border-color); 
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
}


.lwh-open-cbot .message .form-control {
    overflow-y: auto;
    padding: 10px 15px;
}


.lwh-open-cbot ::placeholder {
    font-size: 16px;
    color: #838788;

}

.lwh-open-cbot input[type="text"], .lwh-open-cbot input[type="email"], .lwh-open-cbot textarea {
    border: 1px solid var(--chatbot-border-color); 
    font-size: 1rem;
    resize: none;
    padding-left: 2rem;
    padding-right: 4px;
}


.lwh-open-cbot .form-group.position-relative {
    position: relative;
    width: 100%;
}

.lwh-open-cbot .form-group .icon {
    position: absolute;
    top: 23%;
    left: 5%;
    pointer-events: none; 
    font-size: 18px !important;

}


.lwh-open-cbot .form__back-button {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 20px;
}


.lwh-open-cbot .text-center {
    text-align: center;
    width: 100%;
    margin-top: auto;
    margin-bottom: 8px;
}


.lwh-open-cbot .feedback-btn {
    padding: 6px 10px;
    border: 2px solid var(--chatbot-border-color) !important;
    border-radius: 4px;
    width: fit-content;
    cursor: pointer;
    text-align: center;
    margin: 2px;
    color: var(--chatbot-primary-color);
    background-color: var(--chatbot-bg-color);
    transition: background-color 0.2s, color 0.2s;
    font-size: 16px !important;
}



.lwh-open-cbot .feedback-btn:hover {
    background-color: var(--chatbot-hover-color);
    color: white;
}

.lwh-open-cbot .submit-form {
  background-color: var(--chatbot-vanderbilt-color);
  border-radius: 100px;
  box-shadow: 
  var(--chatbot-bg-color) 0 -25px 18px -14px inset,
  var(--chatbot-border-color) 0 1px 1px, 
  var(--chatbot-border-color) 0 2px 2px, 
  var(--chatbot-border-color) 0 3px 4px, 
  var(--chatbot-border-color) 0 4px 6px; 
  color: black;
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular,-apple-system,system-ui,Roboto,sans-serif;
  padding: 8px 26px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-top: 8px;
  margin-bottom: 8px; 
  transform: translateY(10px);

}

.lwh-open-cbot .submit-form:hover {
    background-color: var(--chatbot-hover-color) !important;
    color: white; 
    transition: background-color 150ms, color 150ms; 
    box-shadow: 0 4px 8px var(--chatbot-border-color);
}


.lwh-open-cbot .submit-form:active, .lwh-open-cbot .submit-form:focus {
    outline: none;
    border: none;
    padding: 8px 26px;  
    box-shadow: var(--chatbot-border-color) 0 1px 1px, 
                var(--chatbot-border-color) 0 2px 2px, 
                var(--chatbot-border-color) 0 3px 4px, 
                var(--chatbot-border-color) 0 4px 6px;
    transition: background-color 250ms, color 250ms, box-shadow 250ms;
    margin-top: 6px;
}




@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}


.lwh-open-cbot .error-shake {
    border-color: red !important;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}


.lwh-open-cbot .regenerate-button {
    display: inline-block; 
    margin-left: 6px; 
    padding: 5px 10px; 
    font-size: 14px; 
    cursor: pointer;
    border: 1px solid #ccc; 
    background-color: #f8f8f8;
    border-radius: 5px;
    outline: none; 
    font-style: normal !important;
    size: 18px;
    margin-top: 16px;
    text-align: center;
    align-self: center;
}


.lwh-open-cbot .regenerate-button .fa-sync {
    margin-right: 5px; 
    color: red;
    font-style: normal !important;
    size: 18px;
}

.lwh-open-cbot .regenerate-button:hover {
    background-color: #e8e8e8;
    border-color: #b3b3b3;
}

.lwh-open-cbot .custom-popup-color {
    color: var(--popup-color) !important;
}