﻿:root {
    --brand: #2e7d32; /* green outline */
    --text: #1f2937; /* gray-800 */
    --muted: #4b5563; /* slightly darker for contrast */
    --bg: #ffffff;
    --header-bg: #ffffff;
    --header-shadow: 0 6px 18px rgba(0,0,0,.06);
    --panel-shadow: 0 16px 40px rgba(0,0,0,.15);
    --bubble: #2563eb; /* launcher bubble */
    /* Dyslexic-friendly font stack (OpenDyslexic first, with sane fallbacks) */
    --font: "OpenDyslexic3", "OpenDyslexic", "Atkinson Hyperlegible", "Noto Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    /* Base typographic scale */
    --base-size: 16px;
    --line: 1.6;
}

/*#chatBubble {
    position: fixed;
    right: 24px;#chatMessages .msg.user .row.user 
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bubble);
    color: #fff;
    display: grid;
    place-items: center;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    cursor: pointer;
    z-index: 1000;
}*/
#chatBubble {
    position: fixed;
    right: 24px;
    bottom: 24px;
    /* width: 56px;
    height: 56px;
    border-radius: 50%; */
    padding: 10px 16px;
    min-height: 40px;
    border-radius: 999px; /* pill */

    background: var(--bubble);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    cursor: pointer;
    z-index: 1000;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    touch-action: none;
    user-select: none;
}

#chatBubble.is-dragging {
    cursor: grabbing;
}

    #chatBubble .chat-bubble-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #chatBubble .chat-bubble-label {
        line-height: 1;
    }

/* Full-height right-docked panel */
#chatPanel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 620px;
    display: none;
    flex-direction: column;
    background: var(--bg);
    box-shadow: var(--panel-shadow);
    border-left: 1px solid #eee;
    z-index: 1000;
    font-family: var(--font);
    font-size: var(--base-size);
    line-height: var(--line);
}

/* Header with centered title + subtle shadow */
#chatHeader {
    background: var(--header-bg);
    box-shadow: var(--header-shadow);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 72px;
}

#chatMenuButton {
    position: absolute;
    top: 92px;
    right: 8px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #334155;
    padding: 5px 8px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}

#chatMenuButton:hover:not(:disabled) {
    border-color: #94a3b8;
    background: #f8fafc;
}

#chatMenuButton:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

#chatMenuButton:disabled {
    cursor: wait;
    opacity: 0.65;
}

/* Keep the escape action in the widget header so the embedded Five9 frame
   can never cover it. */
#chatPanel.chat-five9-active #chatMenuButton,
#chatPanel.chat-client-theme-modern.chat-five9-active #chatMenuButton {
    top: 17px;
    right: 64px;
    z-index: 1002;
    border-color: rgba(255, 255, 255, 0.9);
    background: #fff;
    color: #225f91;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.24);
}

#chatHeader span {
        font-size: 17px;
        font-weight: 750;
        letter-spacing: 0.2px;
        color: var(--text);
        line-height: 1.25;
}

#chatHeaderTitle {
    display: block;
    max-width: calc(100% - 88px);
    word-break: break-word;
    text-align: center;
}

#chatAvailability {
    position: absolute;
    left: 18px;
    top: 20px;
    width: 10px;
    height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#chatAvailability::after {
    content: attr(aria-label);
    position: absolute;
    left: 14px;
    top: -4px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    padding: 6px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
    z-index: 5;
}

#chatAvailability:hover::after {
    opacity: 1;
    transform: translateY(0);
}

#chatAvailability .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #b0b7c3;
    box-shadow: 0 0 0 2px rgba(176, 183, 195, 0.15);
}

#chatAvailability .status-dot.available {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
}

#chatClose {
    position: absolute;
    right: 12px;
    top: 10px;
    border: none;
    background: transparent;
    font-size: 20px;
    color: #4b5563;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

#chatStopLiveAssist {
    position: absolute;
    right: 52px;
    top: 14px;
    border: 1px solid rgba(180, 83, 9, 0.22);
    background: rgba(255, 247, 237, 0.96);
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 999px;
    cursor: pointer;
    z-index: 2;
}

#chatStopLiveAssist:hover {
    background: rgba(255, 237, 213, 0.98);
}

#chatStopLiveAssist[hidden] {
    display: none !important;
}

/* Messages: generous spacing */
#chatMessages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px;
    background: #fff;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#chatFive9Host {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    background: #fff;
}

#chatFive9Host[hidden] {
    display: none !important;
}

#chatFive9Host #information-page {
    min-height: 100%;
}

#chatFive9Host .five9-frame {
    width: 100% !important;
    height: 100% !important;
}

#chatFive9Host .five9-frame .five9-frame-minimized,
#chatFive9Host .five9-frame .five9-header,
#chatFive9Host .five9-frame #five9-minimize-icon,
#chatFive9Host .five9-frame #five9-popout-button {
    display: none !important;
}

#chatFive9Host .five9-frame #five9-frame-full {
    height: 100% !important;
    visibility: visible !important;
}

#chatFive9Host .five9-frame #five9-embedded-container,
#chatFive9Host .five9-frame #embedded-frame {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.highline-five9-profile-choice {
    color: #1f2937;
}

.highline-five9-profile-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.highline-greeting-suffix {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #bfd9ee;
    border-left: 4px solid #2f7dbf;
    border-radius: 6px;
    background: #fbfdff;
    color: #173b5f;
    font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0;
    box-shadow: 0 2px 8px rgba(24, 58, 90, 0.08);
}

.highline-five9-profile-options {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.highline-five9-profile-btn {
    width: 100%;
    border: 1px solid #c8d6e3;
    border-radius: 8px;
    background: #fff;
    color: #183a5a;
    padding: 16px 18px;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(24, 58, 90, 0.08);
}

.highline-five9-profile-btn:hover:not(:disabled) {
    border-color: #2f7dbf;
    background: #f4f9fd;
}

.highline-five9-profile-btn:disabled {
    cursor: wait;
    opacity: 0.72;
}

.highline-five9-cancel-btn {
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: #4b5563;
    padding: 6px 0;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.highline-five9-cancel-btn:hover {
    color: #183a5a;
    text-decoration: underline;
}

    /* --- SINGLE base row rule --- */
    #chatMessages .msg .row {
        display: flex;
        margin: 4px 0;
        gap: 12px;
        /*align-items: flex-start;*/
        justify-content: flex-start; /* LEFT by default */
        text-align: left;
    }

    /* System/bot: LEFT */
    #chatMessages .msg.system .row.system {
        justify-content: flex-start;
        flex-direction: row; /* bubble then avatar on left */
    }

    /* User: RIGHT */
    #chatMessages .msg.user .row.user {
        justify-content: flex-start;
        flex-direction: row-reverse; /* bubble then avatar on left */
        align-items: flex-start;
    }


    /* Optional: different bubble colors */
    #chatMessages .msg.system .bubble {
        background-color: #f2fff2;
    }

    #chatMessages .msg.user .bubble {
        background-color: #f2fdff;
    }

    #chatMessages .session-expired-card .bubble {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #chatMessages .chat-survey-card .bubble {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .chat-survey-title {
        font-size: 17px;
        font-weight: 700;
        color: #1f2937;
    }

    .chat-survey-question {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .chat-survey-label {
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        line-height: 1.5;
    }

    .chat-survey-stars {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }

    .chat-survey-star {
        border: 1px solid #d1d5db;
        background: #fff;
        color: #c5c8ce;
        border-radius: 10px;
        width: 40px;
        height: 40px;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        transition: transform 0.12s ease, border-color 0.12s ease, color 0.12s ease, background-color 0.12s ease;
    }

        .chat-survey-star:hover {
            transform: translateY(-1px);
            border-color: #f59e0b;
            color: #f59e0b;
        }

        .chat-survey-star.selected {
            border-color: #f59e0b;
            background: #fff8e6;
            color: #f59e0b;
        }

    .chat-survey-feedback-wrap {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .chat-survey-feedback {
        width: 100%;
        min-height: 92px;
        border: 1px solid #d1d5db;
        border-radius: 12px;
        padding: 10px 12px;
        font: inherit;
        color: #111827;
        resize: vertical;
        box-sizing: border-box;
        background: #fff;
    }

        .chat-survey-feedback:focus {
            outline: none;
            border-color: #9ca3af;
            box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
        }

    .chat-survey-error {
        min-height: 18px;
        color: #b91c1c;
        font-size: 13px;
        line-height: 1.4;
    }

    .chat-survey-submit {
        margin-top: 2px;
    }

    .chat-survey-thanks {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .reactivate-chat-btn {
        align-self: flex-start;
        border: none;
        border-radius: 999px;
        padding: 10px 14px;
        font-family: var(--font);
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        background: var(--brand);
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(46, 125, 50, 0.18);
    }

        .reactivate-chat-btn:hover {
            filter: brightness(1.03);
        }

        .reactivate-chat-btn:disabled {
            opacity: 0.7;
            cursor: wait;
        }

/* Remove this block completely – it’s now redundant and can interfere:
.msg .row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
*/

#chatHeader #chatClose svg {
    display: block;
    width: 32px; /* was effectively 16px before */
    height: 32px;
}

#chatClose {
    position: absolute;
    right: 8px; /* adjust from 12px if needed */
    top: 6px; /* adjust from 10px if needed */
    border: none;
    background: transparent;
    font-size: 20px;
    color: #4b5563;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

.msg {
    margin: 20px 0;
}

    .msg .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #26413c; /* fallback */
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 700;
        flex: 0 0 40px;
        font-size: 16px;
        box-shadow: 0 4px 14px rgba(0,0,0,.08); /* floating effect for circle */
    }

/* System/bot avatar – soft green to match #f2fff2 bubble */
#chatMessages .msg.system .avatar {
    background-color: #b6e7b6;
    color: #1f2937; /* darker text for contrast */
}

/* User avatar – soft blue to match #f2fdff bubble */
#chatMessages .msg.user .avatar {
    background-color: #b5e3ff;
    color: #1f2937;
}

.msg .bubble {
    max-width: calc(100% - 52px);
    background: #fff;
    /*border: 1px solid #e5e7eb;*/
    border-radius: 12px;
    padding: 12px 14px;
    line-height: 1.7;
    letter-spacing: 0.1px; /* slight tracking helps low vision */
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.meta {
    color: var(--muted);
    font-size: 15px; /* larger meta text */
    margin-top: 8px;
}

/* Suggestion buttons as outlined pills */
.suggests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.welcome-quick-actions .bubble {
    background: transparent !important;
    box-shadow: none;
    padding-top: 4px;
}

.btn-pill {
    background: #fff;
    color: var(--text);
    border: 1px solid #b7d2bf;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-pill:hover {
        border-color: var(--brand);
        box-shadow: 0 1px 2px rgba(0,0,0,.06);
    }

    .btn-pill:disabled,
    .btn-pill[aria-disabled="true"] {
        background: #eef1f3;
        color: #8a949e;
        border-color: #d4dbe1;
        cursor: not-allowed;
        box-shadow: none;
        opacity: 1;
    }

/* Bottom input bar (full width) */
#chatInputRow {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 16px 18px;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    font-family: var(--font);
}

#chatText {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.6;
}

    #chatText:focus {
        outline: none;
        border-color: #cbd5e1;
        box-shadow: 0 0 0 3px rgba(99,102,241,.12);
    }

#chatReviewButton {
    background: #fff;
    color: #1f2937;
    border-color: #d1d5db;
    white-space: nowrap;
}

    #chatReviewButton:hover:not(:disabled) {
        border-color: #9ca3af;
        background: #f9fafb;
    }

    #chatReviewButton:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

#chatReviewButton.inactivity-survey-highlight {
    background: #f59e0b;
    border-color: #b45309;
    color: #111827;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.28);
    animation: chat-survey-highlight-pulse 1.4s ease-in-out infinite;
}

#chatPanel.chat-client-theme-modern #chatReviewButton.inactivity-survey-highlight {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

@keyframes chat-survey-highlight-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    #chatReviewButton.inactivity-survey-highlight {
        animation: none;
    }
}

.btn {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    font-family: var(--font);
}

.verification-form-card .bubble {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.verification-form-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.verification-form-note {
    font-size: 13px;
    color: #4b5563;
}

.verification-form-grid {
    display: grid;
    gap: 8px;
}

.verification-field {
    display: grid;
    gap: 5px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.verification-field strong {
    color: #6b7280;
    font-weight: 600;
}

.verification-form-grid input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: #111827;
    box-sizing: border-box;
    background: #fff;
}

.verification-form-grid input:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.verification-form-grid input.verification-field-invalid {
    border-color: #d92d20;
    background: #fff6f5;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.14);
}

.verification-form-grid input.verification-field-invalid:focus {
    border-color: #b42318;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.2);
}

.verification-live-agent-option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: #4b5563;
    font-size: 13px;
}

.verification-live-agent-option .btn-pill {
    padding: 8px 12px;
    font-size: 14px;
}

.verification-form-error {
    min-height: 18px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.4;
}

.btn-primary {
    background: #111827;
    color: #fff;
}

    .btn-primary:hover {
        background: #0b1220;
    }

@media (max-width:480px) {
    #chatPanel {
        width: 100vw;
    }
}

/* Typing indicator bubble */
.msg.typing .bubble .dots {
    letter-spacing: 4px;
    color: #6b7280; /* muted */
    font-weight: 700;
    animation: pulseDots 1.2s infinite ease-in-out;
}

@keyframes pulseDots {
    0% {
        opacity: .3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .3;
    }
}

#chatMessages .msg.loading .bubble {
    opacity: 0.8;
    font-style: italic;
}

#chatMessages .verification-status.verification-success {
    background: #e7f8ec;
    border: 1px solid #9bd4a8;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.18);
}

#chatBubble.chat-client-theme-modern {
    left: 18px;
    bottom: 18px;
    right: auto;
    min-height: 40px;
    padding: 10px 20px;
    gap: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2f82cb 0%, #266fb8 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(22, 67, 114, 0.28);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#chatBubble.chat-client-theme-modern:hover {
    background: linear-gradient(180deg, #75c3ee 0%, #63b6e6 100%);
    color: #143e67;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(22, 67, 114, 0.22);
}

#chatBubble.chat-client-theme-modern .chat-bubble-icon {
    line-height: 0;
}

#chatBubble.chat-client-theme-modern .chat-bubble-icon svg {
    width: 20px;
    height: 20px;
}

#chatBubble.chat-client-theme-modern .chat-bubble-label {
    line-height: 1;
}

#chatPanel.chat-client-theme-modern {
    top: 8px;
    left: 0;
    right: auto;
    bottom: 0;
    width: min(560px, 100vw);
    border: 0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(27, 60, 94, 0.22);
}

#chatCpniStatus {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 18px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0;
    z-index: 1001;
}

#chatCpniStatus::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

#chatPanel.chat-cpni-successful #chatCpniStatus {
    border-bottom: 1px solid #abefc6;
    background: #ecfdf3;
    color: #05603a;
}

#chatPanel.chat-cpni-successful #chatCpniStatus::before {
    content: "\2713";
    background: #17b26a;
}

#chatPanel.chat-cpni-failed #chatCpniStatus {
    border-bottom: 1px solid #fecdca;
    background: #fef3f2;
    color: #912018;
}

#chatPanel.chat-cpni-failed #chatCpniStatus::before {
    content: "!";
    background: #d92d20;
}

#chatCpniStatus[hidden] {
    display: none !important;
}

#chatPanel.chat-client-theme-modern #chatHeader {
    justify-content: flex-start;
    min-height: 56px;
    padding: 14px 22px;
    background: #2f7dbf;
    box-shadow: none;
}

#chatPanel.chat-client-theme-modern #chatMenuButton {
    top: 82px;
    border-color: #b8d5ea;
    color: #225f91;
}

#chatPanel.chat-client-theme-modern #chatHeader span {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

#chatPanel.chat-client-theme-modern #chatHeaderTitle {
    max-width: calc(100% - 72px);
    text-align: left;
}

#chatPanel.chat-client-theme-modern #chatAvailability,
#chatPanel.chat-client-theme-modern #chatStopLiveAssist,
#chatPanel.chat-client-theme-modern #chatReviewButton {
    display: none !important;
}

#chatPanel.chat-client-theme-modern #chatClose {
    top: 12px;
    right: 14px;
    color: #fff;
    padding: 4px;
}

#chatPanel.chat-client-theme-modern #chatClose svg {
    width: 28px;
    height: 28px;
}

#chatPanel.chat-client-theme-modern #chatMessages {
    padding: 22px 26px 16px;
    font-size: 17px;
    line-height: 1.35;
}

#chatPanel.chat-client-theme-modern #chatFive9Host {
    padding: 0;
}

#chatPanel.chat-client-theme-modern #chatInputRow {
    padding: 14px 24px 22px;
    border-top: 0;
    background: #fff;
}

#chatPanel.chat-client-theme-modern #chatText {
    min-height: 62px;
    padding: 0 22px;
    border: 2px solid #d0d0d0;
    border-radius: 999px;
    font-size: 16px;
}

#chatPanel.chat-client-theme-modern #chatText::placeholder {
    color: #c8ccd2;
}

@media (max-width: 700px) {
    #chatBubble.chat-client-theme-modern {
        left: 12px;
        bottom: 12px;
        right: auto;
        min-height: 36px;
        padding: 9px 16px;
        font-size: 15px;
    }

    #chatPanel.chat-client-theme-modern {
        top: 0;
        left: 0;
        right: auto;
        width: 100vw;
        border-radius: 0;
    }

    #chatPanel.chat-client-theme-modern #chatHeader {
        min-height: 52px;
        padding: 12px 16px;
    }

    #chatPanel.chat-client-theme-modern #chatHeader span {
        font-size: 21px;
    }

    #chatPanel.chat-client-theme-modern #chatMessages {
        padding: 20px 18px 14px;
        font-size: 16px;
    }

    #chatPanel.chat-client-theme-modern #chatInputRow {
        padding: 14px 16px 18px;
    }
}
