﻿:root {
    --color-primary: #1b5298;
    --color-secondary: #009fe3;
    --color-bg: #f5f5f5;
    --color-text: #00335d;
    --color-light: #ffffff;
}


body, .chat-window, .chat-widget, .message, .chat-input input, .quick-reply {
    font-family: 'Ubuntu', sans-serif;
}

/* ── Disclaimer Banner ── */
.disclaimer-banner {
    position: relative;
    background: linear-gradient(135deg, #003087 0%, #0056b3 100%);
    color: #f0f0f0;
    padding: 5px 40px 5px 10px;
    font-size: 10.5px;
    line-height: 1.45;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

    .disclaimer-banner.collapsed .disclaimer-content {
        max-height: 16px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: clip;
        -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
        mask-image: linear-gradient(to right, black 70%, transparent 100%);
    }

    .disclaimer-banner.expanded .disclaimer-content {
        max-height: 140px;
        overflow-y: auto;
        white-space: normal;
        -webkit-mask-image: none;
        mask-image: none;
    }

.disclaimer-content {
    transition: max-height 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.25) transparent;
}

    .disclaimer-content a {
        color: #7ec8ff;
        text-decoration: underline;
        font-weight: 600;
    }

        .disclaimer-content a:hover {
            color: #b3dfff;
            opacity: 1;
        }

.disclaimer-toggle {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    width: 20px;
    height: 20px;
    font-size: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
    padding: 0;
    color: white;
}

    .disclaimer-toggle:hover {
        background: rgba(255,255,255,0.3);
    }

/* dark mode */
.chat-window.dark .disclaimer-banner {
    background: background: #1b5298;
    border-bottom-color: rgba(255,255,255,0.08);
}
    .message :not(pre) > code {
        padding: 2px 6px;
        border-radius: 8px;
        background: rgba(0,0,0,0.06);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-size: 0.95em;
    }

    .message pre {
        margin: 8px 0;
        padding: 10px 12px;
        border-radius: 12px;
        overflow-x: auto;
        background: rgba(0,0,0,0.06);
    }

        .message pre code {
            background: transparent;
            padding: 0;
        }

    .chat-window.dark .message :not(pre) > code,
    .chat-window.dark .message pre {
        background: rgba(255,255,255,0.08);
    }

    .message p {
        margin: 6px 0;
    }

    .message ul, .message ol {
        margin: 6px 0;
        padding-left: 20px;
    }

    .message li {
        margin: 3px 0;
    }

        .message li:empty {
            display: none;
        }

        .message li > p:empty {
            display: none;
        }

        .message li:has(> p:only-child:empty) {
            display: none;
        }

.message {
    max-width: 82%;
    overflow-wrap: anywhere;
}


    .message a {
        color: var(--color-primary);
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
        cursor: pointer;
    }

        .message a:hover,
        .message a:focus-visible {
            color: var(--color-secondary);
            text-decoration-thickness: 3px;
            outline: none;
        }

.chat-window.dark .message a {
    color: #8cc8ff;
}

    .chat-window.dark .message a:hover,
    .chat-window.dark .message a:focus-visible {
        color: #b7e0ff;
    }


.rating-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 6px;
}

.rating-inline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 13px;
}

.rating-question {
    color: var(--color-primary);
    font-weight: 500;
    white-space: nowrap;
}

.rating-inline .star {
    cursor: pointer;
    padding: 0 2px;
    font-size: 16px;
    color: var(--color-primary);
    transition: color 0.2s ease, transform 0.1s ease;
}

    .rating-inline .star.selected {
        color: #f5c518;
        transform: scale(1.05);
    }

.rating-thanks {
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 500;
    text-align: right;
}

.chat-window.dark .rating-question {
    color: #ffffff;
}

.chat-window.dark .rating-thanks {
    color: #ffffff;
}

.chat-window.dark .rating-inline .star {
    color: #888;
}

    .chat-window.dark .rating-inline .star.selected {
        color: #f5c518;
    }

.chat-feedback-bar {
    padding: 6px 12px;
    background-color: var(--color-bg);
}

.chat-window.dark .chat-feedback-bar {
    background-color: #0f1d30;
    color: #ffffff;
}

.a11y-high-contrast .chat-feedback-bar {
    background-color: #000 !important;
    color: #00aaff !important;
    border-top: none !important;
}

    .a11y-high-contrast .chat-feedback-bar .star {
        color: #00aaff !important;
    }

    .a11y-high-contrast .chat-feedback-bar .rating-question,
    .a11y-high-contrast .chat-feedback-bar .rating-thanks {
        color: #00aaff !important;
    }

    .a11y-high-contrast .chat-feedback-bar .star.selected {
        font-weight: 900;
        transform: scale(1.2);
    }


.a11y-negative-contrast .chat-feedback-bar {
    background-color: #000 !important;
    color: #ffeb00 !important;
    border-top: none !important;
}

    .a11y-negative-contrast .chat-feedback-bar .star {
        color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-feedback-bar .rating-question,
    .a11y-negative-contrast .chat-feedback-bar .rating-thanks {
        color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-feedback-bar .star.selected {
        font-weight: 900;
        transform: scale(1.2);
    }


/* LIGHT BACKGROUND */
.a11y-light-background .chat-feedback-bar {
    background-color: #fff !important;
    color: #000 !important;
    border-top: none !important;
}

    .a11y-light-background .chat-feedback-bar .star {
        color: #000 !important;
    }

    .a11y-light-background .chat-feedback-bar .rating-question,
    .a11y-light-background .chat-feedback-bar .rating-thanks {
        color: #000 !important;
    }

    .a11y-light-background .chat-feedback-bar .star.selected {
        font-weight: 900;
        transform: scale(1.2);
    }


.chat-widget {
    /* Layout */
    display: flex;
    align-items: center;
    gap: 0.6em;
    /* Shape */
    border: none;
    border-radius: 50px; /* Full pill shape */
    padding: 0.75em 1.5em 0.75em 1.1em;
    /* Gradient background */
    background: linear-gradient(135deg, #1a3a6b 0%, #2563eb 100%);
    /* Depth & glow */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.30), 0 0 0 0 rgba(37, 99, 235, 0); /* glow starts transparent */
    /* Interaction */
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    overflow: hidden;
    isolation: isolate;
}

    /* Hover: lift + blue outer glow */
    .chat-widget:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.30), 0 0 18px 4px rgba(37, 99, 235, 0.45);
    }

    /* Active: press down */
    .chat-widget:active {
        transform: translateY(0px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }

    /* Emoji icon sizing */
    .chat-widget .emoji {
        width: 1.3em;
        height: 1.3em;
        flex-shrink: 0;
    }

/* Text container: stack the two lines */
.chat-widget__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    color: #ffffff;
    text-align: left;
}

/* First line: lighter weight */
.chat-widget__question {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.88;
    letter-spacing: 0.01em;
}

/* Second line: bold + uppercase */
.chat-widget__cta {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
 

.input-row.input-overlay {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-row.input-overlay input {
        position: relative;
        z-index: 2;
        background-color: transparent;
        color: #000;
        width: 100%;
    }

    .input-row.input-overlay .overlay-text {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-style: italic;
        pointer-events: none;
        z-index: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 2.5rem);
        opacity: 0.7;
    }
.chat-window {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--color-light);
    border-radius: 18px;
    border: 1px solid #dce3ed;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard */
}


    .chat-window.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        display: flex;
    }

.chat-header {
    background: #fff;
    color: var(--color-primary);
    padding: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    border-bottom: 1px solid #dce3ed;
    font-size: 0.8rem;
    pointer-events: auto;
    user-select: none;
    caret-color: transparent;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .chat-header-left img {
        height: 28px;
        flex-shrink: 0;
    }

    .chat-header-left span {
        font-size: 13px;
        font-weight: 600;
        color: var(--color-primary);
    }

.chat-header-buttons {
    display: flex;
    align-items: center;
}

    .chat-header-buttons span {
        cursor: pointer;
        color: var(--color-primary);
        transition: transform 0.2s ease-in-out, color 0.2s;
        font-size: 22px;
        line-height: 1;
        padding: 2px;
    }

        .chat-header-buttons span:hover {
            transform: rotate(20deg);
            color: var(--color-secondary);
        }

.chat-body {
    flex: 1;
    padding: 16px;
    background: var(--color-bg);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

.message {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.875rem;
    line-height: 1.4;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .message.user {
        background: var(--color-primary);
        color: white;
        align-self: flex-end;
        border-bottom-right-radius: 4px;
    }

    .message.bot {
        background: #e8f3fb;
        color: var(--color-text);
        align-self: flex-start;
        border-bottom-left-radius: 4px;
    }

.chat-input {
    display: flex;
    flex-direction: column;
    background: #f9fbfd;
    border-top: 1px solid #dce3ed;
    padding: 16px;
    gap: 12px;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 6px 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: border-color 0.2s ease;
}

    .input-row:focus-within {
        border-color: var(--color-primary);
    }

    .input-row input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 10px 12px;
        font-size: 0.95rem;
        color: var(--color-text);
        outline: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .input-row input::placeholder {
            color: #94a3b8;
        }

    .input-row button {
        border: 1px solid #1b5298;
        color: #1b5298;
        border-radius: 8px;
        width: 46px;
        height: 46px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
        transition: all 0.25s ease;
    }

        .input-row button:hover {
            transform: translateY(-1px);
        }

    .chat-window.dark .input-row button {
        background: transparent;
        color: #ffffff;
        border: 1px solid #5f7ca4;
        box-shadow: none;
    }

    .chat-window.dark .input-row button:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-1px);
    }

.chat-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    cursor: default;
    pointer-events: none;
}

.mic-btn, .auto-send {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 12px;
    padding: 7px 14px; 
    font-size: 0.95rem;

    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background: #e8f1fa;
    color: #004b8d;
    border: 1px solid #bcd4ef;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.mic-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mic-row {
    display: flex;
    gap: 10px;
}

.auto-send-full {
    width: 100%;
    justify-content: center;
}


.mic-btn {
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background: #1b5298;
    color: white;
}

    .mic-btn:hover {
        transform: translateY(-1px);
    }

.auto-send {
    background: #e8f1fa;
    color: #004b8d;
    border: 1px solid #bcd4ef;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

    .auto-send:hover {
        background: #d7e8fb;
    }

    .auto-send input {
        width: 16px;
        height: 16px;
        accent-color: var(--color-primary);
        margin: 0;
    }

.mic-on {
    background-color: #e74c3c; /* roșu – activ */
    color: #fff;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
}

.mic-off {
    color: #fff;
}

.chat-window.dark {
    background-color: #0f1d30;
    border: 1px solid #1e3a5f;
    color: #e2e8f0;
}

    .chat-window.dark .chat-header {
        background: #ffffff;
        color: #0057a4;
        border-bottom: 1px solid #1e3a5f;
    }

    .chat-window.dark .chat-body {
        background-color: #0f1d30;
    }

    .chat-window.dark .message.bot {
        background: #1f2f46;
        color: #e8f3fb;
    }

    .chat-window.dark .message.user {
        color: #fff;
    }

    .chat-window.dark .chat-input {
        background-color: #162234;
        border-top: 1px solid #2c3e50;
    }

    .chat-window.dark .input-row {
        background: #1e2b3c;
        border-color: #334155;
    }

        .chat-window.dark .input-row input {
            color: #e2e8f0;
        }

    .chat-window.dark .auto-send {
        background: #e8f1fa;
        color: black;
        border-color: #334155;
    }

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: none;
    color: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    transition: background 0.2s;
}

    .lang-btn:hover {
        background: rgba(0, 0, 0, 0.05);
    }

.lang-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 140px;
    background: var(--chat-bg, #fff);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    z-index: 10;
}

.lang-dropdown:hover .lang-menu {
    display: flex;
}

.lang-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

    .lang-item:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .lang-item.active {
        background: #0061a8;
        color: #fff;
        font-weight: 600;
    }

.lang-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .lang-select-wrapper::before {
        content: "🌐";
        position: absolute;
        left: 6px;
        font-size: 0.9rem;
        opacity: 0.8;
        pointer-events: none;
    }

    .lang-select-wrapper::after {
        content: "▾";
        position: absolute;
        right: 20px;
        font-size: 1rem;
        color: #444;
        pointer-events: none;
        transition: transform 0.2s ease;
    }

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f8fafc;
    border: 1px solid #cfd5de;
    border-radius: 20px;
    padding: 6px 34px 7px 26px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #00335d;
    cursor: pointer;
    transition: all 0.25s ease;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='10' width='10' viewBox='0 0 20 20'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}

    .lang-select:hover {
        background-color: #edf1f7;
        border-color: #b4bfd1;
    }

    .lang-select:focus {
        outline: none;
        border-color: #0078d7;
        box-shadow: 0 0 0 3px rgba(0,120,215,0.15);
    }

.chat-window.dark .lang-select-wrapper::before {
    content: "🌐";
    color: #ccc;
}

/* Typing indicator animation */
.typing-indicator-message {
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    max-width: fit-content;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 20px;
}

    .typing-dots span {
        width: 8px;
        height: 8px;
        background-color: #000000;
        border-radius: 50%;
        display: inline-block;
        animation: typing-bounce 1.4s infinite ease-in-out both;
    }

        .typing-dots span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .typing-dots span:nth-child(2) {
            animation-delay: -0.16s;
        }

        .typing-dots span:nth-child(3) {
            animation-delay: 0s;
        }

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Dark mode support */
.chat-window.dark .typing-indicator-message {
    background-color: #343a40;
}

.chat-window.dark .typing-dots span {
    background-color: #adb5bd;
}


@media (max-width: 600px) {
    .chat-window {
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: var(--color-light);
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        opacity: 0;
        transform: translateY(30px);
        pointer-events: none;
        transition: all 0.3s ease-in-out;
        z-index: 2000;
    }


    .chat-body {
        height: calc(100vh - 160px) !important;
    }

    .chat-header-left .chat-title {
        display: none !important;
    }
}

.a11y-grayscale .chat-window::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: grayscale(100%);
    pointer-events: none;
    z-index: 999999;
}

.a11y-high-contrast .chat-window {
    background-color: #000 !important;
    color: #fff !important;
    border: 2px solid #00aaff !important;
}

    .a11y-high-contrast .chat-window p,
    .a11y-high-contrast .chat-window span,
    .a11y-high-contrast .chat-window div,
    .a11y-high-contrast .chat-window label {
        color: #ffffff !important;
    }

    .a11y-high-contrast .chat-window .message.bot {
        background-color: #000 !important;
        color: #ffffff !important;
        border: 1px solid #00aaff !important;
    }

    .a11y-high-contrast .chat-window .message.user {
        background-color: #000 !important;
        color: #ffffff !important;
        border: 1px solid #ffffff !important;
    }

    .a11y-high-contrast .chat-window a {
        color: #00aaff !important;
        text-decoration: underline !important;
    }
    .a11y-high-contrast .chat-window .input-row {
        background-color: #000 !important;
        border: 2px solid #00aaff !important;
    }

    .a11y-high-contrast .chat-window input {
        background-color: #000 !important;
        color: #ffffff !important;
    }
    .a11y-high-contrast .chat-window button,
    .a11y-high-contrast .chat-window .mic-btn,
    .a11y-high-contrast .chat-window .auto-send {
        background-color: #000 !important;
        color: #00aaff !important;
        border: 2px solid #00aaff !important;
    }
    .a11y-high-contrast .chat-window input[type="checkbox"] {
        accent-color: #00aaff !important;
    }
    .a11y-high-contrast .chat-window .chat-header {
        background-color: #000 !important;
        color: #00aaff !important;
        border-bottom: 2px solid #00aaff !important;
    }

    .a11y-high-contrast .chat-window .lang-btn,
    .a11y-high-contrast .chat-window .lang-select {
        color: #00aaff !important;
        border: 2px solid #00aaff !important;
        background-color: #000 !important;
    }
    .a11y-high-contrast .chat-window .lang-select-wrapper::after {
        color: #00aaff !important;
    }

    .a11y-high-contrast .chat-window .chat-body,
    .a11y-high-contrast .chat-window .chat-input,
    .a11y-high-contrast .chat-window .chat-header {
        background-color: #000 !important;
        color: #ffffff !important;
        border-top: 2px solid #00aaff !important;
    }

.a11y-high-contrast .typing-indicator-message {
    background-color: #000 !important;
    border: 2px solid #00aaff !important;
}

.a11y-high-contrast .typing-dots span {
    background-color: #00aaff !important;
    opacity: 1 !important;
    animation: typing-bounce-hc 1.4s infinite ease-in-out both !important;
}

.a11y-negative-contrast .typing-dots span {
    background-color: white !important;
}

.a11y-negative-contrast .chat-window {
    background-color: #000 !important;
    color: #ffeb00 !important;
}

    .a11y-negative-contrast .chat-window .chat-header {
        background-color: #000 !important;
        color: #ffeb00 !important;
      border-bottom: 2px solid #ffffff !important;
    }

    .a11y-negative-contrast .chat-window .chat-body {
        background-color: #000 !important;
    }

    .a11y-negative-contrast .chat-window .message.bot,
    .a11y-negative-contrast .chat-window .message.user {
        background-color: #000 !important;
        color: #ffeb00 !important;
       border: 1px solid #ffffff !important;
    }

    .a11y-negative-contrast .chat-window p,
    .a11y-negative-contrast .chat-window span,
    .a11y-negative-contrast .chat-window div,
    .a11y-negative-contrast .chat-window label {
        color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window .input-row {
        background-color: #000 !important;
    }

    .a11y-negative-contrast .chat-window input {
        background-color: #000 !important;
        color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window button,
    .a11y-negative-contrast .chat-window .mic-btn,
    .a11y-negative-contrast .chat-window .auto-send {
        background-color: #000 !important;
        color: #ffeb00 !important;
        border: 2px solid #ffffff !important;
    }

    .a11y-negative-contrast .chat-window input[type="checkbox"] {
        accent-color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window .lang-btn,
    .a11y-negative-contrast .chat-window .lang-select {
        background-color: #000 !important;
        color: #ffeb00 !important;
       border: 2px solid #ffffff !important;
    }

    .a11y-negative-contrast .chat-window .lang-select-wrapper::before,
    .a11y-negative-contrast .chat-window .lang-select-wrapper::after {
        color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window a {
        color: #ffeb00 !important;
        text-decoration: underline !important;
    }

    .a11y-negative-contrast .chat-window .chat-input {
        background-color: #000 !important;
        border-top: 2px solid #ffeb00 !important;
    }

.a11y-negative-contrast .chat-window {
    background-color: #000 !important;
    color: #ffeb00 !important;
   border: 2px solid #ffeb00 !important;
}

    .a11y-negative-contrast .chat-window p,
    .a11y-negative-contrast .chat-window span,
    .a11y-negative-contrast .chat-window div,
    .a11y-negative-contrast .chat-window label {
        color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window .chat-header {
        background-color: #000 !important;
        color: #ffeb00 !important;
        border-bottom: 2px solid #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window .message.bot,
    .a11y-negative-contrast .chat-window .message.user {
        background-color: #000 !important;
        color: #ffeb00 !important;
       border: 1px solid #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window a {
        color: #ffeb00 !important;
        text-decoration: underline !important;
    }

    .a11y-negative-contrast .chat-window .input-row {
        background-color: #000 !important;
        border: 2px solid #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window input {
        background-color: #000 !important;
        color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window button,
    .a11y-negative-contrast .chat-window .mic-btn,
    .a11y-negative-contrast .chat-window .auto-send {
        background-color: #000 !important;
        color: #ffeb00 !important;
        border: 2px solid #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window input[type="checkbox"] {
        accent-color: #ffeb00 !important;
    }

    .a11y-negative-contrast .chat-window .lang-btn,
    .a11y-negative-contrast .chat-window .lang-select {
        color: #ffeb00 !important;
        border: 2px solid #ffeb00 !important;
        background-color: #000 !important;
    }

    .a11y-negative-contrast .chat-window .lang-select-wrapper::before,
    .a11y-negative-contrast .chat-window .lang-select-wrapper::after {
        color: #ffeb00 !important;
    }

.a11y-light-background .chat-window {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}

    .a11y-light-background .chat-window .chat-header {
        background-color: #ffffff !important;
        color: #000000 !important;
        border-bottom: 2px solid #000000 !important;
    }

    .a11y-light-background .chat-window .chat-body {
        background-color: #ffffff !important;
    }

    .a11y-light-background .chat-window .message.bot,
    .a11y-light-background .chat-window .message.user {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
    }

    .a11y-light-background .chat-window p,
    .a11y-light-background .chat-window span,
    .a11y-light-background .chat-window div,
    .a11y-light-background .chat-window label {
        color: #000000 !important;
    }

    .a11y-light-background .chat-window a {
        color: #000000 !important;
        text-decoration: underline !important;
    }

    .a11y-light-background .chat-window .chat-input {
        background-color: #ffffff !important;
        border-top: 2px solid #000000 !important;
    }

    .a11y-light-background .chat-window .input-row {
        background-color: #ffffff !important;
        border: 2px solid #000000 !important;
    }

    .a11y-light-background .chat-window input {
        background-color: #ffffff !important;
        color: #000000 !important;
    }

        .a11y-light-background .chat-window input::placeholder {
            color: #000000 !important;
            opacity: 0.6;
        }

    .a11y-light-background .chat-window button,
    .a11y-light-background .chat-window .mic-btn,
    .a11y-light-background .chat-window .auto-send {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
    }

    .a11y-light-background .chat-window input[type="checkbox"] {
        accent-color: #000000 !important;
    }

    .a11y-light-background .chat-window .lang-btn,
    .a11y-light-background .chat-window .lang-select {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
    }

    .a11y-light-background .chat-window .lang-select-wrapper::before,
    .a11y-light-background .chat-window .lang-select-wrapper::after {
        color: #000000 !important;
    }

    .a11y-light-background .disclaimer-banner {
        background: #ffffff !important;
        border-bottom: 1px solid #000000 !important;
        color: #000000 !important;
    }

.a11y-readable-font .chat-window *:not(i):not(span) {
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
}
.a11y-links-underline .chat-window a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

/*.chat-window,
.chat-window * {
    font-size: inherit;
}*/

body.pojo-a11y-resize-font-110 {
    font-size: 110%;
}

body.pojo-a11y-resize-font-120 {
    font-size: 120%;
}

body.pojo-a11y-resize-font-130 {
    font-size: 130%;
}

@keyframes typing-bounce-hc {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.8;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.ssl-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    white-space: nowrap;
    margin-right:5px
}

.ssl-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ssl-icon svg {
        width: 18px;
        height: 18px;
        fill: #1b5298; 
    }

.ssl-text {
    font-size: 8px; 
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #6b7280; 
    line-height: 1;
    margin-top:4px;
}

.gdpr-icon {
    height: 18px;
    width: auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0.7;
}

.chat-window.dark .ssl-icon {
    opacity: 0.6;
}
.chat-header-buttons img.ssl-icon {
    flex-shrink: 0;
}