/* ARD Developer Chatbot — Bold & Vibrant Professional Design */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --ard-primary: #004e59;
    --ard-primary-light: #006d75;
    --ard-primary-lighter: #008b8b;
    --ard-accent: #00b4d8;
    --ard-bg: #f0f4f8;
    --ard-bubble-bot: #ffffff;
    --ard-bubble-user: #004e59;
    --ard-text: #1e293b;
    --ard-text-muted: #64748b;
    --ard-border: #e2e8f0;
    --ard-radius: 20px;
    --ard-radius-sm: 14px;
    --ard-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
    --ard-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --ard-font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== BASE CHATBOT CONTAINER ===== */
.ard-chatbot {
    border-radius: var(--ard-radius);
    max-width: 420px;
    background: var(--ard-bg);
    overflow: hidden;
    font-family: var(--ard-font);
    box-shadow: var(--ard-shadow);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== HEADER ===== */
.ard-chatbot__header {
    padding: 16px 18px;
    background: linear-gradient(135deg, #003840 0%, var(--ard-primary) 40%, var(--ard-primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative pattern on header */
.ard-chatbot__header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ard-chatbot__header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ard-chatbot__header-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.ard-chatbot__header-avatar svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.ard-chatbot__header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ard-chatbot__title {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ard-chatbot__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.ard-chatbot__status::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

.ard-chatbot__close {
    appearance: none;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ard-chatbot__close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.05);
}

/* ===== MESSAGES AREA ===== */
.ard-chatbot__messages {
    padding: 18px 16px;
    min-height: 280px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--ard-bg);
    scroll-behavior: smooth;
    flex: 1;
}

.ard-chatbot__messages::-webkit-scrollbar {
    width: 5px;
}

.ard-chatbot__messages::-webkit-scrollbar-track {
    background: transparent;
}

.ard-chatbot__messages::-webkit-scrollbar-thumb {
    background: #c1cdd9;
    border-radius: 10px;
}

.ard-chatbot__messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== MESSAGE BUBBLES ===== */
.ard-chatbot__msg {
    margin: 0 0 14px 0;
    line-height: 1.5;
    animation: msgSlideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

/* Bot message row with avatar */
.ard-chatbot__msg--bot {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ard-chatbot__avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ard-primary) 0%, var(--ard-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(0, 78, 89, 0.25);
}

.ard-chatbot__avatar svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.ard-chatbot__msg-content {
    max-width: calc(100% - 44px);
    min-width: 0;
    flex: 1;
}

.ard-chatbot__bubble {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 4px var(--ard-radius-sm) var(--ard-radius-sm) var(--ard-radius-sm);
    max-width: 100%;
    word-break: break-word;
    font-size: 13.5px;
    line-height: 1.65;
    position: relative;
}

/* User messages - right aligned */
.ard-chatbot__msg--user {
    text-align: right;
    display: block;
}

.ard-chatbot__msg--user .ard-chatbot__bubble {
    background: linear-gradient(135deg, var(--ard-primary) 0%, var(--ard-primary-light) 100%);
    color: #fff;
    border-radius: var(--ard-radius-sm) var(--ard-radius-sm) 4px var(--ard-radius-sm);
    box-shadow: 0 3px 12px rgba(0, 78, 89, 0.25);
}

/* Bot bubble */
.ard-chatbot__msg--bot .ard-chatbot__bubble {
    background: var(--ard-bubble-bot);
    color: var(--ard-text);
    box-shadow: var(--ard-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ===== TYPEWRITER CURSOR ===== */
.ard-chatbot__cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--ard-primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.7s steps(1) infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== THINKING INDICATOR ===== */
.ard-chatbot__thinking {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px 0;
    animation: msgSlideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ard-chatbot__thinking-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 14px 22px;
    background: var(--ard-bubble-bot);
    border-radius: 4px var(--ard-radius-sm) var(--ard-radius-sm) var(--ard-radius-sm);
    box-shadow: var(--ard-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ard-chatbot__thinking-dots span {
    width: 7px;
    height: 7px;
    background: #94a3b8;
    border-radius: 50%;
    animation: thinkingBounce 1.4s ease-in-out infinite;
}

.ard-chatbot__thinking-dots span:nth-child(1) { animation-delay: 0s; }
.ard-chatbot__thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.ard-chatbot__thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes thinkingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* Timestamp & TTS row */
.ard-chatbot__time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: var(--ard-text-muted);
    margin-top: 5px;
    padding: 0 2px;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

/* ===== QUICK ACTION BUTTONS (2-column grid, unified brand) ===== */
.ard-chatbot__quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 0 14px 0;
    animation: fadeInUp 0.4s ease;
}

.ard-chatbot__quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1.5px solid rgba(0, 78, 89, 0.15);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ard-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    font-family: inherit;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

.ard-chatbot__quick-btn:hover {
    background: var(--ard-primary);
    color: #fff;
    border-color: var(--ard-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 89, 0.3);
    text-decoration: none;
}

.ard-chatbot__quick-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 78, 89, 0.2);
}

/* All buttons share the same unified brand teal — no more rainbow */
.ard-chatbot__quick-btn--advisor,
.ard-chatbot__quick-btn--payment,
.ard-chatbot__quick-btn--visit,
.ard-chatbot__quick-btn--whatsapp {
    background: rgba(0, 78, 89, 0.04);
    border-color: rgba(0, 78, 89, 0.18);
    color: var(--ard-primary);
}

.ard-chatbot__quick-btn--advisor:hover,
.ard-chatbot__quick-btn--payment:hover,
.ard-chatbot__quick-btn--visit:hover,
.ard-chatbot__quick-btn--whatsapp:hover {
    background: var(--ard-primary);
    color: #fff;
    border-color: var(--ard-primary);
    box-shadow: 0 6px 20px rgba(0, 78, 89, 0.3);
}

/* If odd number of buttons, last one spans full width */
.ard-chatbot__quick-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* ===== INPUT FORM — Unified bar with embedded icons ===== */
.ard-chatbot__form {
    display: flex;
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid var(--ard-border);
    align-items: center;
    gap: 0;
}

.ard-chatbot__input-wrapper {
    display: flex;
    align-items: flex-end;
    flex: 1;
    background: var(--ard-bg);
    border: 1.5px solid var(--ard-border);
    border-radius: 22px;
    padding: 4px 6px 4px 16px;
    transition: all 0.2s ease;
    gap: 2px;
}

.ard-chatbot__input-wrapper:focus-within {
    border-color: var(--ard-primary-light);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 78, 89, 0.08);
}

.ard-chatbot__input {
    flex: 1;
    padding: 8px 0;
    border: none;
    border-radius: 0;
    font-size: 13.5px;
    font-family: inherit;
    background: transparent;
    color: var(--ard-text);
    min-width: 0;
    resize: none;
    overflow-y: auto;
    max-height: 100px;
    height: auto;
    line-height: 1.4;
    scrollbar-width: thin;
}

.ard-chatbot__input::placeholder {
    color: #94a3b8;
}

.ard-chatbot__input:focus {
    outline: none;
    box-shadow: none;
}

.ard-chatbot__btn-attach {
    appearance: none;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ard-chatbot__btn-attach:hover {
    color: var(--ard-primary);
    background: rgba(0, 78, 89, 0.08);
}

/* Send button — circular icon inside the input bar */
.ard-chatbot__btn {
    padding: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ard-primary) 0%, var(--ard-primary-light) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 78, 89, 0.25);
}

.ard-chatbot__btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ard-chatbot__btn:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 78, 89, 0.35);
}

.ard-chatbot__btn:active:not(:disabled) {
    transform: scale(0.95);
}

.ard-chatbot__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hide hint text */
.ard-chatbot__hint {
    display: none;
}

/* ===== MIC BUTTON (Voice Input — inside unified bar) ===== */
.ard-chatbot__mic {
    appearance: none;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
}

.ard-chatbot__mic:hover {
    color: var(--ard-primary);
    background: rgba(0, 78, 89, 0.06);
}

.ard-chatbot__mic-icon {
    width: 17px;
    height: 17px;
}

/* Recording state */
.ard-chatbot__mic.is-recording {
    color: #fff;
    background: #ef4444;
    animation: micPulse 1s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
}

.ard-chatbot__mic.is-recording:hover {
    background: #dc2626;
    color: #fff;
}

@keyframes micPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Hide mic when speech recognition is not supported */
.ard-chatbot__mic.is-hidden {
    display: none;
}

/* ===== TTS SPEAKER ICON ON BOT MESSAGES ===== */
.ard-chatbot__tts-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ard-text-muted);
    cursor: pointer;
    padding: 3px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    vertical-align: middle;
    opacity: 0.7;
}

.ard-chatbot__tts-btn:hover {
    color: var(--ard-primary);
    background: rgba(0, 78, 89, 0.08);
    opacity: 1;
}

.ard-chatbot__tts-btn.is-speaking {
    color: var(--ard-primary);
    opacity: 1;
    animation: ttsPulse 1.2s ease-in-out infinite;
}

@keyframes ttsPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ard-chatbot__tts-btn svg {
    width: 14px;
    height: 14px;
}

/* ===== FLOATING WIDGET ===== */
.ard-chatbot-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    font-family: var(--ard-font);
}

.ard-chatbot-float__toggle {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    border: 0;
    background: linear-gradient(135deg, var(--ard-primary) 0%, var(--ard-primary-light) 100%);
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 78, 89, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: visible;
}

.ard-chatbot-float__toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    border-radius: 18px;
}

/* Elegant pulsing glow when chat is closed */
.ard-chatbot-float:not(.is-open) .ard-chatbot-float__toggle::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: transparent;
    border: 2px solid rgba(0, 109, 117, 0.5);
    animation: elegantPulse 2.5s ease-in-out infinite;
}

@keyframes elegantPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
        border-color: rgba(0, 109, 117, 0.5);
    }
    50% {
        transform: scale(1.12);
        opacity: 0;
        border-color: rgba(0, 109, 117, 0);
    }
    100% {
        transform: scale(1);
        opacity: 0;
        border-color: rgba(0, 109, 117, 0);
    }
}

/* Second pulse ring */
.ard-chatbot-float:not(.is-open) .ard-chatbot-float__icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    background: transparent;
    border: 2px solid rgba(0, 109, 117, 0.3);
    animation: elegantPulse 2.5s ease-in-out 0.6s infinite;
}

.ard-chatbot-float__toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(0, 78, 89, 0.55);
}

.ard-chatbot-float__toggle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 78, 89, 0.25), 0 8px 30px rgba(0, 78, 89, 0.45);
}

.ard-chatbot-float__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ard-chatbot-float__icon svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
}

/* Panel positioning */
.ard-chatbot-float__panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 74px;
    animation: slideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ard-chatbot-float.is-open .ard-chatbot-float__panel {
    display: block;
}

.ard-chatbot-float .ard-chatbot {
    width: 400px;
    max-width: calc(100vw - 48px);
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 768px) {
    .ard-chatbot-float .ard-chatbot {
        width: 380px;
        max-width: calc(100vw - 40px);
    }
}

/* ===== RESPONSIVE — MOBILE (75% height) ===== */
@media (max-width: 480px) {
    .ard-chatbot-float {
        right: 12px;
        bottom: 12px;
    }

    .ard-chatbot-float__toggle {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .ard-chatbot-float__toggle::before {
        border-radius: 16px;
    }

    .ard-chatbot-float:not(.is-open) .ard-chatbot-float__toggle::after {
        border-radius: 20px;
    }

    .ard-chatbot-float:not(.is-open) .ard-chatbot-float__icon::after {
        border-radius: 24px;
    }

    .ard-chatbot-float__icon svg {
        width: 24px;
        height: 24px;
    }

    /* Panel positioned above the toggle icon, right-aligned */
    .ard-chatbot-float__panel {
        position: absolute;
        bottom: 66px;
        right: 0;
        left: auto;
        top: auto;
        width: 70vw;
        max-width: 400px;
        height: 67vh;
        overflow: hidden;
        animation: slideUpMobile 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 100000;
    }

    @keyframes slideUpMobile {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .ard-chatbot-float .ard-chatbot {
        width: 100%;
        max-width: 100%;
        height: 100%;
        border-radius: 20px;
        box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .ard-chatbot__header {
        padding: 14px 16px;
        border-radius: 20px 20px 0 0;
        flex-shrink: 0;
    }

    .ard-chatbot__header-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 10px;
    }

    .ard-chatbot__header-avatar svg {
        width: 20px;
        height: 20px;
    }

    .ard-chatbot__title {
        font-size: 14px;
    }

    .ard-chatbot__status {
        font-size: 11px;
    }

    .ard-chatbot__messages {
        min-height: 0;
        max-height: none;
        flex: 1;
        overflow-y: auto;
        padding: 14px 12px;
    }

    .ard-chatbot__bubble {
        font-size: 13px;
        padding: 10px 14px;
    }

    .ard-chatbot__quick-actions {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 6px 0 10px 0;
    }

    .ard-chatbot__quick-btn {
        font-size: 12px;
        padding: 9px 12px;
        white-space: normal;
        justify-content: flex-start;
    }

    .ard-chatbot__form {
        padding: 8px 10px;
        flex-shrink: 0;
    }

    .ard-chatbot__input-wrapper {
        padding: 3px 5px 3px 14px;
    }

    .ard-chatbot__input {
        padding: 7px 0;
        font-size: 13px;
    }

    .ard-chatbot__btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .ard-chatbot__btn svg {
        width: 14px;
        height: 14px;
    }

    .ard-chatbot__mic {
        width: 32px;
        height: 32px;
    }

    .ard-chatbot__mic-icon {
        width: 15px;
        height: 15px;
    }

    .ard-chatbot__avatar {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 8px;
    }

    .ard-chatbot__avatar svg {
        width: 15px;
        height: 15px;
    }

    .ard-chatbot__msg {
        margin: 0 0 10px 0;
    }

    .ard-chatbot__time {
        font-size: 10px;
    }

    /* Backdrop overlay on mobile */
    .ard-chatbot-float.is-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 99999;
        animation: fadeIn 0.25s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

/* ===== SMALL MOBILE (< 360px) ===== */
@media (max-width: 360px) {
    .ard-chatbot__header-avatar {
        display: none;
    }

    .ard-chatbot__title {
        font-size: 13.5px;
    }

    .ard-chatbot__bubble {
        font-size: 12.5px;
        padding: 9px 12px;
    }

    .ard-chatbot__quick-actions {
        grid-template-columns: 1fr;
    }

    .ard-chatbot__btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .ard-chatbot__btn svg {
        width: 13px;
        height: 13px;
    }
}
