:root {
    --bs-blue: #0061f2;
    --bs-indigo: #5800e8;
    --bs-purple: #6900c7;
    --bs-pink: #e30059;
    --bs-red: #e81500;
    --bs-orange: #f76400;
    --bs-yellow: #f4a100;
    --bs-green: #00ac69;
    --bs-teal: #00ba94;
    --bs-cyan: #00cfd5;
    --bs-white: rgba(var(--bs-bg-rgb));
    --bs-gray: #69707a;
    --bs-gray-dark: #363d47;
    --bs-gray-100: #f2f6fc;
    --bs-gray-200: #e0e5ec;
    --bs-gray-300: #d4dae3;
    --bs-gray-400: #c5ccd6;
    --bs-gray-500: #a7aeb8;
    --bs-gray-600: #69707a;
    --bs-gray-700: #4a515b;
    --bs-gray-800: #363d47;
    --bs-gray-900: #212832;
    --bs-primary: #0061f2;
    --bs-secondary: #6900c7;
    --bs-success: #00ac69;
    --bs-info: #00cfd5;
    --bs-warning: #f4a100;
    --bs-danger: #e81500;
    --bs-light: #f2f6fc;
    --bs-dark: #212832;
    --bs-black: rgba(var(--bs-invert-color-rgb));
    --bs-white: rgba(var(--bs-bg-rgb));
    --bs-red: #e81500;
    --bs-orange: #f76400;
    --bs-yellow: #f4a100;
    --bs-green: #00ac69;
    --bs-teal: #00ba94;
    --bs-cyan: #00cfd5;
    --bs-blue: #0061f2;
    --bs-indigo: #5800e8;
    --bs-purple: #6900c7;
    --bs-pink: #e30059;
    --bs-red-soft: #f1e0e3;
    --bs-orange-soft: #f3e7e3;
    --bs-yellow-soft: #f2eee3;
    --bs-green-soft: #daefed;
    --bs-teal-soft: #daf0f2;
    --bs-cyan-soft: #daf2f8;
    --bs-blue-soft: rgba(var(--bs-blue-soft-rgb));
    --bs-indigo-soft: #e3ddfa;
    --bs-purple-soft: #e4ddf7;
    --bs-pink-soft: #f1ddec;
    --bs-primary-soft: rgba(var(--bs-blue-soft-rgb));
    --bs-secondary-soft: rgb(167, 174, 184);
    --bs-success-soft: #daefed;
    --bs-info-soft: #daf2f8;
    --bs-warning-soft: #f2eee3;
    --bs-danger-soft: #f1e0e3;

    --bs-primary-rgb: 0, 97, 242;
    --bs-secondary-rgb: 167, 174, 184;
    --bs-success-rgb: 0, 172, 105;
    --bs-info-rgb: 0, 207, 213;
    --bs-warning-rgb: 244, 161, 0;
    --bs-danger-rgb: 232, 21, 0;
    --bs-light-rgb: 242, 246, 252;
    --bs-dark-rgb: 33, 40, 50;
    --bs-black-rgb: 0, 0, 0;
    --bs-white-rgb: 255, 255, 255;
    --bs-body-color-rgb: 105, 112, 122;
    --bs-body-bg-rgb: 242, 246, 252;

    --bs-red-rgb: 232, 21, 0;
    --bs-orange-rgb: 247, 100, 0;
    --bs-yellow-rgb: 244, 161, 0;
    --bs-green-rgb: 0, 172, 105;
    --bs-teal-rgb: 0, 186, 148;
    --bs-cyan-rgb: 0, 207, 213;
    --bs-blue-rgb: 0, 97, 242;
    --bs-indigo-rgb: 88, 0, 232;
    --bs-purple-rgb: 105, 0, 199;
    --bs-pink-rgb: 227, 0, 89;
    --bs-red-soft-rgb: 241, 224, 227;
    --bs-orange-soft-rgb: 243, 231, 227;
    --bs-yellow-soft-rgb: 242, 238, 227;
    --bs-green-soft-rgb: 218, 239, 237;
    --bs-teal-soft-rgb: 218, 240, 242;
    --bs-cyan-soft-rgb: 218, 242, 248;
    --bs-blue-soft-rgb: 218, 231, 251;
    --bs-indigo-soft-rgb: 227, 221, 250;
    --bs-purple-soft-rgb: 228, 221, 247;
    --bs-pink-soft-rgb: 241, 221, 236;
    --bs-primary-soft-rgb: 218, 231, 251;
    --bs-secondary-soft-rgb: 228, 221, 247;
    --bs-success-soft-rgb: 218, 239, 237;
    --bs-info-soft-rgb: 218, 242, 248;
    --bs-warning-soft-rgb: 242, 238, 227;
    --bs-danger-soft-rgb: 241, 224, 227;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: "Metropolis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: Metropolis, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #69707a;
    --bs-body-bg: #f2f6fc;


    --bs-bg-rgb: 250, 250, 250;
    --bs-invert-color-rgb: 0, 0, 0;
    --bs-shadow-color-rgb: 192, 192, 192;

    --bs-grey-bg: 224, 229, 236;

}

.light {
    --bs-blue: #0061f2;
    --bs-indigo: #5800e8;
    --bs-purple: #6900c7;
    --bs-pink: #e30059;
    --bs-red: #e81500;
    --bs-orange: #f76400;
    --bs-yellow: #f4a100;
    --bs-green: #00ac69;
    --bs-teal: #00ba94;
    --bs-cyan: #00cfd5;
    --bs-white: rgba(var(--bs-bg-rgb));
    --bs-gray: #69707a;
    --bs-gray-dark: #363d47;
    --bs-gray-100: #f2f6fc;
    --bs-gray-200: #e0e5ec;
    --bs-gray-300: #d4dae3;
    --bs-gray-400: #c5ccd6;
    --bs-gray-500: #a7aeb8;
    --bs-gray-600: #69707a;
    --bs-gray-700: #4a515b;
    --bs-gray-800: #363d47;
    --bs-gray-900: #212832;
    --bs-primary: #0061f2;
    --bs-secondary: #6900c7;
    --bs-success: #00ac69;
    --bs-info: #00cfd5;
    --bs-warning: #f4a100;
    --bs-danger: #e81500;
    --bs-light: #f2f6fc;
    --bs-dark: #212832;
    --bs-black: rgba(var(--bs-invert-color-rgb));
    --bs-white: rgba(var(--bs-bg-rgb));
    --bs-red: #e81500;
    --bs-orange: #f76400;
    --bs-yellow: #f4a100;
    --bs-green: #00ac69;
    --bs-teal: #00ba94;
    --bs-cyan: #00cfd5;
    --bs-blue: #0061f2;
    --bs-indigo: #5800e8;
    --bs-purple: #6900c7;
    --bs-pink: #e30059;
    --bs-red-soft: #f1e0e3;
    --bs-orange-soft: #f3e7e3;
    --bs-yellow-soft: #f2eee3;
    --bs-green-soft: #daefed;
    --bs-teal-soft: #daf0f2;
    --bs-cyan-soft: #daf2f8;
    --bs-blue-soft: rgba(var(--bs-blue-soft-rgb));
    --bs-indigo-soft: #e3ddfa;
    --bs-purple-soft: #e4ddf7;
    --bs-pink-soft: #f1ddec;
    --bs-primary-soft: rgba(var(--bs-blue-soft-rgb));
    --bs-secondary-soft: rgb(167, 174, 184);
    --bs-success-soft: #daefed;
    --bs-info-soft: #daf2f8;
    --bs-warning-soft: #f2eee3;
    --bs-danger-soft: #f1e0e3;

    --bs-primary-rgb: 0, 97, 242;
    --bs-secondary-rgb: 167, 174, 184;
    --bs-success-rgb: 0, 172, 105;
    --bs-info-rgb: 0, 207, 213;
    --bs-warning-rgb: 244, 161, 0;
    --bs-danger-rgb: 232, 21, 0;
    --bs-light-rgb: 242, 246, 252;
    --bs-dark-rgb: 33, 40, 50;
    --bs-black-rgb: 0, 0, 0;
    --bs-white-rgb: 255, 255, 255;
    --bs-body-color-rgb: 105, 112, 122;
    --bs-body-bg-rgb: 242, 246, 252;

    --bs-red-rgb: 232, 21, 0;
    --bs-orange-rgb: 247, 100, 0;
    --bs-yellow-rgb: 244, 161, 0;
    --bs-green-rgb: 0, 172, 105;
    --bs-teal-rgb: 0, 186, 148;
    --bs-cyan-rgb: 0, 207, 213;
    --bs-blue-rgb: 0, 97, 242;
    --bs-indigo-rgb: 88, 0, 232;
    --bs-purple-rgb: 105, 0, 199;
    --bs-pink-rgb: 227, 0, 89;
    --bs-red-soft-rgb: 241, 224, 227;
    --bs-orange-soft-rgb: 243, 231, 227;
    --bs-yellow-soft-rgb: 242, 238, 227;
    --bs-green-soft-rgb: 218, 239, 237;
    --bs-teal-soft-rgb: 218, 240, 242;
    --bs-cyan-soft-rgb: 218, 242, 248;
    --bs-blue-soft-rgb: 218, 231, 251;
    --bs-indigo-soft-rgb: 227, 221, 250;
    --bs-purple-soft-rgb: 228, 221, 247;
    --bs-pink-soft-rgb: 241, 221, 236;
    --bs-primary-soft-rgb: 218, 231, 251;
    --bs-secondary-soft-rgb: 228, 221, 247;
    --bs-success-soft-rgb: 218, 239, 237;
    --bs-info-soft-rgb: 218, 242, 248;
    --bs-warning-soft-rgb: 242, 238, 227;
    --bs-danger-soft-rgb: 241, 224, 227;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: "Metropolis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: Metropolis, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #69707a;
    --bs-body-bg: #f2f6fc;


    --bs-bg-rgb: 250, 250, 250;
    --bs-invert-color-rgb: 0, 0, 0;
    --bs-shadow-color-rgb: 192, 192, 192;

    --bs-grey-bg: 224, 229, 236;

}

.dark {
    --bs-primary-rgb: 105, 112, 122;
    --bs-secondary-rgb: 169, 154, 182;
    --bs-success-rgb: 111, 145, 132;
    --bs-info-rgb: 62, 103, 125;
    --bs-warning-rgb: 226, 103, 9;
    --bs-danger-rgb: 232, 21, 0;
    --bs-body-color-rgb: 82, 78, 78;
    --bs-body-bg-rgb: 105, 112, 122;
    --bs-body-bg: rgb(0, 0, 0);
    --bs-body-color: #f9f9f9;
    --bs-info-soft-rgb: 218, 242, 248;

    --bs-bg-rgb: 38, 38, 38;
    --bs-invert-color-rgb: 250, 250, 250;
    --bs-shadow-color-rgb: 72, 72, 72;

    --bs-blue-soft-rgb: 105, 112, 122;

    --bs-grey-bg: 54, 61, 71
}

#widgetScrollSection {
    overflow-y: auto;
    max-height: 60vh;
    padding-bottom: 0px;
}

.profile-image-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
    align-self: center;
}

.chat-card {
    word-wrap: break-word;
    background-color: rgba(var(--bs-bg-rgb)) !important;
    background-clip: border-box;
    /* border: 1px solid rgba(33, 40, 50, 0.125); */
    border-radius: 0.8rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.chat-card-header {
    padding: 1rem 1.35rem;
    margin-bottom: 0;
    background: #000000;
    font-family: system-ui;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 60px;
}

.send-button-color {
    color: #000000;
}

.user-icon {
    font-size: 30px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 50%;
    padding-left: 10px;
    padding-top: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.chat-card-header:first-child {
    border-radius: 0.8rem 0.8rem 0 0;
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 5px;
}

.chat-card-body {
    flex: 1 1 auto;
    padding: 1.35rem 1.35rem;
    font-family: system-ui;
}

.message {
    margin-bottom: 10px;
    word-wrap: break-word;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.message-label {
    display: inline-block;
}

.message-label-left {
    display: inline-block;
    text-align: left;
    margin-bottom: 5px;
    color: #343d53;
    font-size: 0.9em;
}

.message-label-right {
    text-align: right;
    margin-bottom: 5px;
    color: #343d53;
    font-size: 0.9em;
    display: flex;
    justify-content: flex-end;
}

.message span {
    padding: 12px;
    border-radius: 6px;
    display: inline-block;
    max-width: 100%;
    line-height: 25px;
}

/* Adjusted to prevent margin collapse */
.message p:first-child {
    margin-top: 0;
}

.message p:last-child {
    margin-bottom: 0;
}

.received {
    margin-right: auto;
    color: white;
    display: flex;
    align-items: flex-start;
    max-width: 85%;
}

.sent {
    margin-left: auto;
    justify-content: end;
    display: flex;
    color: white;
    align-items: flex-end;
    max-width: 85%;
}

.received span {
    /* background: linear-gradient(to right, #74ebd5, #ACB6E5) */
    background: #000000;
}

.sent span {
    /* background: linear-gradient(to right, #00d1ad, #64b3f4) */
    background: #000000;
}

.typing-indicator {
    width: 70px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.typing-indicator span {
    margin-bottom: 15px;
}

.chat-input {
    display: flex;
    border-top: 1px solid #d9dbdf;
    padding: 0.5rem;
    font-family: system-ui;

}

#iframe {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.chat-widget-footer-text {
    text-align: center;
    color: #2f2f2f;
    padding: 0.5rem 0.625rem;
    /* Equivalent to py-3 and px-3 */
    background-color: #e7e4e4;
    border-radius: 0 0 0.8rem 0.8rem;
    font-size: 0.8rem;
    font-family: 'FontAwesome', sans-serif;
}

.chat-widget-footer-text a.active-link {
    color: #007bff;
    /* Link color */
    text-decoration: none;
    font-family: 'FontAwesome', sans-serif;
}

.chat-widget-footer-text a.active-link:visited {
    color: #007bff;
    /* Ensure the link color remains the same after being clicked */
    text-decoration: none;
    font-family: 'FontAwesome', sans-serif;
}

.chat-widget-footer-text a.active-link:hover,
.chat-widget-footer-text a.active-link:active,
.chat-widget-footer-text a.active-link:focus {
    text-decoration: none;
    color: #007bff;
    /* Maintain the same color on hover, active, and focus states */
    cursor: pointer;
    /* Change the cursor to indicate the link is clickable */
}

.chat-input textarea {
    flex-grow: 1;
    border: none;
    background-color: rgba(var(--bs-body-bg));
    outline: none;
    resize: none;
    overflow: hidden;
    height: 25px;
    font-size: 16px;
    align-content: center;
}

.chat-input textarea::placeholder {
    color: var(--bs-gray-400);
}

.chat-input-btn {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    justify-content: center;
    display: flex;
    align-items: center;
}

.chat-input-border {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.sources-section {
    margin-bottom: 10px;
}

.text-center {
    text-align: center !important;
}

.debug-mode-info-section {
    margin-top: 5px;
    height: 500px;
    overflow-y: auto;
}

.mt-10 {
    margin-top: 10px !important;
}

.d-none-important {
    display: none !important;
}

/* 
Lead Collection Form CSS that shouldn't be changed [start]
*/
.lead-collection-form-card-header {
    display: flex;
    justify-content: end;
}

.cross {
    position: relative;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    top: 50%;
    left: 0;
    transform-origin: center;
}

.line:nth-child(1) {
    -webkit-transform: rotate(45deg);
    /* Safari and Chrome */
    -moz-transform: rotate(45deg);
    /* Firefox */
    -ms-transform: rotate(45deg);
    /* IE 9 */
    -o-transform: rotate(45deg);
    /* Opera */
    transform: rotate(45deg);
}

.line:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    /* Safari and Chrome */
    -moz-transform: rotate(-45deg);
    /* Firefox */
    -ms-transform: rotate(-45deg);
    /* IE 9 */
    -o-transform: rotate(-45deg);
    /* Opera */
    transform: rotate(-45deg);
}

/* 
Lead Collection Form CSS that shouldn't be changed [end]
*/

.chat-icons {
    display: flex;
    /* margin-right: 35px; */
}

.chat-icon {
    position: relative;
    display: inline-block;
    color: white;
    cursor: pointer;
    margin-left: 10px;
}

.custom-tooltip {
    visibility: hidden;
    background-color: black;
    color: white;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 115%;
    transform: translateX(-90%);
    font-size: smaller;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    white-space: nowrap;
}

.chat-icon:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

.icon-img {
    height: 20px;
}

.chatbot-logo-img {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-right: 10px;
    max-height: 52px;
    max-width: 52px;
    border-radius: 50%;
}

.ai-icon-img {
    display: flex;
    flex-direction: row;
    align-self: center;
    margin-right: 10px;
    max-height: 30px;
    max-width: 30px;
    border-radius: 50%;
}

.header-text {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    align-self: center;
    color: white;
}

.subheader-caption-span {
    font-size: 12px;
    margin-top: 2px;
}

.h-12 {
    height: 12px;
}

.d-flex {
    display: flex;
    align-items: center;
}

.powered-by {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    color: #d9dbdf;
    margin: 4px 0px 4px 0px;
}

.rounded-btm {
    border-radius: 0 0 0.8rem 0.8rem;
}

@media (max-width: 450px) {
    .rounded-btm {
        border-radius: 0;
    }

    .chat-card-header:first-child {
        border-radius: 0;
    }

    .chat-widget-footer-text {
        border-radius: 0;
    }

    #widgetScrollSection {
        max-height: 84vh;
    }
}

.invisible {
    visibility: hidden !important;
}

/* 
starter messages remaining css. Main css class is in chatwidget.html
*/
.starter-messages {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* margin: 10px 10px 0px 10px; */
    /* padding-bottom: 2px; */
    scrollbar-width: thin;
    padding: 5px;
}

/* Style the scrollbar for Chrome, Edge, and Safari */
.starter-messages::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.starter-messages::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 6px;
}

.starter-messages::-webkit-scrollbar-thumb:hover {
    background-color: #fff;
    color: #000000;
}

/* 
Rest of the styling for starter messages is in chatwidget.css
*/
.starter-message {
    padding: 8px 10px;
    border-radius: 6px;
    margin: 0px 0px 3px 7px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
    border: 1px solid;
    border-color: #000000;
    white-space: nowrap;
    font-size: 14px;
    color: white;
    background-color: #000000;
}

.starter-message:hover {
    background-color: #fff;
    color: #000000;
}

.show-sources-btn,
.close-modal-btn {
    width: 100%;
    height: 40px;
    border-radius: 0.8rem;
    background: #e7e4e4;
    color: #007bff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    display: inline-block;
    padding: 10px 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    outline: none;
}

.show-sources-btn:hover,
.close-modal-btn:hover {
    background: #b2afaf;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.show-sources-btn:focus,
.close-modal-btn:focus {
    outline: none;
    background: #e7e4e4;
    color: #007bff;
}

.modal-lg {
    max-width: 650px;
}

.modal-content {
    border-radius: 0.8rem !important;
    ;
}

.modal-header {
    border-top-left-radius: 0.8rem !important;
    ;
    border-top-right-radius: 0.8rem !important;
    ;
}

.modal-header h5 {
    font-weight: bold;
    font-size: 1.5rem;
    color: #343d53;
}

.modal-header .close {
    font-size: 1.4rem;
    color: #343d53;
}

.modal-body {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.modal-footer {
    border-top: none;
    padding-bottom: 20px;
    border-bottom-left-radius: 0.8rem !important;
    border-bottom-right-radius: 0.8rem !important;
}

.chat-lead-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1.5rem;
    margin: 1rem;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 0.8rem;
    width: 100%;
    max-width: 90%;
}

.chat-lead-form form {
    width: 100%;
}

.chat-lead-form .form-group {
    margin-bottom: 1rem;
}

.chat-lead-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.chat-lead-form input[type="text"],
.chat-lead-form input[type="email"],
.chat-lead-form input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.chat-lead-form input[type="text"]:focus,
.chat-lead-form input[type="email"]:focus,
.chat-lead-form input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
}

.chat-lead-form input::placeholder {
    color: #aaa;
}

.chat-lead-form .btn {
    background: #000000;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
}

.chat-lead-form .btn:hover {
    background: #3a3a3a;
}

.chat-lead-form {
    margin: 0 auto;
    /* Center the form */
}

.error-message {
    color: red;
    font-size: 0.85rem;
    margin-top: 5px;
}

.bold-text-with-margin {
    font-weight: bold;
    margin-bottom: 10px;
    /* Adjust this value as needed */
}

.link-preview-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 60%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    overflow: hidden;
}

.link-preview-container:hover {
    transform: scale(1.02);
}

/* Thumbnail styling */
.link-preview-thumbnail {
    width: 100%;
    max-width: 300px;
    /* max-height:300px; */
    border-radius: 6px;
    margin-right: 12px;
    object-fit: cover;
}

/* Content styling */
.link-preview-content {
    display: flex;
    flex-direction: column;
}

.link-preview-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.2;
    margin-bottom: 4px;
}

.link-preview-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.8em;
    /* Controls the max height for line clamping */
}

.message-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.message-icon {
    order: -1;
    margin-right: 10px;
    width: 30px;
    height: 30px;
}

.message-icon-left {
    order: -1;
    margin-right: 10px;
    width: 30px;
    height: 30px;
}

.message-icon-right {
    order: 1;
    margin-left: 10px;
    width: 30px;
    height: 30px;
}

.iframe-code {
    display: inline-block;
    width: 100%;
    /* Adjust to fit approximately 50 characters */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 0.8rem !important;
    background: transparent !important;
    background-Color: transparent !important;
}

/* Style for the switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    /* Adjust width as needed */
    margin-right: 10px;
    margin-left: 565px;
}

/* Slider styling */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #b3b2b2;
    transition: 0.4s;
    border-radius: 50px;
    /* Round the slider edges */
}

/* The slider's circle (thumb) */
.slider:before {
    position: absolute;
    margin-top: 2px !important;
    height: 20px !important;
    /* Circle size */
    width: 20px !important;
    /* Circle size */
    border-radius: 50% !important;
    /* Make it round */
    border: none !important;
    left: 3px !important;
    /* Position the circle to the left initially */
    background-color: white;
    transition: 0.4s;
}

/* When the checkbox is checked, change the background of the slider */
input:checked+.slider {
    background-color: #007bff;
    /* Slider color when checked */
}

/* Move the thumb (circle) to the right when checked */
input:checked+.slider:before {
    margin-top: 5px !important;
    transform: translateX(23px) !important;
    /* Move the circle to the right */
    height: 22px !important;
    /* Circle size */
    width: 22px !important;
    /* Circle size */
    border-radius: 50% !important;
}

/* Optional: Add hover effect to make the switch more interactive */
.switch input:focus+.slider {
    box-shadow: 0 0 1px 2px #007bff;
}

@keyframes pulse-outline {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 1);
        /* Adjust color here if needed */
    }

    70% {
        box-shadow: 0 0 0 15px rgba(16, 205, 184, 0);
        /* Gradual fade-out */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 205, 184, 0);
        /* Reset */
    }
}

/* Marker for new messages */
.marker {
    background-color: #28a745;
    /* Green color for the marker */
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.8rem;
    font-size: 0.9rem;
    animation: pulse-outline 2s infinite;
}


/* Styles for Date Filter Section */
.date-filter-container .form-floating {
    position: relative;
}

.date-filter-container .form-control {
    padding-top: 20px !important;
    padding-left: 5px !important;
}

.date-filter-container .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
}

.date-filter-container .btn {
    padding: 4px 8px !important;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 !important;
    background: transparent !important;
    color: #007bff !important;
}

/* Feedback Section Styling */
.feedback-section {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0.5rem;
    margin: 0.5rem auto 2.5rem auto;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 0.8rem;
    width: 100%;
    max-width: 60%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect on the entire feedback section */
.feedback-section:hover {
    transform: scale(1.02);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 6px 16px;
}

/* Title Styling */
.feedback-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: system-ui;
    color: #333;
    text-align: center;
}

/* Emojis Styling */
.feedback-emojis {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Emoji Styling with Tooltip */
.feedback-emojis .emoji {
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

/* Emoji Hover Effects */
.feedback-emojis .emoji:hover {
    transform: scale(1.2);
    /* box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px; */
}

/* Tooltip Styling */
.feedback-emojis .emoji[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.feedback-emojis .emoji[title]::after {
    opacity: 0;
    pointer-events: none;
}