/*Chatbot*/
/* Chatbot Toggle Button */
#chatbot-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.replyIcon {
    display: block !important;
    width: 70px !important;
    height: 50px !important;
}

/* Chatbot Container */
#chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 385px;
    height: auto;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-direction: column;
    font-family: var(--wgs-chat-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

#chatbot-container input,
#chatbot-container textarea,
#chatbot-container button,
#chatbot-container select {
    font-family: inherit;
}

/* Chatbot Header */
#chatbot-header {
    background: #007bff;
    color: white !important;
    padding: 10px;
    text-align: center;
    border-radius: 5px 5px 0 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

/* Close Button */
#close-chatbot {
    position: absolute;
    right: 10px;
    top: 5px;
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

#chatbot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.chat-option-btn {
    flex: 1;
    min-width: 48%;
    padding: 12px;
    background: #f5f5f5;
    border: transparent;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    color: #141414;
}

.chat-option-btn:hover {
    background: #ddd;
}

.chatbot-options .chat-option-btn {
    width: 100%;
    background: #fff;
    margin-top: 5px;
    font-size: 13px;
}

/* Chat Messages */
#chatbot-messages {
    height: calc(100vh - 360px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px 0px;
}

/* span.dots-button:hover {
    background: rgb(9 80 201 / 50%);
} */

/* Message Styling */
.chat-message {
    max-width: 80%;
    padding: 8px;
    border-radius: 10px;
    margin: 5px 0px;
    font-size: 14px;
}

/* AI Messages (Left Side) */
.bot-message {
    background: #f1f1f1;
    align-self: flex-start;
    word-wrap: break-word;
}

/* User Messages (Right Side) */
.user-message {
    background: #007bff;
    color: white;
    align-self: flex-end;
    text-align: right;
}

.wgs-user-message-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    margin: 4px 0;
}

.wgs-user-message-wrapper > .chat-message.user-message {
    margin: 0;
}

.wgs-user-msg-time {
    font-size: 11px;
    line-height: 1.2;
    color: #64748b;
    text-align: right;
    padding: 3px 4px 2px 0;
    user-select: none;
}

.wgs-bot-msg-time {
    font-size: 11px;
    line-height: 1.2;
    color: #64748b;
    margin-left: auto !important;
    padding-right: 4px;
    user-select: none;
    white-space: nowrap;
}

/* Chat Input */
#chatbot-input {
    width: calc(100% - 65px);
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-height: 160px;
    resize: none;
    overflow-y: hidden;
    line-height: 20px;
    box-sizing: border-box;
}

body #order-standard_cart form#frmProductDomain label .wgs_ai_logo {
    width: 26px;
}

/* Send Button */
#send-message {
    width: auto;
    padding: 11px 18px;
    margin-left: 5px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    height: auto;
    position: absolute;
    right: 10px;
    bottom: 19px;
    display: inline-block;
}

.chatbotcustomize {
    display: flex;
    background: #fff;
    padding: 10px;
}

.chat-message-wrapper {
    position: relative;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 80%;
    width: fit-content;
}

.chat-message-wrapper > .chat-message.bot-message {
    position: relative;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.domain_checker_page .dbtn-inactive img.wgs_ai_logo {
    filter: unset;
}

.domain_checker_page .dbtn-active img.wgs_ai_logo {
    filter: invert(1);
}

/* Chatbot End*/
#customDomainButtons {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.recommendations-domain-and-product.container {
    padding: 50px 0px;
}

.dbtn {
    padding: 10px 20px;
    margin: 0;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dbtn-active {
    background-color: #30a9f4;
    border: 1px solid #30a9f4;
    color: white;
}

.dbtn-inactive {
    background-color: white;
    color: #30a9f4;
    border: 1px solid #30a9f4;
}

.find-domain {
    border-radius: 50px 0 0 50px;
}

.generate-domain {
    border-radius: 0 50px 50px 0;
}

.generate-domain:hover,
.generate-domain:focus {
    background-color: #1c8cd6 !important;
    border-color: #1c8cd6 !important;
}

.input-box,
.text-box {
    margin-top: 20px;
}

/* input,
textarea {
    padding: 8px;
    width: 300px;
    font-size: 16px;
} */
div#domaingenerateai .row {
    align-items: center;
}

.icon {
    margin-right: 5px;
}

/*domain suggest*/
.suggestions-list {
    margin-top: 15px;
}

.suggestion-item {
    margin: 5px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input[type="text"] {
    padding: 10px;
    width: 70%;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.show_more_btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.show-more-div {
    text-align: center;
}

.show_more_btn:hover {
    background-color: #1c8cd6;
}

.domain-textarea {
    width: 100%;
    height: 100px;
    margin: 15px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 16px;
    outline: none;
}

.generate-btn {
    background-color: #30a9f4;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.generate-btn:hover {
    background-color: #1c8cd6;
}

.suggestions-error {
    color: red;
    font-size: 14px;
    display: block;
    text-align: left;
    margin-left: 5px;
    margin-bottom: 10px;
}

/* .domain-results {
    max-height: 500px;
    overflow: auto;
} */
body .domain-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    margin: 0px 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
    color: #000;
}

body .domain-item:nth-child(even) {
    background: #f3f3f3;
}

.domain-checker-container .input-group-box {
    max-width: 549px;
    width: 100%;
}

.domain-results .domain-name {
    text-align: left;
    width: 100%;
    word-wrap: break-word;
    max-width: calc(100% - 300px);
}

.domain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    margin: 5px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.domain-name {
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.domain-status {
    padding: 0px 5px;
    border-radius: 12px;
    color: white;
    font-size: 12px;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

/*end domain suggest*/
/*recommendations*/
.recommendations-domain-and-product h2 {
    text-align: center;
    margin-bottom: 15px;
}

.recommendation-slider {
    margin-top: 20px;
}

.recommendation-card {
    background: #ffffff;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recommendation-card h3 {
    margin: 10px 0;
}

.recommendation-card p {
    margin: 5px 0;
}

.recommendation-card .btn {
    margin-top: 10px;
}

.slick-dots {
    margin-top: 10px;
}

.recommendation-card {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px !important;
}

/*end recommendations*/
.domainSuggestDiv .suggestions-error {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

table.table.table-list.chatbot_table th,
table.table.table-list.chatbot_table td {
    padding: 10px 4px;
    vertical-align: middle;
    font-size: 12px;
}

table.table.table-list.chatbot_table {
    margin: 20px 0px;
    border: transparent !important;
}

table.table.table-list.chatbot_table th {
    border-top: transparent !important;
    background-color: #f5f5f5 !important;
    border-bottom: transparent !important
}

#close-chatbot img {
    width: 20px;
}

#close-chatbot {
    top: 2px;
    background: transparent;
}

.table-list.chatbot_table td:first-child {
    text-align: left;
}

.table-list.chatbot_table td {
    text-align: center;
}

.chatbot_table .service-row {
    cursor: pointer;
}

/* Chatbot table status labels */
table.table.table-list.chatbot_table tbody tr td .label,
table.table.table-list.chatbot_table tbody tr td span[class*="label-"],
table.table.table-list.chatbot_table tbody tr td span[class*="status-"] {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 4px;
    color: #ffffff !important;
}

table.table.table-list.chatbot_table tbody tr td .label-success,
table.table.table-list.chatbot_table tbody tr td .label-active,
table.table.table-list.chatbot_table tbody tr td .status-active,
table.table.table-list.chatbot_table tbody tr td .status-paid,
table.table.table-list.chatbot_table tbody tr td .label-paid {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

table.table.table-list.chatbot_table tbody tr td .label-danger,
table.table.table-list.chatbot_table tbody tr td .label-pending,
table.table.table-list.chatbot_table tbody tr td .status-pending,
table.table.table-list.chatbot_table tbody tr td .status-unpaid,
table.table.table-list.chatbot_table tbody tr td .label-unpaid,
table.table.table-list.chatbot_table tbody tr td .status-terminated,
table.table.table-list.chatbot_table tbody tr td .label-terminated,
table.table.table-list.chatbot_table tbody tr td .status-fraud,
table.table.table-list.chatbot_table tbody tr td .label-fraud,
table.table.table-list.chatbot_table tbody tr td .status-collections,
table.table.table-list.chatbot_table tbody tr td .label-collections {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

table.table.table-list.chatbot_table tbody tr td .label-warning,
table.table.table-list.chatbot_table tbody tr td .label-suspended,
table.table.table-list.chatbot_table tbody tr td .status-suspended,
table.table.table-list.chatbot_table tbody tr td .status-expired,
table.table.table-list.chatbot_table tbody tr td .label-expired,
table.table.table-list.chatbot_table tbody tr td .status-refunded,
table.table.table-list.chatbot_table tbody tr td .label-refunded,
table.table.table-list.chatbot_table tbody tr td .status-payment-pending,
table.table.table-list.chatbot_table tbody tr td .label-payment-pending,
table.table.table-list.chatbot_table tbody tr td .status-pending-registration,
table.table.table-list.chatbot_table tbody tr td .status-pending-transfer {
    background-color: #f0ad4e !important;
    color: #ffffff !important;
}

table.table.table-list.chatbot_table tbody tr td .label-info,
table.table.table-list.chatbot_table tbody tr td .status-draft,
table.table.table-list.chatbot_table tbody tr td .label-draft,
table.table.table-list.chatbot_table tbody tr td .status-completed,
table.table.table-list.chatbot_table tbody tr td .label-completed {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
}

table.table.table-list.chatbot_table tbody tr td .label-default,
table.table.table-list.chatbot_table tbody tr td .label-cancelled,
table.table.table-list.chatbot_table tbody tr td .status-cancelled,
table.table.table-list.chatbot_table tbody tr td .status-transferred-away,
table.table.table-list.chatbot_table tbody tr td .label-transferred-away {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

/* slider css */
.recommendation-slider .slick-next:before,
.recommendation-slider .slick-prev:before {
    font-family: slick;
    font-size: 20px;
    line-height: 1;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* .recommendation-slider  .slick-next {
    right: 0px;
}
.recommendation-slider  .slick-prev {
    left: 5px;
    position: absolute;
    z-index: 1;
} */
/*  chat icon design */
.menu-container {
    position: relative;
}

.dots-button {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.dropdowns {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    min-width: 192px;
    width: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 10;
}

.dropdowns.active {
    display: flex;
}

.dropdowns-item {
    padding: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item:hover {
    background: #f0f0f0;
}

.togglechat {
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.togglechat::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.togglechat.active {
    background: #4caf50;
}

.togglechat.active::before {
    transform: translateX(20px);
}

.icon {
    margin-right: 8px;
    font-size: 18px;
}

.dropdown-item.popup-sound {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    border: 0;
    color: rgb(17, 17, 17);
    width: 100%;
    cursor: pointer;
    border-radius: 6px;
}

.dots-button {
    margin-left: 8px;
    /* adjust the value as needed */
}

.menu-container div#dropdowns {
    margin-top: 3px;
    margin-left: 76px;
}

.dots-button {
    margin-left: 0;
    border-radius: 6px;
    padding: 0;
    width: 38px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(255, 255, 255, 0.18);
    border: none; */
    outline: none;
    color: #ffffff;
    line-height: 1;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.18s ease;
}
.dots-button:hover, .dots-button.active {
    /* background: rgba(255, 255, 255, 0.32); */
    border: none;
    outline: none;
}
.dots-button:focus, .dots-button:focus-visible {
    outline: none;
    border: none;
}

.dropdown-item.clearChat.popup-sound i.fa.fa-trash {
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.dropdown-item.download-chat.popup-sound i.fa.fa-download {
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
#dropdowns .download-chat {
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
}
#dropdowns .download-chat.submenu-open {
    background: #f0f0f0;
}
#dropdowns .wgs-download-chat-label {
    white-space: nowrap;
}
#dropdowns .submenu-arrow {
    margin-left: auto;
    font-size: 13px;
    transition: transform 0.15s ease;
}
#dropdowns .download-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 168px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    color: #333333;
    z-index: 99999;
}
#dropdowns .download-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
    background: transparent;
}
#dropdowns .download-chat.submenu-open > .download-submenu {
    display: block;
}
@media (min-width: 576px) {
    #dropdowns .download-chat:hover > .download-submenu {
        display: block;
    }
}
#dropdowns .download-submenu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
    background: transparent;
    border: 0;
    text-align: left;
    margin: 0;
    border-radius: 0;
}
#dropdowns .download-submenu .dropdown-item i.fa {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
#dropdowns .download-submenu .dropdown-item:hover,
#dropdowns .download-submenu .dropdown-item:focus-visible {
    background: #f1f5f9;
    color: #007bff;
    text-decoration: none;
    outline: none;
}
#dropdowns .download-submenu .dropdown-item:active {
    background: #e2e8f0;
    color: #0056b3;
}
#dropdowns .download-submenu .dropdown-item.is-loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}
[class*="_rtl_wgs"] #dropdowns .download-chat,
html[dir="rtl"] #dropdowns .download-chat {
    text-align: right;
}
[class*="_rtl_wgs"] #dropdowns .submenu-arrow,
html[dir="rtl"] #dropdowns .submenu-arrow {
    margin-left: 0;
    margin-right: auto;
}
[class*="_rtl_wgs"] #dropdowns .download-submenu,
html[dir="rtl"] #dropdowns .download-submenu {
    left: auto;
    right: 100%;
}
[class*="_rtl_wgs"] #dropdowns .download-submenu::before,
html[dir="rtl"] #dropdowns .download-submenu::before {
    left: auto;
    right: -8px;
}
[class*="_rtl_wgs"] #dropdowns .download-submenu .dropdown-item,
html[dir="rtl"] #dropdowns .download-submenu .dropdown-item {
    text-align: right;
}
@media (max-width: 575px) {
    .menu-container div#dropdowns {
        left: 0;
        right: auto;
        margin-left: 0;
        transform: none;
        max-width: calc(100vw - 48px);
    }
    [class*="_rtl_wgs"] .menu-container div#dropdowns,
    html[dir="rtl"] .menu-container div#dropdowns {
        left: auto;
        right: 0;
    }
    #dropdowns .download-chat {
        flex-wrap: wrap;
    }
    #dropdowns .download-chat.submenu-open > .submenu-arrow {
        transform: rotate(90deg);
    }
    #dropdowns .download-submenu,
    [class*="_rtl_wgs"] #dropdowns .download-submenu,
    html[dir="rtl"] #dropdowns .download-submenu {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-top: 6px;
        padding: 2px 0 2px 10px;
        background: #f8fafc;
        border: 0;
        border-left: 2px solid #cbd5e1;
        border-radius: 0 6px 6px 0;
        box-shadow: none;
    }
    [class*="_rtl_wgs"] #dropdowns .download-submenu,
    html[dir="rtl"] #dropdowns .download-submenu {
        padding: 2px 10px 2px 0;
        border-left: 0;
        border-right: 2px solid #cbd5e1;
        border-radius: 6px 0 0 6px;
    }
    #dropdowns .download-submenu::before {
        display: none;
    }
    #dropdowns .download-submenu .dropdown-item {
        padding: 8px 10px;
        white-space: normal;
    }
}

.wgs-chatbot-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 12px;
    margin: 8px 2px 0 2px;
    border-radius: 6px;
    font-size: 12.5px;
    line-height: 1.4;
    border: 1px solid transparent;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.wgs-chatbot-notice--success {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
.wgs-chatbot-notice--error {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.wgs-chatbot-notice--info {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}
.wgs-chatbot-notice-icon {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 14px;
}
.wgs-chatbot-notice-text {
    flex: 1;
    word-break: break-word;
}
.wgs-chatbot-notice-close {
    flex-shrink: 0;
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
    opacity: 0.7;
}
.wgs-chatbot-notice-close:hover {
    opacity: 1;
}

.domain-selection-options .option-selected {
    background-color: #ffffff !important;
}

.domain-selection-options label {
    margin-bottom: 0 !important;
    padding: 5px;
}

.domain-selection-options .option {
    margin-bottom: 7px;
    padding: 6px 20px;
    border-radius: 6px;
    background-color: #ffffff;
}

/* .domain-selection-options .suggestions-error {
    margin-bottom: 10px;
} */
/* td 0-05-25  Start */
.recommendation-card h3 {
    color: #000;
}

.recommendation-card p {
    color: #000;
}

.domain-results .domain-name {
    color: #000;
}

.modal-body.aiAssistanceModalBody textarea#SummarizeText {
    height: 350px;
    background: #f5f5f5;
    border: transparent;
    padding: 20px;
    color: #777;
    font-size: 14px;
    line-height: 24px;
    resize: none;
}

button#chatbot-toggle-btn img {
    filter: invert(1);
}

#close-chatbot img {
    filter: invert(1);
}

button#send-message img {
    filter: invert(1);
    width: 22px;
}

#chatbot-toggle-btn:focus {
    outline: none;
}

div#chatbot-options button:focus {
    outline: none;
}

#order-standard_cart .form-control {
    margin-bottom: 0;
}

button#generateSuggestions:focus {
    box-shadow: none;
}

textarea#domain_keywords {
    margin-top: 0;
}

.domaingenerateai_textarea textarea {
    margin-bottom: 10px !important;
}

button#generateSuggestions {
    width: fit-content;
}

/* td 0-05-25 End */
div#chatbot-container.chatbot_expand {
    width: 530px;
}

div#chatbot-container.chatbot_expand #chatbot-messages {
    height: calc(100vh - 300px);
}

.chat_windowTop_btns {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
}

#close-chatbot {
    position: unset;
}

i#expand_compress {
    cursor: pointer;
    padding: 7px 7px;
    width: 30px;
    border-radius: 50px;
    height: 30px;
}

span.dots-button:hover {
    /* background: rgb(9 80 201 / 50%); */
}

i#expand_compress:hover {
    background: rgb(9 80 201 / 50%);

}

div#chatbot_close_div {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    margin: 0;
    text-align: center;
    width: 100%;
    max-width: 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.chatbot_close_div_main:after {
    display: none;
}

.chatbot_close_div_main {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 10px;
    padding: 16px;
    box-sizing: border-box;
}

.chatbot_close_msg {
    color: #000000;
}

div#chatbot_close_div button {
    padding: 5px 20px;
    border-radius: 5px;
    border: transparent;
    margin-top: 12px;
    font-size: 14px;
    background: #4baaf7;
    color: #fff;
    transition: all 0.4s;
}

div#chatbot_close_div button.chatbot_close_no_btn {
    background: #c61717;
}

button:focus {
    outline: none;
}

div#chatbot_close_div button:hover {
    background: #2190eb;
}

div#chatbot_close_div button.chatbot_close_no_btn:hover {
    background: #e91818;
}

.modal .modal-header {
    background-color: #007bff;
}

.aiAssistanceModal .btn.btn-secondary,
.text-center a.btn.btn-default {
    background: #BD120C;
    border-color: #BD120C;
    font-size: 14px;
    color: #fff;
}

.aiAssistanceModal .btn.btn-primary,
button#openTicketSubmit {
    background: #5DABFA;
    border-color: #5DABFA;
    font-size: 14px;
}

.aiAssistanceModal label.col-form-label {
    font-size: 18px;
    line-height: 28px;
    color: #141414;
    font-weight: 800;
    margin-bottom: 10px;
}

#summarizeBtn .wgs_ai_logo,
.askToAssistantBtn .wgs_ai_logo {
    width: 20px !important;
}

textarea.form-control {
    height: auto !important;
}

button.btn.btn-success.mr-2.askToAssistantBtn {
    font-size: 14px;
    background: #2e8b2d;
    border-color: #2e8b2d;
}

.chat-meta {
    text-transform: capitalize;
}

.generate-domain .wgs_ai_logo {
    width: 25px;
}

button#generateSuggestions img {
    width: 25px;
}

.dbtn-inactive img.wgs_ai_logo {
    filter: invert(1);
}

.domain-suggestion-container .text-center h2.text-center {
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 700;
}

.domain-results {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-top: 30px;
    background: #fff;
    overflow: hidden;
}

.domain-item_info {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    max-width: 285px;
}

h5#aiAssistanceModalLabel {
    color: #fff;
    font-weight: 600;
    font-size: 19px;
}

button.buy-now.btn.btn-primary.domain_addToCart {
    padding: 10px 16px;
    background: transparent;
    color: #141414 !IMPORTANT;
    border: 1px solid #C7C9D9 !IMPORTANT;
    border-radius: 2px !IMPORTANT;
    margin-left: 10px;
}

button.buy-now.btn.btn-primary.domain_addToCart i {
    font-size: 19px;
}

.domain-item_info span {
    margin: 0px 5px;
    font-size: 13px;
    font-weight: 800;
}

.domain-item_info .domain-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 5px;
    text-align: right;
    margin: 0;
}

button.buy-now.btn.btn-primary.domain_addToCart.checkout-btn {
    font-size: 0;
    background: #4baaf7;
    color: #fff;
}

button.buy-now.btn.btn-primary.domain_addToCart.checkout-btn i {
    font-size: 19px;
}

body #order-standard_cart form#frmProductDomain label {
    font-size: 14px;
    color: #141414;
    font-weight: 500;
}

body #order-standard_cart .domain-selection-options .option {
    margin-bottom: 6px;
    padding: 15px 20px;
    border-radius: 6px;
    background-color: #ffffff;
}

.chatbot-icon {
    margin-right: 2px;
    width: 16px;
}

textarea:focus,
input:focus,
button:focus {
    outline: none;
}

.home-domain-search.bg-white.domain-suggestion-container .p-5 {
    max-width: 970px;
    margin: auto;
}

/*  */
#customDomainButtons {
    z-index: 999;
    position: relative;
    top: 0;
}

.row.hx-tab-inner {
    margin-top: unset;
}

/* .hostx-child-themebutton.btn.btn-success.mr-2.askToAssistantBtn{
    padding: 12px 30px;
} */
button.btn.btn-success.mr-2.hostx-child-theme.askToAssistantBtn {
    padding: 12px 30px;
}

.hostx-child-theme h5#aiAssistanceModalLabel {
    font-size: 18px;
    line-height: 28px;
    color: #fff;
}

.home-domain-search.bg-white.domain-suggestion-container.clientx-child-theme h2.text-center {
    color: #000 !important;
}

.home-domain-search.bg-white.domain-suggestion-container.clientx-child-theme {
    padding: 25px 0;
}

.clientx-child-theme button.btn.btn-success.mr-2.askToAssistantBtn {
    padding: 10px 22px;
}

button.btn.btn-success.mr-2.clientx-child-theme.askToAssistantBtn {
    padding: 10px 22px;
}

.clientx-child-theme h5#aiAssistanceModalLabel {
    color: #fff;
    font-weight: 600;
    font-size: 19px;
}

.body-background-20i #order-standard_cart form#frmProductDomain .domain-selection-options .option .iradio_square-blue {
    left: 0px;
}

.recommendations-domain-and-product.container.clientx-child-theme h2 {
    color: #fff;
}

.clientx-child-theme .slick-prev.slick-arrow:after {
    color: #fff;
    display: none;
}

.clientx-child-theme button.slick-next.slick-arrow:after {
    display: none;
}

/* .clientx-child-theme button.slick-prev.slick-arrow{
    top:110px;
} */
.clientx-child-theme .recommendation-slider .slick-next:before,
.clientx-child-theme .recommendation-slider .slick-prev:before {
    color: #007bff;
}

.cloudx-theme button#generateBtn {
    display: flex;
}

.cloudx-theme button#generateSuggestions {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.cloudx-theme .home-domain-search {
    padding: 0;
}

.cloudx-theme#ai-domain-option label {
    display: flex !important;
}

button.btn.btn-success.mr-2.cloudx-theme.askToAssistantBtn {
    display: inline-flex;
    gap: 10px;
}

.home-domain-search.bg-white.domain-suggestion-container.cloudx-theme {
    padding: 0;
}

button#summarizeBtn.cloudx-theme {
    display: flex;
    gap: 10px;
    align-items: center;
}

.aiAssistanceModal.cloudx-theme .modal-header h5 {
    display: flex;
    gap: 10px;
    align-items: center;
}

.aiAssistanceModal.cloudx-theme {
    overflow: hidden;
}

.cloudx-theme .modal-body.aiAssistanceModalBody {
    overflow: scroll;
    height: 410px;
}

.cloudx-theme .modal-body.aiAssistanceModalBody textarea {
    height: 146px;
}

.twenty-x-theme .modal-body.aiAssistanceModalBody {
    overflow: scroll;
    height: 410px;
}

.twenty-x-theme .modal-body.aiAssistanceModalBody textarea {
    height: 146px;
}

.twenty-x-theme #order-standard_cart form#frmProductDomain .domain-selection-options .option .iradio_square-blue {
    left: 0 !important;
}

button.btn.btn-success.mr-2.twenty-x-theme.askToAssistantBtn {
    padding: 11px 26px;
}

.modal.fade.aiAssistanceModal.twenty-x-theme .modal-footer.aiAssistanceModalFooter button {
    padding: 11px 26px;
}

.twenty-x-theme#customDomainButtons {
    top: 140px;
}

#customDomainButtons.domain_checker_page{
    top: 60px;
}

.lagom2-theme .recommendation-card h3 {
    color: #000;
    word-wrap: break-word;
    font-size: 19px;
    line-height: 23px;
}

.lagom2-theme .recommendation-slider .slick-next:before,
.lagom2-theme .recommendation-slider .slick-prev:before {
    color: #fff;
}

.recommendations-domain-and-product.container.lagom2-theme h2 {
    color: #fff;
}

.lagom2-theme.home-domain-search.bg-white.domain-suggestion-container .p-5 {
    padding: 20px !important;
}

button.btn.btn-success.mr-2.lagom2-theme.askToAssistantBtn {
    height: 56px;
    padding: 8px 24px !important;
}

.modal.fade.aiAssistanceModal.lagom2-theme .modal-dialog {
    width: 650px;
}

.lagom2-theme.aiAssistanceModal label.col-form-label {
    font-weight: 500 !important;
}

.lagom2-theme .modal-body.aiAssistanceModalBody textarea {
    height: 100px;
}

.lagom2-theme button.buy-now.btn.btn-primary.domain_addToCart i {
    margin-right: 0;
}

/* .domainSuggestDiv.lagom2-theme.input-group span.suggestions-error {
    display: inline-block !important;
    width: unset !important;
} */
.domainSuggestDiv.lagom2-theme.input-group {
    padding: 20px;
    display: block;
    text-align: center;
}

.lagom2-theme .find-domain {
    min-height: 50px !important;
}

.lagom2-theme .dbtn-active {
    min-height: 50px !important;
}

.lagom2-theme .domain_loader {
    margin-top: 20px;
    margin-bottom: 20px;
}

.lagom2-theme .dbtn-inactive {
    height: 50px;
}

body.primary-bg-color.body-cloudx #order-standard_cart form#frmProductDomain .domain-selection-options .option .iradio_square-blue {
    left: 0px;
}

.body-cloudx .home-domain-search {
    background-color: #ffffff !important;
}

.body-cloudx .home-domain-search h2 {
    color: #2F1C6A
}

.theme-main-inner-page-section .home-domain-search.bg-white.domain-suggestion-container.clientx-child-theme {
    margin: 0px 20px;
}

.theme-main-inner-page-section .find-domain.home-page-domain-checker {
    border-radius: 0;
}

.lagom .panel-choose-domain:not(.panel-choose-domain-boxed) .panel-domain-option .radio .radio-styled {
    left: -2px;
}

#guest-user-form {
    background: #f5f9ff;
    border-radius: 5px;
    padding: 20px !important;
}

#guest-user-form .form-control {
    width: 100% !important;
    font-size: 14px;
    margin-right: 0 !important;
    min-height: 40px;
}

#start-chat-btn {
    width: 100%;
    background: #2f7cff;
    border-color: #2f7cff;
    font-size: 15px;
    font-weight: 600;
}

#guest-user-form label {
    font-size: 14px;
    font-weight: 600;
    color: #101010;
}

.chat_input_error {
    font-size: 12px;
    margin-top: 5px;
    color: #d81616;
}

#start-chat-btn i {
    margin-right: 5px;
}

#summarizeBtn {
    transform: unset;
    background: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    z-index: 999;
    float: right;
    margin-top: -9px;
    margin-bottom: 12px;
    margin-right: 10px;
}

#summarizeBtn:hover {
    background: #0056b3;
}

#summarizeBtn.summarizeBtn-clientx-child-theme {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 10px;
    padding: 6px 9px;
}

.body-cloudx img.wgs_ai_logo {
    display: inline;
    margin-top: 0;
}

.body-cloudx .knowledgebase-article-20i hr {
    margin-top: 3rem;
}

.summarizeBtn-cloudx-theme {
    margin-top: 7px !important;
    margin-right: 0 !important;
}

.summarizeBtn-lagom2-theme {
    margin-top: 0 !important;
}

.service-suggestions {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-suggestion-btn {
    background: #f0f0f0;
    color: #333;
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.service-suggestion-btn:hover {
    background: #e2e2e2;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* margin: 10px 0 14px 40px; */
}

.chat-suggestion-btn {
    border: 1px solid #007bff;
    padding: 8px 5px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    background: #007bff;
    color: #fff;
}

.chat-suggestion-btn:hover {
    background: #e6f0ff;
    border-color: #e6f0ff;
    color: #000;
}

.chat-message.bot-message select {
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    min-height: 50px;
}

.chatbot-options.ticket-option-btns button {
    background: #007bff;
    color: #fff;
    width: fit-content;
}

.chatbot-options.cf-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.chatbot-options.cf-options .chat-option-btn.select-cf-option {
    background: #007bff;
    color: #fff;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #007bff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-options.cf-options .chat-option-btn.select-cf-option:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: #fff;
}

.chatbot-options.cf-options .chat-option-btn.select-cf-option.btn-cf-skip {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.chatbot-options.cf-options .chat-option-btn.select-cf-option.btn-cf-skip:hover {
    background: #5a6268;
    border-color: #545b62;
}

.chat-message.bot-message pre {
    font-family: 'Open Sans';
}

.chat-service-dropdown-wrapper.chat-suggestions select {
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    min-height: 50px;
}

button.chat-option-btn span {
    color: #141414 !important;
}

.chat-message.bot-message p,
.chat-message.bot-message {
    color: #141414 !important;
}

/*media query*/
@media (max-width:767px) {
    body .domain-item {
        display: block;
        text-align: center;
    }

    .domain-results .domain-name {
        margin-bottom: 10px;
        display: block;
        text-align: center;
        max-width: 100%;
        margin-right: 0;
    }

    .domain-item_info {
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width:575px) {
    button#generateBtn .icon {
        font-size: unset;
        margin-right: 3px;
    }

    .dbtn {
        padding: 10px 7px;
        font-size: 12px;
    }

    #customDomainButtons {
        padding: 30px 15px;
    }

    .generate-domain .wgs_ai_logo {
        width: 18px;
    }

    .home-domain-search.bg-white.domain-suggestion-container .p-5 {
        max-width: 100%;
        margin: auto;
        padding: 35px 0 !important;
    }

    .domain-suggestion-container .text-center h2.text-center {
        margin-bottom: 18px;
        font-size: 20px;
    }

    .domain-textarea {
        font-size: 14px;
    }

    .domain-item_info span {
        font-size: 13px;
    }

    .domain-item_info {
        text-align: center;
        display: block;
    }
}

@media (max-width:470px) {

    #chatbot-container,
    div#chatbot-container.chatbot_expand {
        width: 88%;
    }

    .chat-option-btn {
        min-width: 100%;
        padding: 15px;
        font-size: 15px;
    }
}

@media (max-width:1600px) {
    .bothSideBarPresent.bothSideBarOpened #summarizeBtn.summarizeBtn-clientx-child-theme {
        margin-top: 5px;
        margin-right: 0px;
    }
}

/* --- Message Action Buttons (Copy, Thumbs Up / Down) - ChatGPT Monochromatic Style --- */
.chat-message-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 2px;
    padding-left: 2px;
    padding-right: 2px;
    width: 100%;
    min-width: 140px;
    box-sizing: border-box;
}

.copy-btn,
.feedback-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    color: #8e8ea0;
    transition: color 0.15s ease, background 0.15s ease, transform 0.1s ease;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-width: 28px;
    min-height: 28px;
}

.copy-btn svg,
.feedback-btn svg {
    display: block;
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    pointer-events: none;
}

.copy-btn:hover,
.feedback-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #18181b;
}

.feedback-btn.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.feedback-btn.active svg {
    stroke: #10b981;
    fill: rgba(16, 185, 129, 0.2);
}

.feedback-btn.active.thumb-down-btn {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.feedback-btn.active.thumb-down-btn svg {
    stroke: #ef4444;
    fill: rgba(239, 68, 68, 0.2);
}

/* --- Rich Interactive Cards (Invoices, Domains, Services) --- */
.wgs-rich-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 8px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wgs-rich-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.09);
}

.wgs-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wgs-card-title {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
}

.wgs-card-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.wgs-card-badge.badge-paid,
.wgs-card-badge.badge-active {
    background: #dcfce7;
    color: #166534;
}

.wgs-card-badge.badge-unpaid,
.wgs-card-badge.badge-suspended {
    background: #fee2e2;
    color: #991b1b;
}

.wgs-card-badge.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.wgs-card-body {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 8px;
}

.wgs-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.wgs-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none !important;
    transition: background 0.2s;
    cursor: pointer;
}

.wgs-card-btn-primary {
    background: #2563eb;
    color: #ffffff !important;
}

.wgs-card-btn-primary:hover {
    background: #1d4ed8;
}

.wgs-card-btn-secondary {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
}

.wgs-card-btn-secondary:hover {
    background: #e2e8f0;
}

/* Chatbot Context-Aware Dropdowns */
.wgs-dropdown-container {
    margin: 6px 0 8px 0;
    max-width: 80%;
    clear: both;
    box-sizing: border-box;
}

.chat-message-wrapper .wgs-dropdown-container {
    margin-top: 4px;
    margin-bottom: 8px;
    align-self: flex-start;
    max-width: 80%;
    box-sizing: border-box;
}

.wgs-dropdown-container select.wgs_active_services,
.wgs-dropdown-container select.wgs-chat-select {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #1f2937;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236b7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px auto;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
    display: block;
}

.wgs-dropdown-container select.wgs_active_services:focus,
.wgs-dropdown-container select.wgs-chat-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.wgs-dropdown-container select.wgs_active_services[disabled],
.wgs-dropdown-container select.wgs-chat-select[disabled] {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.75;
}

/* Clickable Action Buttons in Chat (Next Actions UI/UX) */
.wgs-action-list,
ul.wgs-action-list,
ol.wgs-action-list,
ul:has(.wgs-action-li),
.chat-message ul:has(.wgs-action-li) {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 8px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

li.wgs-action-li,
.wgs-action-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

#chatbot-container .wgs-chat-action-btn,
.wgs-chat-action-btn {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background: #f0f7ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease-in-out;
    line-height: 1.35;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wgs-chat-action-btn .wgs-action-icon {
    font-size: 13.5px;
    margin-right: 7px;
    margin-top: 1px;
    flex-shrink: 0;
    line-height: 1;
}

.wgs-chat-action-btn .wgs-action-text {
    flex: 1;
    word-break: break-word;
}

.wgs-chat-action-btn .wgs-action-arrow {
    font-size: 13px;
    font-weight: 600;
    color: #0284c7;
    margin-left: 8px;
    margin-top: 1px;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.wgs-chat-action-btn:hover:not([disabled]) {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.25);
}

.wgs-chat-action-btn:hover:not([disabled]) .wgs-action-arrow {
    color: #ffffff;
    transform: translateX(3px);
}

.wgs-chat-action-btn:active:not([disabled]) {
    transform: translateY(0);
}

.wgs-chat-action-btn.wgs-action-selected {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    opacity: 1 !important;
    font-weight: 600;
}

.wgs-chat-action-btn.wgs-action-selected .wgs-action-arrow {
    color: #ffffff !important;
}

.wgs-chat-action-btn:disabled:not(.wgs-action-selected) {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
}



/* ==========================================================================
   Contact Us Widget & Panel Styles
   ========================================================================== */

#contactus-toggle-btn {
    position: fixed;
    bottom: 20px;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#contactus-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.35);
}

#contactus-toggle-btn:focus {
    outline: none;
}

#contactus-toggle-btn img {
    filter: invert(1);
    display: block;
}

#contactus-container {
    position: fixed;
    bottom: 85px;
    width: 360px;
    max-width: 90vw;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    overflow: hidden;
    flex-direction: column;
    animation: contactusFadeIn 0.2s ease-out;
    font-family: inherit;
}

@keyframes contactusFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#contactus-header {
    background: #007bff;
    color: #ffffff !important;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 16px;
}

#close-contactus {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#close-contactus:focus {
    outline: none;
}

#close-contactus img {
    filter: invert(1);
    display: block;
}

#contactus-body {
    padding: 16px;
    background: #f8fafc;
}

.contactus-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.4;
}

.contactus-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contactus-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contactus-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contactus-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contactus-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contactus-card-title {
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 2px;
}

.contactus-card-desc {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contactus-card-arrow {
    font-size: 12px;
    color: #94a3b8;
    margin-left: auto;
}

/* Chat Summary Toolbar & Button */
.wgs-summary-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 4px 2px 6px 2px;
    margin-top: 2px;
}

.wgs-chat-summary-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    font-size: 11.5px;
    font-weight: 600;
    color: #ffffff;
    background: var(--wgs-chat-secondary-color, #ea5353);
    border: 1px solid var(--wgs-chat-secondary-color, #ea5353);
    border-radius: 14px;
    cursor: pointer;
    line-height: 1.3;
    transition: all 0.2s ease;
}

.wgs-chat-summary-btn:hover {
    background: var(--wgs-chat-secondary-color, #ea5353);
    border-color: var(--wgs-chat-secondary-color, #ea5353);
    color: #ffffff;
    opacity: 0.92;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.wgs-chat-summary-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.wgs-chat-summary-btn:focus {
    outline: none;
}

#wgs-summary-modal-body p {
    margin: 0 0 8px 0;
}

#wgs-summary-modal-body ul {
    margin: 4px 0 10px 0;
    padding-left: 18px;
}

#wgs-summary-modal-body li {
    margin-bottom: 4px;
}

/* ==========================================================================
   Modern AI Assistant Widget UI, Responsive Layout & Smooth Slide Animations
   ========================================================================== */

#chatbot-container {
    position: fixed;
    bottom: 82px;
    width: var(--wgs-chat-width, 450px);
    height: var(--wgs-chat-height, 550px);
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 96px);
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    overflow: visible;
    z-index: 100000;
    flex-direction: column;
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

#chatbot-container.wgs-chat-open {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.25s ease,
        height 0.25s ease;
}

#chatbot-container.wgs-chat-closing {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.97);
    transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

div#chatbot-container.chatbot_expand {
    width: var(--wgs-chat-expanded-width, 530px);
    height: var(--wgs-chat-expanded-height, 620px);
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 60px);
}

#chatbot-header {
    padding: 13px 16px;
    border-radius: 14px 14px 0 0;
    border-bottom: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    position: relative;
}

#chatbot-header .menu-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
}

#chatbot-header .chat_windowTop_btns {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}

#chatbot-header i#expand_compress {
    transition: background-color 0.18s ease, transform 0.15s ease;
}

#chatbot-header i#expand_compress:hover {
    background: rgba(255, 255, 255, 0.18);
}

#chatbot-messages {
    flex: 1 1 auto;
    height: auto;
    min-height: 200px;
    max-height: none;
    padding: 14px 16px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

div#chatbot-container.chatbot_expand #chatbot-messages {
    height: auto;
    max-height: none;
}

#chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

#chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

#chatbot-messages::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 999px;
}

#chatbot-messages::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

.chat-message {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    box-sizing: border-box;
}

.bot-message {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px 14px 14px 4px;
}

.user-message {
    border-radius: 14px 14px 4px 14px;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.18);
}

#chatbot-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.chat-option-btn {
    min-width: 0;
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.chat-option-btn:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.wgs-summary-bar {
    padding: 4px 14px 6px 14px;
    margin-top: 0;
    flex-shrink: 0;
}

.wgs-chatbot-notice {
    margin: 8px 12px 0;
    border-radius: 8px;
}

.chatbotcustomize {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 14px 14px;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
}

#chatbot-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 42px;
    max-height: 140px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.45;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

#chatbot-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#send-message {
    position: static;
    right: auto;
    bottom: auto;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    margin-left: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
}

#send-message:hover {
    filter: brightness(0.95);
}

#send-message:active {
    transform: scale(0.96);
}

#send-message img,
button#send-message img {
    width: 20px;
    height: 20px;
    display: block;
}

.chatbot_close_div_main {
    border-radius: 14px;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
    #chatbot-container {
        width: min(var(--wgs-chat-width, 450px), calc(100vw - 32px));
        max-height: calc(100vh - 96px);
    }

    div#chatbot-container.chatbot_expand {
        width: min(var(--wgs-chat-expanded-width, 590px), calc(100vw - 32px));
    }
}

/* Mobile breakpoint — overrides configured desktop width to fit viewport */
@media (max-width: 600px) {
    #chatbot-container,
    div#chatbot-container.chatbot_expand {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        left: 8px !important;
        right: 8px !important;
        bottom: 64px !important;
        height: min(76vh, calc(100dvh - 80px)) !important;
        max-height: calc(100dvh - 80px) !important;
        border-radius: 14px;
    }

    #chatbot-messages,
    div#chatbot-container.chatbot_expand #chatbot-messages {
        height: auto !important;
        flex: 1 1 auto !important;
        min-height: 180px !important;
        max-height: none !important;
        padding: 12px;
    }

    #expand_compress {
        display: none !important;
    }

    .chat-message {
        max-width: 88%;
    }

    .chat-option-btn {
        min-width: 0;
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    #chatbot-options {
        grid-template-columns: 1fr;
    }

    .chat-option-btn {
        min-width: 0;
        padding: 10px 12px;
        font-size: 13.5px;
    }

    .chatbotcustomize {
        padding: 8px 10px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #chatbot-container,
    #chatbot-container.wgs-chat-open,
    #chatbot-container.wgs-chat-closing {
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Header Company Logo & Title Branding
   ========================================================================== */
.wgs-chatbot-header-title-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    max-width: calc(100% - 90px);
    min-width: 0;
    line-height: 1.2;
    text-align: left;
    flex: 0 1 auto;
}

.wgs-chatbot-header-logo {
    max-height: 25px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.wgs-chatbot-header-separator {
    display: inline-block;
    opacity: 0.5;
    font-weight: 300;
    font-size: 15px;
    line-height: 1;
    margin: 0 1px;
    user-select: none;
    flex-shrink: 0;
}

.wgs-chatbot-header-title {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

@media (max-width: 600px) {
    .wgs-chatbot-header-title-wrap {
        max-width: calc(100% - 90px);
        gap: 6px;
    }
    .wgs-chatbot-header-logo {
        max-height: 22px;
        max-width: 85px;
    }
    .wgs-chatbot-header-title {
        font-size: 14px;
    }
}

/* ==========================================================================
   Comprehensive Dark Theme Scoped to #chatbot-container.wgs-theme-dark
   ========================================================================== */
#chatbot-container.wgs-theme-dark,
body #chatbot-container.wgs-theme-dark {
    background-color: #0b0f19 !important;
    border-color: #1f2937 !important;
    color: #f3f4f6 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px #1f2937 !important;
}

/* Header in Dark Theme */
#chatbot-container.wgs-theme-dark #chatbot-header,
body #chatbot-container.wgs-theme-dark #chatbot-header {
    background: #111827 !important;
    background-color: #111827 !important;
    border-bottom: 1px solid #1f2937 !important;
    color: #f9fafb !important;
}

#chatbot-container.wgs-theme-dark #chatbot-header .dots-button {
    color: #e5e7eb !important;
}

#chatbot-container.wgs-theme-dark #chatbot-header .dots-button:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

#chatbot-container.wgs-theme-dark #chatbot-header i#expand_compress {
    color: #e5e7eb !important;
}

#chatbot-container.wgs-theme-dark #chatbot-header i#expand_compress:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

#chatbot-container.wgs-theme-dark #close-chatbot,
body #chatbot-container.wgs-theme-dark #close-chatbot {
    background: transparent !important;
    color: #e5e7eb !important;
}

#chatbot-container.wgs-theme-dark #close-chatbot:hover {
    opacity: 0.85;
}

#chatbot-container.wgs-theme-dark .wgs-chatbot-header-logo,
body #chatbot-container.wgs-theme-dark .wgs-chatbot-header-logo {
    background: #ffffff !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

#chatbot-container.wgs-theme-dark .wgs-chatbot-header-separator {
    color: #6b7280 !important;
    opacity: 0.7;
}

/* Dropdown Menu in Dark Theme */
#chatbot-container.wgs-theme-dark #dropdowns,
body #chatbot-container.wgs-theme-dark #dropdowns {
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    color: #e5e7eb !important;
}

#chatbot-container.wgs-theme-dark .dropdown-item,
body #chatbot-container.wgs-theme-dark .dropdown-item {
    color: #e5e7eb !important;
}

#chatbot-container.wgs-theme-dark .dropdown-item:hover,
body #chatbot-container.wgs-theme-dark .dropdown-item:hover {
    background: #374151 !important;
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark .download-submenu,
body #chatbot-container.wgs-theme-dark .download-submenu {
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

/* Messages Area in Dark Theme */
#chatbot-container.wgs-theme-dark #chatbot-messages,
body #chatbot-container.wgs-theme-dark #chatbot-messages {
    background-color: #0b0f19 !important;
    scrollbar-color: #374151 transparent !important;
}

#chatbot-container.wgs-theme-dark #chatbot-messages::-webkit-scrollbar-thumb {
    background-color: #374151 !important;
}

#chatbot-container.wgs-theme-dark #chatbot-messages::-webkit-scrollbar-track {
    background-color: transparent !important;
}

/* Bot Message Bubbles */
#chatbot-container.wgs-theme-dark .bot-message,
#chatbot-container.wgs-theme-dark .bot-message p,
#chatbot-container.wgs-theme-dark .bot-message span,
#chatbot-container.wgs-theme-dark .bot-message div,
#chatbot-container.wgs-theme-dark .bot-message li,
#chatbot-container.wgs-theme-dark .bot-message ul,
#chatbot-container.wgs-theme-dark .bot-message ol,
#chatbot-container.wgs-theme-dark .bot-message td,
#chatbot-container.wgs-theme-dark .bot-message th,
#chatbot-container.wgs-theme-dark .chat-message.bot-message,
#chatbot-container.wgs-theme-dark .chat-message.bot-message p,
#chatbot-container.wgs-theme-dark .chat-message.bot-message span,
#chatbot-container.wgs-theme-dark .chat-message.bot-message div,
#chatbot-container.wgs-theme-dark .chat-message.bot-message li,
body #chatbot-container.wgs-theme-dark .bot-message,
body #chatbot-container.wgs-theme-dark .bot-message p,
body #chatbot-container.wgs-theme-dark .chat-message.bot-message,
body #chatbot-container.wgs-theme-dark .chat-message.bot-message p {
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark .bot-message,
#chatbot-container.wgs-theme-dark .chat-message.bot-message,
body #chatbot-container.wgs-theme-dark .bot-message,
body #chatbot-container.wgs-theme-dark .chat-message.bot-message {
    background: #1f2937 !important;
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
}

#chatbot-container.wgs-theme-dark .bot-message b,
#chatbot-container.wgs-theme-dark .bot-message strong,
#chatbot-container.wgs-theme-dark .chat-message.bot-message b,
#chatbot-container.wgs-theme-dark .chat-message.bot-message strong,
body #chatbot-container.wgs-theme-dark .bot-message b,
body #chatbot-container.wgs-theme-dark .bot-message strong {
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark .bot-message a,
body #chatbot-container.wgs-theme-dark .bot-message a {
    color: #60a5fa !important;
}

#chatbot-container.wgs-theme-dark .bot-message code,
body #chatbot-container.wgs-theme-dark .bot-message code {
    background: #111827 !important;
    color: #38bdf8 !important;
    border: 1px solid #374151 !important;
}

#chatbot-container.wgs-theme-dark .bot-message pre,
body #chatbot-container.wgs-theme-dark .bot-message pre {
    background: #111827 !important;
    border: 1px solid #374151 !important;
    color: #f3f4f6 !important;
}

/* Bot Actions (Feedback Thumbs, Copy) */
#chatbot-container.wgs-theme-dark .chat-message-actions button,
#chatbot-container.wgs-theme-dark .copy-btn,
#chatbot-container.wgs-theme-dark .feedback-btn,
#chatbot-container.wgs-theme-dark .wgs-copy-btn,
body #chatbot-container.wgs-theme-dark .chat-message-actions button,
body #chatbot-container.wgs-theme-dark .copy-btn,
body #chatbot-container.wgs-theme-dark .feedback-btn {
    color: #9ca3af !important;
    background: transparent !important;
    border: none !important;
}

#chatbot-container.wgs-theme-dark .chat-message-actions button:hover,
#chatbot-container.wgs-theme-dark .copy-btn:hover,
#chatbot-container.wgs-theme-dark .feedback-btn:hover,
#chatbot-container.wgs-theme-dark .wgs-copy-btn:hover,
body #chatbot-container.wgs-theme-dark .chat-message-actions button:hover,
body #chatbot-container.wgs-theme-dark .copy-btn:hover,
body #chatbot-container.wgs-theme-dark .feedback-btn:hover {
    color: #f3f4f6 !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Interactive Action Buttons inside Bot Messages in Dark Theme */
#chatbot-container.wgs-theme-dark .wgs-chat-action-btn,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn {
    background: #181f2c !important;
    background-color: #181f2c !important;
    color: #f3f4f6 !important;
    border: 1px solid #374151 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

#chatbot-container.wgs-theme-dark .wgs-chat-action-btn .wgs-action-text,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn .wgs-action-text {
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark .wgs-chat-action-btn .wgs-action-arrow,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn .wgs-action-arrow {
    color: #38bdf8 !important;
}

#chatbot-container.wgs-theme-dark .wgs-chat-action-btn:hover:not([disabled]),
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn:hover:not([disabled]) {
    background: #1e293b !important;
    background-color: #1e293b !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

#chatbot-container.wgs-theme-dark .wgs-chat-action-btn:hover:not([disabled]) .wgs-action-text,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn:hover:not([disabled]) .wgs-action-text {
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark .wgs-chat-action-btn:hover:not([disabled]) .wgs-action-arrow,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn:hover:not([disabled]) .wgs-action-arrow {
    color: #38bdf8 !important;
    transform: translateX(3px);
}

#chatbot-container.wgs-theme-dark .wgs-chat-action-btn.wgs-action-selected,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn.wgs-action-selected {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

#chatbot-container.wgs-theme-dark .wgs-chat-action-btn.wgs-action-selected .wgs-action-text,
#chatbot-container.wgs-theme-dark .wgs-chat-action-btn.wgs-action-selected .wgs-action-arrow,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn.wgs-action-selected .wgs-action-text,
body #chatbot-container.wgs-theme-dark .wgs-chat-action-btn.wgs-action-selected .wgs-action-arrow {
    color: #ffffff !important;
}

/* Alternative Support Options Container in Dark Theme */
#chatbot-container.wgs-theme-dark .wgs-alt-options-container,
body #chatbot-container.wgs-theme-dark .wgs-alt-options-container {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark .wgs-alt-options-container div,
body #chatbot-container.wgs-theme-dark .wgs-alt-options-container div {
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark .wgs-alt-btn,
body #chatbot-container.wgs-theme-dark .wgs-alt-btn {
    background: #181f2c !important;
    border-color: #374151 !important;
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark .wgs-alt-btn:hover,
body #chatbot-container.wgs-theme-dark .wgs-alt-btn:hover {
    background: #1e293b !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}

/* Timestamps in Dark Theme */
#chatbot-container.wgs-theme-dark .chat-timestamp,
#chatbot-container.wgs-theme-dark .msg_time,
#chatbot-container.wgs-theme-dark .wgs-msg-timestamp,
body #chatbot-container.wgs-theme-dark .chat-timestamp {
    color: #9ca3af !important;
}

/* Quick Action Options */
#chatbot-container.wgs-theme-dark .chat-option-btn,
#chatbot-container.wgs-theme-dark .chatbot-options .chat-option-btn,
body #chatbot-container.wgs-theme-dark .chat-option-btn {
    background: #181f2c !important;
    background-color: #181f2c !important;
    border: 1px solid #374151 !important;
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark .chat-option-btn:hover,
#chatbot-container.wgs-theme-dark .chatbot-options .chat-option-btn:hover,
body #chatbot-container.wgs-theme-dark .chat-option-btn:hover {
    background: #1f2937 !important;
    background-color: #1f2937 !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark .chat-option-btn span,
body #chatbot-container.wgs-theme-dark .chat-option-btn span {
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark .chat-option-btn:hover span,
body #chatbot-container.wgs-theme-dark .chat-option-btn:hover span {
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark .chat-option-btn img,
#chatbot-container.wgs-theme-dark .chat-option-btn .chatbot-icon,
body #chatbot-container.wgs-theme-dark .chat-option-btn img,
body #chatbot-container.wgs-theme-dark .chat-option-btn .chatbot-icon {
    filter: brightness(0) invert(1) !important;
    opacity: 0.95 !important;
}

/* Summary Button */
#chatbot-container.wgs-theme-dark .wgs-chat-summary-btn,
body #chatbot-container.wgs-theme-dark .wgs-chat-summary-btn {
    background: #111e33 !important;
    border: 1px solid var(--wgs-chat-secondary-color, #1e3a8a) !important;
    color: var(--wgs-chat-secondary-color, #38bdf8) !important;
}

#chatbot-container.wgs-theme-dark .wgs-chat-summary-btn:hover,
body #chatbot-container.wgs-theme-dark .wgs-chat-summary-btn:hover {
    background: var(--wgs-chat-secondary-color, #1e3a8a) !important;
    border-color: var(--wgs-chat-secondary-color, #38bdf8) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* In-Chat Modals in Dark Theme */
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay > div,
#chatbot-container.wgs-theme-dark #wgs-email-modal-overlay > div,
#chatbot-container.wgs-theme-dark #wgs-callback-modal-overlay > div {
    background: #181f2c !important;
    color: #f3f4f6 !important;
    border: 1px solid #374151 !important;
}

#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body p,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body ul,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body li,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body strong,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body b,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body h1,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body h2,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body h3,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-modal-body h4,
#chatbot-container.wgs-theme-dark #wgs-email-modal-overlay div,
#chatbot-container.wgs-theme-dark #wgs-callback-modal-overlay div {
    color: #f3f4f6 !important;
}

#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay .wgs-summary-modal-footer,
#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay > div > div:last-child {
    background: #111827 !important;
    border-top: 1px solid #374151 !important;
}

#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-copy-btn {
    background: #1f2937 !important;
    color: #e5e7eb !important;
    border: 1px solid #4b5563 !important;
}

#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay #wgs-summary-copy-btn:hover {
    background: #374151 !important;
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark #wgs-summary-modal-overlay input,
#chatbot-container.wgs-theme-dark #wgs-email-modal-overlay input,
#chatbot-container.wgs-theme-dark #wgs-callback-modal-overlay input,
#chatbot-container.wgs-theme-dark #wgs-callback-modal-overlay textarea,
#chatbot-container.wgs-theme-dark #wgs-callback-modal-overlay select {
    background: #111827 !important;
    border-color: #374151 !important;
    color: #f9fafb !important;
}

/* Input Area in Dark Theme */
#chatbot-container.wgs-theme-dark .chatbotcustomize,
body #chatbot-container.wgs-theme-dark .chatbotcustomize {
    background-color: #0b0f19 !important;
    border-top: 1px solid #1f2937 !important;
}

#chatbot-container.wgs-theme-dark #chatbot-input,
body #chatbot-container.wgs-theme-dark #chatbot-input {
    background-color: #181f2c !important;
    border: 1px solid #374151 !important;
    color: #f9fafb !important;
}

#chatbot-container.wgs-theme-dark #chatbot-input::placeholder {
    color: #9ca3af !important;
}

#chatbot-container.wgs-theme-dark #chatbot-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

/* Close Confirmation Div */
#chatbot-container.wgs-theme-dark .chatbot_close_div_main {
    background: rgba(0, 0, 0, 0.7) !important;
}

#chatbot-container.wgs-theme-dark div#chatbot_close_div,
body #chatbot-container.wgs-theme-dark div#chatbot_close_div {
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    color: #f9fafb !important;
}

#chatbot-container.wgs-theme-dark .chatbot_close_msg {
    color: #f9fafb !important;
}

/* Guest Form in Dark Theme */
#chatbot-container.wgs-theme-dark #guest-user-form label {
    color: #e5e7eb !important;
}

#chatbot-container.wgs-theme-dark #guest-user-form .form-control {
    background-color: #181f2c !important;
    border: 1px solid #374151 !important;
    color: #f9fafb !important;
}

#chatbot-container.wgs-theme-dark #guest-user-form .form-control::placeholder {
    color: #9ca3af !important;
}

/* ==========================================================================
   Mobile Launcher Buttons (Icon-only, no text on mobile)
   ========================================================================== */
@media (max-width: 767px) {
    #chatbot-toggle-btn .wgs-toggle-btn-text,
    #contactus-toggle-btn .wgs-toggle-btn-text {
        display: none !important;
    }
    #chatbot-toggle-btn,
    #contactus-toggle-btn {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        font-size: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    }
    #chatbot-toggle-btn img,
    #contactus-toggle-btn img {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
        margin: 0 !important;
        margin-right: 0 !important;
        object-fit: contain !important;
    }
}


/* ==========================================================================
   Conversation History & Multi-Conversation View (ChatGPT / Time Champ Style)
   ========================================================================== */
#wgs-conversation-history-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-radius: inherit;
    overflow: hidden;
    animation: wgsHistoryFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wgsHistoryFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wgs-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    min-height: 52px;
    padding: 0 14px;
    background: #007bff;
    color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wgs-history-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #ffffff;
}

.wgs-history-title i {
    font-size: 15px;
}

.wgs-history-back-btn,
.wgs-history-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    transition: background-color 0.15s ease;
    padding: 0;
}

.wgs-history-back-btn:hover,
.wgs-history-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

/* Conversation History Search & Filtering */
#chatbot-container .wgs-history-search-bar,
body #chatbot-container .wgs-history-search-bar {
    padding: 12px 14px 10px 14px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

#chatbot-container .wgs-history-search-input-wrap,
body #chatbot-container .wgs-history-search-input-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#chatbot-container .wgs-history-search-icon,
body #chatbot-container .wgs-history-search-icon {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

#chatbot-container .wgs-history-search-input,
body #chatbot-container .wgs-history-search-input,
#chatbot-container input.wgs-history-search-input,
body #chatbot-container input.wgs-history-search-input {
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 6px 34px 6px 36px !important;
    padding-left: 36px !important;
    padding-right: 34px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    line-height: 24px !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

#chatbot-container .wgs-history-search-input:focus,
body #chatbot-container .wgs-history-search-input:focus {
    border-color: #007bff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.14) !important;
}

#chatbot-container .wgs-history-search-input::placeholder,
body #chatbot-container .wgs-history-search-input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

#chatbot-container .wgs-history-search-clear,
body #chatbot-container .wgs-history-search-clear {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    padding: 4px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    z-index: 5 !important;
}

#chatbot-container .wgs-history-search-clear:hover,
body #chatbot-container .wgs-history-search-clear:hover {
    color: #64748b !important;
}

#chatbot-container .wgs-history-filter-chips,
body #chatbot-container .wgs-history-filter-chips {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
}

#chatbot-container .wgs-history-filter-chips::-webkit-scrollbar,
body #chatbot-container .wgs-history-filter-chips::-webkit-scrollbar {
    display: none !important;
}

#chatbot-container .wgs-history-filter-chip,
body #chatbot-container .wgs-history-filter-chip {
    padding: 4px 12px !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    outline: none !important;
    box-sizing: border-box !important;
}
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.3;
    white-space: nowrap;
    outline: none;
}

.wgs-history-filter-chip:hover {
    background: #e2e8f0;
    color: #334155;
}

.wgs-history-filter-chip.active {
    background: #007bff;
    color: #ffffff;
    border-color: #007bff;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 123, 255, 0.25);
}

.wgs-history-reset-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #007bff;
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.wgs-history-reset-search-btn:hover {
    background: #007bff;
    color: #ffffff;
}

.wgs-search-mark {
    background: #fef08a;
    color: #854d0e;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

.wgs-history-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
}

.wgs-history-body::-webkit-scrollbar {
    width: 6px;
}

.wgs-history-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.wgs-history-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.wgs-history-item:hover {
    background: #f1f5f9;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.wgs-history-item.active {
    background: #eff6ff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.14);
}

.wgs-history-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wgs-history-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.wgs-history-active-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 12px;
    background: #007bff;
    color: #ffffff;
    line-height: 1.2;
    flex-shrink: 0;
}

.wgs-history-item-snippet {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 2px 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.wgs-history-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.wgs-history-item-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wgs-history-item-arrow {
    color: #94a3b8;
    font-size: 11px;
    transition: transform 0.15s ease;
}

.wgs-history-item:hover .wgs-history-item-arrow {
    transform: translateX(2px);
    color: #007bff;
}

.wgs-history-footer {
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.wgs-new-conversation-btn {
    width: 100%;
    height: 42px;
    background: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.25);
    transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
}

.wgs-new-conversation-btn:hover {
    opacity: 0.94;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.35);
}

.wgs-new-conversation-btn:active {
    transform: translateY(0);
}

.wgs-history-loading,
.wgs-history-empty,
.wgs-history-guest-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 16px;
    color: #64748b;
    gap: 10px;
}

.wgs-history-empty i,
.wgs-history-guest-prompt i {
    font-size: 38px;
    opacity: 0.55;
    margin-bottom: 6px;
}

.wgs-history-guest-prompt h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.wgs-history-guest-prompt p {
    font-size: 12.5px;
    line-height: 1.5;
    color: #64748b;
    margin: 4px 0 12px 0;
}

.wgs-history-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Dark Theme: Conversation History Panel
   -------------------------------------------------------------------------- */
#chatbot-container.wgs-theme-dark #wgs-conversation-history-view,
#chatbot-container[data-theme="dark"] #wgs-conversation-history-view {
    background: #111827 !important;
    color: #f1f5f9 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-header,
#chatbot-container[data-theme="dark"] .wgs-history-header {
    background: #1e293b !important;
    border-bottom: 1px solid #334155 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-item,
#chatbot-container[data-theme="dark"] .wgs-history-item {
    background: #182234 !important;
    border-color: #2e3a4e !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-item:hover,
#chatbot-container[data-theme="dark"] .wgs-history-item:hover {
    background: #1e293b !important;
    border-color: #3b82f6 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-item.active,
#chatbot-container[data-theme="dark"] .wgs-history-item.active {
    background: #172554 !important;
    border-color: #3b82f6 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-item-title,
#chatbot-container[data-theme="dark"] .wgs-history-item-title {
    color: #f1f5f9 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-item-snippet,
#chatbot-container[data-theme="dark"] .wgs-history-item-snippet {
    color: #94a3b8 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-item-meta,
#chatbot-container[data-theme="dark"] .wgs-history-item-meta {
    color: #64748b !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-footer,
#chatbot-container[data-theme="dark"] .wgs-history-footer {
    background: #111827 !important;
    border-top-color: #2e3a4e !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-guest-prompt h4,
#chatbot-container[data-theme="dark"] .wgs-history-guest-prompt h4 {
    color: #f1f5f9 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-guest-prompt p,
#chatbot-container[data-theme="dark"] .wgs-history-guest-prompt p {
    color: #94a3b8 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-search-bar,
#chatbot-container[data-theme="dark"] .wgs-history-search-bar {
    background: #111827 !important;
    border-bottom: 1px solid #2e3a4e !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-search-input,
#chatbot-container[data-theme="dark"] .wgs-history-search-input {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-search-input:focus,
#chatbot-container[data-theme="dark"] .wgs-history-search-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-search-clear,
#chatbot-container[data-theme="dark"] .wgs-history-search-clear {
    color: #64748b !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-search-clear:hover,
#chatbot-container[data-theme="dark"] .wgs-history-search-clear:hover {
    color: #94a3b8 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-filter-chip,
#chatbot-container[data-theme="dark"] .wgs-history-filter-chip {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-filter-chip:hover,
#chatbot-container[data-theme="dark"] .wgs-history-filter-chip:hover {
    background: #2e3a4e !important;
    color: #f1f5f9 !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-filter-chip.active,
#chatbot-container[data-theme="dark"] .wgs-history-filter-chip.active {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-reset-search-btn,
#chatbot-container[data-theme="dark"] .wgs-history-reset-search-btn {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

#chatbot-container.wgs-theme-dark .wgs-history-reset-search-btn:hover,
#chatbot-container[data-theme="dark"] .wgs-history-reset-search-btn:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

#chatbot-container.wgs-theme-dark .wgs-search-mark,
#chatbot-container[data-theme="dark"] .wgs-search-mark {
    background: #854d0e !important;
    color: #fef08a !important;
}
