/* ===== floating-widget.css ===== */

:root {
    --fw-theme: #1e8225;
    --fw-theme-hover: #17681d;
    --fw-theme-dark: #115217;
    --fw-theme-soft: #e4f2e5;
    --fw-theme-text: #1a6f20;
}

/* ---- Welcome Tooltip ---- */
.fw-welcome-tooltip {
    position: fixed;
    bottom: 68px;
    right: 20px;
    width: 340px;
    background: #fff;
    border: 3px solid var(--fw-theme);
    border-radius: 14px;
    padding: 10px 32px 10px 14px;
    z-index: 9998;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.13);
    font-family: 'Inter', sans-serif;
    color-scheme: light;
    animation: fwSlideUp 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* Down-pointing arrow (outer border color) */
.fw-welcome-tooltip::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 12px 11px 0;
    border-style: solid;
    border-color: var(--fw-theme) transparent transparent;
}

/* Down-pointing arrow (inner white fill) */
.fw-welcome-tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px 8px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
    z-index: 1;
}

.fw-brand-title {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a !important;
    letter-spacing: -0.5px;
}

.fw-welcome-tooltip p {
    margin: 0;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

.fw-tooltip-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
}

.fw-tooltip-close:hover {
    color: #333;
}

@keyframes fwSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Floating Bar ---- */
#fw-contact-btn i,
#fw-welcome-tooltip i,
#fw-floating-bar i,
#fw-popup-wrapper i {
    pointer-events: none;
}

.fw-floating-bar {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 340px;
    /* Wider bar to match wider popup */
    height: 60px;
    /* Fixed height as requested */
    background: var(--fw-theme);
    color-scheme: light;
    display: flex;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 9999;
    box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Also sync tooltip width to bar width */
.fw-welcome-tooltip {
    width: 340px;
}

.fw-tab-btn {
    flex: 1;
    background: transparent;
    color: #fff;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    /* Let flex centering handle it since height is fixed */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    transition: filter 0.18s;
    font-family: 'Inter', sans-serif;
}

.fw-tab-btn:last-child {
    border-right: none;
}

.fw-tab-btn i {
    font-size: 15px;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: block;
}

.fw-tab-btn span {
    display: block;
    line-height: 1;
}

.fw-tab-btn:hover {
    filter: brightness(1.1);
}

.fw-tab-btn.active {
    filter: brightness(0.9);
}

/* Base button color (Standardized so they don't look "pre-activated") */
.fw-tab-btn {
    background-color: var(--fw-theme);
    /* Consistent base green */
}

/* Standardized active color (Same for ALL buttons) */
.fw-tab-btn.active {
    background-color: var(--fw-theme-dark) !important;
    /* Dark green requested */
}

/* =========================================
   POPUP WINDOW
   ========================================= */
.fw-popup-wrapper {
    position: fixed;
    bottom: 72px;
    /* Increased gap above 60px bar */
    right: 20px;
    width: 680px;
    /* Wider */
    height: 500px;
    /* Slightly reduced height */
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    display: flex;
    z-index: 10000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.28s ease, transform 0.28s ease, width 0.3s ease;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    color-scheme: light;
}

.fw-popup-wrapper.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Resets */
.fw-popup-wrapper h2 {
    font-size: 20px;
    color: #111;
    margin: 0 0 6px;
    font-weight: 700;
}

.fw-popup-wrapper h3 {
    font-size: 17px;
    color: #111;
    margin: 0 0 10px;
    font-weight: 600;
}

.fw-popup-wrapper p {
    font-size: 13px;
    color: #555;
    margin: 0 0 14px;
    line-height: 1.5;
}

/* ---- Sidebar (shown in maximized state) ---- */
.fw-sidebar {
    width: 250px;
    min-width: 250px;
    background: #eef7f2;
    /* Light mint */
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease, min-width 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
    overflow: hidden;
}

.fw-logo-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.fw-logo-card img {
    max-width: 100%;
    max-height: 45px;
}

.fw-widget-logo-dark {
    display: none !important;
}

.fw-widget-logo-light {
    display: block !important;
}

.fw-brand-title {
    font-size: 21px;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
}

.fw-brand-item {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.fw-brand-icon {
    width: 24px;
    text-align: center;
    color: var(--fw-theme);
    /* Teal green */
    font-size: 16px;
    flex-shrink: 0;
}

.fw-brand-text {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

.fw-brand-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s;
}

.fw-brand-text a:hover {
    color: var(--fw-theme);
}

.fw-brand-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

.fw-brand-sep {
    border: none;
    border-top: 1px solid #dceadc;
    margin: 5px 0 15px;
}

/* Minimized state — shrink the wrapper and hide sidebar */
.fw-popup-wrapper.fw-minimized {
    width: 340px;
    /* Synchronized with .fw-floating-bar width */
}

.fw-popup-wrapper.fw-minimized .fw-sidebar {
    width: 0;
    min-width: 0;
    padding: 0;
    opacity: 0;
    border: none;
}

.fw-logo-box {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
    text-align: center;
}

.fw-logo-box img {
    max-width: 100%;
    max-height: 42px;
    object-fit: contain;
}

.fw-info-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 11px;
    font-size: 12px;
    color: #333;
}

.fw-info-row i {
    color: var(--fw-theme);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 12px;
}

.fw-divider {
    border: none;
    border-top: 1px solid #ccd9cc;
    margin: 14px 0;
}

.fw-hours-section strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222;
}

/* ---- Right Content Area */
.fw-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.04);
    z-index: 2;
    padding: 22px 22px 18px;
}

.fw-top-logo {
    margin-bottom: 12px;
}

.fw-top-logo img {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
}

/* ---- Control Buttons (close + maximize/minimize) ---- */
.fw-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    /* Smaller */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.18s;
    z-index: 1;
}

.fw-close-btn:hover {
    background: #e0e0e0;
    color: #111;
}

/* Maximize/Minimize toggle button */
.fw-expand-btn {
    position: absolute;
    top: 10px;
    right: 40px;
    /* Left of close btn */
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    /* Smaller */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.18s;
    z-index: 1;
}

.fw-expand-btn:hover {
    background: #e0e0e0;
    color: #111;
}

/* Views */
.fw-view {
    display: none;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    /* Hide scrollbars as content should fit now */
}

.fw-view.active {
    display: flex;
    animation: fwFadeIn 0.25s ease both;
}

@keyframes fwFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Main Buttons */
.fw-main-buttons {
    margin-bottom: 14px;
}

.fw-btn-large {
    width: 100%;
    background: var(--fw-theme);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.18s;
}

.fw-btn-large span {
    margin-top: 7px;
}

.fw-btn-large:hover {
    background: var(--fw-theme-hover);
}

.fw-btn-live {
    margin-top: 10px;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--fw-theme) 0%, var(--fw-theme-dark) 100%);
}

.fw-btn-live:hover {
    background: linear-gradient(135deg, var(--fw-theme-hover) 0%, #0d4212 100%);
}

.fw-btn-row {
    display: flex;
    gap: 10px;
}

.fw-btn-medium {
    flex: 1;
    background: var(--fw-theme-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
}

.fw-btn-medium span {
    margin-top: 6px;
}

.fw-btn-medium:hover {
    background: #0d4212;
}

/* Fake input */
.fw-ai-prompt p {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
}

.fw-fake-input {
    border: 1.5px solid var(--fw-theme);
    border-radius: 8px;
    padding: 11px 14px;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    transition: border-color 0.18s;
}

.fw-fake-input i {
    color: #ccc;
    font-size: 15px;
}

.fw-fake-input:hover {
    border-color: var(--fw-theme-hover);
}

/* Forms */
.fw-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fw-input-row {
    display: flex;
    gap: 10px;
}

.fw-form input,
.fw-form select,
.fw-form textarea {
    width: 100%;
    padding: 6px 11px;
    /* Even more compacted */
    margin-bottom: 6px;
    /* Even more compacted */
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.fw-form input:focus,
.fw-form select:focus,
.fw-form textarea:focus {
    border-color: var(--fw-theme);
}

.fw-form textarea {
    resize: none;
    flex: 1;
    min-height: 50px;
    /* Reduced to fit without scroll */
}

#fw-view-pre-chat .fw-form {
    justify-content: center;
}

#fw-view-pre-chat .fw-form input {
    padding: 10px 12px;
    margin-bottom: 10px;
}

/* Compact minimized forms */
.fw-minimized .fw-input-row {
    flex-direction: row;
    gap: 10px;
}

.fw-minimized .fw-content {
    padding: 10px 16px 14px;
}

.fw-minimized .fw-top-logo {
    margin-bottom: 12px;
}

.fw-minimized .fw-popup-wrapper h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.fw-minimized .fw-view {
    overflow-y: auto;
    padding-right: 4px;
    /* Space for scrollbar */
}

/* Scrollbar styling for a cleaner look */
.fw-view::-webkit-scrollbar {
    width: 5px;
}

.fw-view::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.fw-view::-webkit-scrollbar-thumb {
    background: var(--fw-theme);
    border-radius: 10px;
}

.fw-privacy-notice {
    font-size: 11px;
    color: #777;
    margin-bottom: 10px;
}

.fw-privacy-notice a {
    color: var(--fw-theme);
    text-decoration: none;
}

.fw-top-logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 5px;
    margin-top: 5px;
}

/* Hide top logo when sidebar is visible (maximized mode) */
#fw-popup-wrapper:not(.fw-minimized) .fw-top-logo {
    display: none;
}

.fw-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #eef3ee;
}

.fw-back-btn {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fw-back-btn:hover {
    color: var(--fw-theme);
}

.fw-submit-btn {
    background: var(--fw-theme);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
}

.fw-submit-btn:hover {
    background: var(--fw-theme-hover);
}

/* Chat */
.fw-chat-container {
    padding: 0 !important;
}

.fw-chat-history {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fw-chat-history::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.fw-chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.fw-bot {
    background: #f1f3f5;
    color: #212529;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.fw-user {
    background: var(--fw-theme);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Suggested Question Buttons */
.fw-chat-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.fw-faq-btn {
    background: #ffffff;
    border: 1px solid var(--fw-theme);
    color: var(--fw-theme);
    text-align: left;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
    max-width: 100%;
}

.fw-faq-btn:hover {
    background: var(--fw-theme);
    color: #ffffff;
    transform: translateX(3px);
}

.fw-chat-bot-branding {
    font-size: 10px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fw-quick-replies {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.fw-qr-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.fw-qr-row:last-child {
    margin-bottom: 0;
}

.fw-qr-btn {
    background: var(--fw-theme-soft);
    color: var(--fw-theme-text);
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.18s;
}

.fw-qr-btn i {
    font-size: 16px;
    color: var(--fw-theme);
}

.fw-chat-msg.fw-typing {
    opacity: 0.6;
    padding: 8px 12px;
}

.fw-chat-msg.fw-typing::after {
    content: '...';
    animation: fw-blink 1s infinite;
}

@keyframes fw-blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.fw-qr-btn:hover {
    background: #d5ead7;
}

.fw-chat-input-area {
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.fw-chat-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    margin-bottom: 6px;
}

.fw-chat-form {
    position: relative;
}

.fw-chat-form input {
    width: 100%;
    border: 1.5px solid var(--fw-theme);
    border-radius: 8px;
    padding: 10px 44px 10px 14px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.fw-chat-form button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #bbb;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.18s;
}

.fw-chat-form input:focus+button,
.fw-chat-form button:hover {
    color: var(--fw-theme);
}

/* Live Chat */
.fw-live-chat-container {
    min-height: 0;
}

.fw-live-intro {
    margin-bottom: 8px !important;
}

.fw-live-chat-history {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px;
    background: #f7fbf7;
    border: 1px solid #e3efe4;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.fw-live-chat-form {
    margin-top: 10px;
}

.fw-live-chat-form > input {
    width: 100%;
    border: 1.5px solid #dfe8df;
    border-radius: 8px;
    padding: 8px 11px;
    font-size: 13px;
    margin-bottom: 8px;
    outline: none;
}

.fw-live-chat-send-row {
    display: flex;
    gap: 8px;
}

.fw-live-chat-send-row input {
    flex: 1;
    border: 1.5px solid var(--fw-theme);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.fw-live-chat-send-row button {
    width: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--fw-theme);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fw-live-chat-send-row button:hover {
    background: var(--fw-theme-hover);
}

/* ---- Mobile ---- */
@media (max-width: 720px) {
    .fw-floating-bar {
        width: 100%;
        right: 0;
        border-radius: 0;
    }

    .fw-welcome-tooltip {
        width: calc(100% - 40px);
        right: 20px;
    }

    .fw-popup-wrapper {
        width: 100%;
        right: 0;
        bottom: 56px;
        height: 82vh;
        border-radius: 14px 14px 0 0;
    }

    .fw-sidebar {
        display: none !important;
    }

    .fw-content {
        padding: 20px 18px 16px;
    }

    .fw-expand-btn {
        display: none;
    }
}

/* =========================================
   DARK MODE
   Follows the site's dark-mode/dark-scheme/site-dark-mode classes.
   ========================================= */
html.dark-mode,
html.dark-scheme,
body.dark-mode,
body.dark-scheme,
body.site-dark-mode {
    --fw-dark-bg: #07150a;
    --fw-dark-panel: #0d2111;
    --fw-dark-panel-2: #102817;
    --fw-dark-surface: #142f1a;
    --fw-dark-border: rgba(172, 218, 177, 0.2);
    --fw-dark-text: #f1f7ef;
    --fw-dark-muted: #b7c9b8;
    --fw-dark-soft: rgba(30, 130, 37, 0.2);
}

html.dark-mode .fw-welcome-tooltip,
html.dark-scheme .fw-welcome-tooltip,
body.dark-mode .fw-welcome-tooltip,
body.dark-scheme .fw-welcome-tooltip,
body.site-dark-mode .fw-welcome-tooltip {
    background: rgba(10, 27, 13, 0.96) !important;
    border-color: var(--fw-theme) !important;
    color: var(--fw-dark-text) !important;
    color-scheme: dark;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

html.dark-mode .fw-welcome-tooltip::before,
html.dark-scheme .fw-welcome-tooltip::before,
body.dark-mode .fw-welcome-tooltip::before,
body.dark-scheme .fw-welcome-tooltip::before,
body.site-dark-mode .fw-welcome-tooltip::before {
    border-color: rgba(10, 27, 13, 0.96) transparent transparent !important;
}

html.dark-mode .fw-welcome-tooltip p,
html.dark-scheme .fw-welcome-tooltip p,
body.dark-mode .fw-welcome-tooltip p,
body.dark-scheme .fw-welcome-tooltip p,
body.site-dark-mode .fw-welcome-tooltip p {
    color: var(--fw-dark-muted) !important;
}

html.dark-mode .fw-tooltip-close,
html.dark-scheme .fw-tooltip-close,
body.dark-mode .fw-tooltip-close,
body.dark-scheme .fw-tooltip-close,
body.site-dark-mode .fw-tooltip-close {
    color: #d7e8d8;
}

html.dark-mode .fw-popup-wrapper,
html.dark-scheme .fw-popup-wrapper,
body.dark-mode .fw-popup-wrapper,
body.dark-scheme .fw-popup-wrapper,
body.site-dark-mode .fw-popup-wrapper {
    background: var(--fw-dark-bg) !important;
    color: var(--fw-dark-text) !important;
    color-scheme: dark;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

html.dark-mode .fw-sidebar,
html.dark-scheme .fw-sidebar,
body.dark-mode .fw-sidebar,
body.dark-scheme .fw-sidebar,
body.site-dark-mode .fw-sidebar {
    background: linear-gradient(180deg, rgba(18, 48, 24, 0.98), rgba(8, 26, 12, 0.98)) !important;
    border-right: 1px solid var(--fw-dark-border);
}

html.dark-mode .fw-content,
html.dark-scheme .fw-content,
body.dark-mode .fw-content,
body.dark-scheme .fw-content,
body.site-dark-mode .fw-content {
    background: var(--fw-dark-panel) !important;
    box-shadow: -10px 0 22px rgba(0, 0, 0, 0.24);
}

html.dark-mode .fw-logo-card,
html.dark-scheme .fw-logo-card,
body.dark-mode .fw-logo-card,
body.dark-scheme .fw-logo-card,
body.site-dark-mode .fw-logo-card,
html.dark-mode .fw-logo-box,
html.dark-scheme .fw-logo-box,
body.dark-mode .fw-logo-box,
body.dark-scheme .fw-logo-box,
body.site-dark-mode .fw-logo-box {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--fw-dark-border);
    box-shadow: none;
}

html.dark-mode .fw-widget-logo-light,
html.dark-scheme .fw-widget-logo-light,
body.dark-mode .fw-widget-logo-light,
body.dark-scheme .fw-widget-logo-light,
body.site-dark-mode .fw-widget-logo-light {
    display: none !important;
}

html.dark-mode .fw-widget-logo-dark,
html.dark-scheme .fw-widget-logo-dark,
body.dark-mode .fw-widget-logo-dark,
body.dark-scheme .fw-widget-logo-dark,
body.site-dark-mode .fw-widget-logo-dark {
    display: block !important;
}

html.dark-mode .fw-popup-wrapper h2,
html.dark-scheme .fw-popup-wrapper h2,
body.dark-mode .fw-popup-wrapper h2,
body.dark-scheme .fw-popup-wrapper h2,
body.site-dark-mode .fw-popup-wrapper h2,
html.dark-mode .fw-popup-wrapper h3,
html.dark-scheme .fw-popup-wrapper h3,
body.dark-mode .fw-popup-wrapper h3,
body.dark-scheme .fw-popup-wrapper h3,
body.site-dark-mode .fw-popup-wrapper h3,
html.dark-mode .fw-brand-title,
html.dark-scheme .fw-brand-title,
body.dark-mode .fw-brand-title,
body.dark-scheme .fw-brand-title,
body.site-dark-mode .fw-brand-title,
html.dark-mode .fw-brand-text strong,
html.dark-scheme .fw-brand-text strong,
body.dark-mode .fw-brand-text strong,
body.dark-scheme .fw-brand-text strong,
body.site-dark-mode .fw-brand-text strong,
html.dark-mode .fw-chat-label strong,
html.dark-scheme .fw-chat-label strong,
body.dark-mode .fw-chat-label strong,
body.dark-scheme .fw-chat-label strong,
body.site-dark-mode .fw-chat-label strong {
    color: var(--fw-dark-text) !important;
}

html.dark-mode .fw-popup-wrapper p,
html.dark-scheme .fw-popup-wrapper p,
body.dark-mode .fw-popup-wrapper p,
body.dark-scheme .fw-popup-wrapper p,
body.site-dark-mode .fw-popup-wrapper p,
html.dark-mode .fw-brand-text,
html.dark-scheme .fw-brand-text,
body.dark-mode .fw-brand-text,
body.dark-scheme .fw-brand-text,
body.site-dark-mode .fw-brand-text,
html.dark-mode .fw-chat-label,
html.dark-scheme .fw-chat-label,
body.dark-mode .fw-chat-label,
body.dark-scheme .fw-chat-label,
body.site-dark-mode .fw-chat-label,
html.dark-mode .fw-privacy-notice,
html.dark-scheme .fw-privacy-notice,
body.dark-mode .fw-privacy-notice,
body.dark-scheme .fw-privacy-notice,
body.site-dark-mode .fw-privacy-notice {
    color: var(--fw-dark-muted) !important;
}

html.dark-mode .fw-brand-sep,
html.dark-scheme .fw-brand-sep,
body.dark-mode .fw-brand-sep,
body.dark-scheme .fw-brand-sep,
body.site-dark-mode .fw-brand-sep,
html.dark-mode .fw-form-footer,
html.dark-scheme .fw-form-footer,
body.dark-mode .fw-form-footer,
body.dark-scheme .fw-form-footer,
body.site-dark-mode .fw-form-footer,
html.dark-mode .fw-chat-input-area,
html.dark-scheme .fw-chat-input-area,
body.dark-mode .fw-chat-input-area,
body.dark-scheme .fw-chat-input-area,
body.site-dark-mode .fw-chat-input-area {
    border-color: var(--fw-dark-border) !important;
}

html.dark-mode .fw-close-btn,
html.dark-scheme .fw-close-btn,
body.dark-mode .fw-close-btn,
body.dark-scheme .fw-close-btn,
body.site-dark-mode .fw-close-btn,
html.dark-mode .fw-expand-btn,
html.dark-scheme .fw-expand-btn,
body.dark-mode .fw-expand-btn,
body.dark-scheme .fw-expand-btn,
body.site-dark-mode .fw-expand-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #d8ead9 !important;
}

html.dark-mode .fw-close-btn:hover,
html.dark-scheme .fw-close-btn:hover,
body.dark-mode .fw-close-btn:hover,
body.dark-scheme .fw-close-btn:hover,
body.site-dark-mode .fw-close-btn:hover,
html.dark-mode .fw-expand-btn:hover,
html.dark-scheme .fw-expand-btn:hover,
body.dark-mode .fw-expand-btn:hover,
body.dark-scheme .fw-expand-btn:hover,
body.site-dark-mode .fw-expand-btn:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

html.dark-mode .fw-form input,
html.dark-scheme .fw-form input,
body.dark-mode .fw-form input,
body.dark-scheme .fw-form input,
body.site-dark-mode .fw-form input,
html.dark-mode .fw-form select,
html.dark-scheme .fw-form select,
body.dark-mode .fw-form select,
body.dark-scheme .fw-form select,
body.site-dark-mode .fw-form select,
html.dark-mode .fw-form textarea,
html.dark-scheme .fw-form textarea,
body.dark-mode .fw-form textarea,
body.dark-scheme .fw-form textarea,
body.site-dark-mode .fw-form textarea,
html.dark-mode .fw-chat-form input,
html.dark-scheme .fw-chat-form input,
body.dark-mode .fw-chat-form input,
body.dark-scheme .fw-chat-form input,
body.site-dark-mode .fw-chat-form input,
html.dark-mode .fw-live-chat-send-row input,
html.dark-scheme .fw-live-chat-send-row input,
body.dark-mode .fw-live-chat-send-row input,
body.dark-scheme .fw-live-chat-send-row input,
body.site-dark-mode .fw-live-chat-send-row input {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(141, 196, 148, 0.45) !important;
    color: var(--fw-dark-text) !important;
}

html.dark-mode .fw-form input::placeholder,
html.dark-scheme .fw-form input::placeholder,
body.dark-mode .fw-form input::placeholder,
body.dark-scheme .fw-form input::placeholder,
body.site-dark-mode .fw-form input::placeholder,
html.dark-mode .fw-form textarea::placeholder,
html.dark-scheme .fw-form textarea::placeholder,
body.dark-mode .fw-form textarea::placeholder,
body.dark-scheme .fw-form textarea::placeholder,
body.site-dark-mode .fw-form textarea::placeholder,
html.dark-mode .fw-chat-form input::placeholder,
html.dark-scheme .fw-chat-form input::placeholder,
body.dark-mode .fw-chat-form input::placeholder,
body.dark-scheme .fw-chat-form input::placeholder,
body.site-dark-mode .fw-chat-form input::placeholder,
html.dark-mode .fw-live-chat-send-row input::placeholder,
html.dark-scheme .fw-live-chat-send-row input::placeholder,
body.dark-mode .fw-live-chat-send-row input::placeholder,
body.dark-scheme .fw-live-chat-send-row input::placeholder,
body.site-dark-mode .fw-live-chat-send-row input::placeholder {
    color: rgba(225, 240, 225, 0.62) !important;
}

html.dark-mode .fw-fake-input,
html.dark-scheme .fw-fake-input,
body.dark-mode .fw-fake-input,
body.dark-scheme .fw-fake-input,
body.site-dark-mode .fw-fake-input,
html.dark-mode .fw-live-chat-history,
html.dark-scheme .fw-live-chat-history,
body.dark-mode .fw-live-chat-history,
body.dark-scheme .fw-live-chat-history,
body.site-dark-mode .fw-live-chat-history {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: var(--fw-dark-border) !important;
    color: var(--fw-dark-muted) !important;
}

html.dark-mode .fw-back-btn,
html.dark-scheme .fw-back-btn,
body.dark-mode .fw-back-btn,
body.dark-scheme .fw-back-btn,
body.site-dark-mode .fw-back-btn {
    color: var(--fw-dark-muted) !important;
}

html.dark-mode .fw-back-btn:hover,
html.dark-scheme .fw-back-btn:hover,
body.dark-mode .fw-back-btn:hover,
body.dark-scheme .fw-back-btn:hover,
body.site-dark-mode .fw-back-btn:hover {
    color: #fff !important;
}

html.dark-mode .fw-bot,
html.dark-scheme .fw-bot,
body.dark-mode .fw-bot,
body.dark-scheme .fw-bot,
body.site-dark-mode .fw-bot {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--fw-dark-text) !important;
    border: 1px solid var(--fw-dark-border);
}

html.dark-mode .fw-user,
html.dark-scheme .fw-user,
body.dark-mode .fw-user,
body.dark-scheme .fw-user,
body.site-dark-mode .fw-user {
    color: #fff !important;
}

html.dark-mode .fw-faq-btn,
html.dark-scheme .fw-faq-btn,
body.dark-mode .fw-faq-btn,
body.dark-scheme .fw-faq-btn,
body.site-dark-mode .fw-faq-btn,
html.dark-mode .fw-qr-btn,
html.dark-scheme .fw-qr-btn,
body.dark-mode .fw-qr-btn,
body.dark-scheme .fw-qr-btn,
body.site-dark-mode .fw-qr-btn {
    background: var(--fw-dark-soft) !important;
    border-color: rgba(141, 196, 148, 0.42) !important;
    color: var(--fw-dark-text) !important;
}

html.dark-mode .fw-faq-btn:hover,
html.dark-scheme .fw-faq-btn:hover,
body.dark-mode .fw-faq-btn:hover,
body.dark-scheme .fw-faq-btn:hover,
body.site-dark-mode .fw-faq-btn:hover,
html.dark-mode .fw-qr-btn:hover,
html.dark-scheme .fw-qr-btn:hover,
body.dark-mode .fw-qr-btn:hover,
body.dark-scheme .fw-qr-btn:hover,
body.site-dark-mode .fw-qr-btn:hover {
    background: var(--fw-theme) !important;
    color: #fff !important;
}

html.dark-mode .fw-view::-webkit-scrollbar-track,
html.dark-scheme .fw-view::-webkit-scrollbar-track,
body.dark-mode .fw-view::-webkit-scrollbar-track,
body.dark-scheme .fw-view::-webkit-scrollbar-track,
body.site-dark-mode .fw-view::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
}
