/* ═══════════════════════════════════════════════════════════════════
   AIRCAN AI CHAT — Premium Floating Chat Widget
   Glassmorphism · 2026 Design · Responsive
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
    --ac-chat-primary: #0084ff;
    --ac-chat-primary-soft: rgba(0, 132, 255, 0.12);
    --ac-chat-primary-glow: rgba(0, 132, 255, 0.35);
    --ac-chat-bg: rgba(10, 14, 26, 0.92);
    --ac-chat-bg-solid: #0c1120;
    --ac-chat-surface: rgba(22, 30, 50, 0.85);
    --ac-chat-surface-hover: rgba(30, 42, 68, 0.9);
    --ac-chat-border: rgba(255, 255, 255, 0.07);
    --ac-chat-border-focus: rgba(0, 132, 255, 0.4);
    --ac-chat-text: #e8ecf2;
    --ac-chat-text-muted: #8b95a8;
    --ac-chat-text-dim: #5a6478;
    --ac-chat-user-bg: linear-gradient(135deg, #0070e0 0%, #0050b0 100%);
    --ac-chat-ai-bg: rgba(28, 38, 62, 0.7);
    --ac-chat-whatsapp: #25d366;
    --ac-chat-radius: 20px;
    --ac-chat-radius-sm: 14px;
    --ac-chat-radius-xs: 10px;
    --ac-chat-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 8px 32px rgba(0, 0, 0, 0.35);
    --ac-chat-transition: cubic-bezier(0.22, 1, 0.36, 1);
    --ac-chat-z: 9999;
    --ac-chat-width: 400px;
    --ac-chat-height: 600px;
    --ac-chat-bottom: 24px;
    --ac-chat-right: 24px;
}

/* ── Floating Trigger Button ───────────────────────────────────── */
.ac-chat-trigger {
    position: fixed;
    bottom: var(--ac-chat-bottom);
    right: var(--ac-chat-right);
    z-index: var(--ac-chat-z);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0084ff 0%, #0060cc 100%);
    color: #fff;
    font-size: 1.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 24px rgba(0, 132, 255, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.35s var(--ac-chat-transition),
                box-shadow 0.35s ease,
                opacity 0.3s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.ac-chat-trigger::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.3), rgba(0, 80, 200, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: ac-chat-pulse-ring 3s ease-in-out infinite;
}

.ac-chat-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 10px 36px rgba(0, 132, 255, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.35);
}

.ac-chat-trigger:hover::before {
    opacity: 1;
}

.ac-chat-trigger:active {
    transform: scale(0.96);
}

.ac-chat-trigger .ac-chat-icon,
.ac-chat-trigger .ac-chat-close-icon {
    position: absolute;
    transition: transform 0.4s var(--ac-chat-transition),
                opacity 0.3s ease;
}

.ac-chat-trigger .ac-chat-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.ac-chat-trigger .ac-chat-close-icon {
    transform: scale(0.3) rotate(-90deg);
    opacity: 0;
}

.ac-chat-trigger.active .ac-chat-icon {
    transform: scale(0.3) rotate(90deg);
    opacity: 0;
}

.ac-chat-trigger.active .ac-chat-close-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

/* Notification badge */
.ac-chat-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff3b5c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 59, 92, 0.5);
    transition: transform 0.3s var(--ac-chat-transition), opacity 0.3s ease;
    animation: ac-chat-badge-bounce 2s ease-in-out infinite;
}

.ac-chat-trigger.active .ac-chat-badge {
    transform: scale(0);
    opacity: 0;
}

@keyframes ac-chat-pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.12); opacity: 0.7; }
}

@keyframes ac-chat-badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ── Chat Window Container ─────────────────────────────────────── */
.ac-chat-window {
    position: fixed;
    bottom: calc(var(--ac-chat-bottom) + 76px);
    right: var(--ac-chat-right);
    z-index: var(--ac-chat-z);
    width: var(--ac-chat-width);
    height: var(--ac-chat-height);
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    border-radius: var(--ac-chat-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--ac-chat-bg);
    backdrop-filter: blur(40px) saturate(1.3);
    -webkit-backdrop-filter: blur(40px) saturate(1.3);
    border: 1px solid var(--ac-chat-border);
    box-shadow: var(--ac-chat-shadow);
    transform-origin: bottom right;
    transition: transform 0.45s var(--ac-chat-transition),
                opacity 0.35s ease;
    pointer-events: none;
    transform: scale(0.4) translateY(30px);
    opacity: 0;
    visibility: hidden;
}

.ac-chat-window.open {
    pointer-events: auto;
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* ── Header ────────────────────────────────────────────────────── */
.ac-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(16, 24, 44, 0.95) 0%, rgba(12, 17, 32, 0.92) 100%);
    border-bottom: 1px solid var(--ac-chat-border);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.ac-chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 132, 255, 0.25), transparent);
}

.ac-chat-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef4ff 70%, #dce8fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 4px 16px rgba(0, 132, 255, 0.2),
        0 0 0 1.5px rgba(0, 132, 255, 0.15);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 5px;
}

.ac-chat-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Sheen animation on header avatar */
.ac-chat-header-avatar::before {
    content: '';
    position: absolute;
    inset: -20% -40%;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(0, 132, 255, 0.12) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(0, 132, 255, 0.1) 55%,
        transparent 68%
    );
    transform: translateX(-160%) skewX(-18deg);
    z-index: 2;
    pointer-events: none;
    animation: ac-avatar-sheen 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ac-avatar-sheen {
    0%, 65% { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
    70% { opacity: 0.6; }
    80% { transform: translateX(160%) skewX(-18deg); opacity: 0.9; }
    88%, 100% { transform: translateX(160%) skewX(-18deg); opacity: 0; }
}

.ac-chat-header-avatar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #3ddc84;
    border: 2.5px solid var(--ac-chat-bg-solid);
    box-shadow: 0 0 8px rgba(61, 220, 132, 0.5);
    z-index: 3;
}

.ac-chat-header-info {
    flex: 1;
    min-width: 0;
}

.ac-chat-header-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.ac-chat-header-status {
    font-size: 0.72rem;
    color: #3ddc84;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ac-chat-header-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3ddc84;
    animation: ac-chat-status-pulse 2s ease-in-out infinite;
}

@keyframes ac-chat-status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.ac-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ac-chat-header-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--ac-chat-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.ac-chat-header-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-1px);
}

.ac-chat-header-btn:active {
    transform: scale(0.92);
}

.ac-chat-header-btn.ac-chat-btn-restart:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* ── Messages Area ─────────────────────────────────────────────── */
.ac-chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 80, 200, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(60, 60, 180, 0.03) 0%, transparent 50%);
}

/* Scrollbar */
.ac-chat-messages::-webkit-scrollbar {
    width: 5px;
}

.ac-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ac-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.ac-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ── Message Bubbles ───────────────────────────────────────────── */
.ac-chat-msg {
    display: flex;
    gap: 10px;
    max-width: 88%;
    animation: ac-chat-msg-in 0.4s var(--ac-chat-transition) both;
}

.ac-chat-msg.ac-msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ac-chat-msg.ac-msg-ai {
    align-self: flex-start;
}

@keyframes ac-chat-msg-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ac-chat-msg-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: 2px;
    overflow: hidden;
}

.ac-msg-ai .ac-chat-msg-avatar {
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef4ff 70%, #dce8fc 100%);
    box-shadow: 0 2px 10px rgba(0, 80, 200, 0.1), 0 0 0 1px rgba(0, 132, 255, 0.12);
    padding: 4px;
}

.ac-msg-ai .ac-chat-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ac-msg-user .ac-chat-msg-avatar {
    background: linear-gradient(135deg, #0084ff 0%, #0060cc 100%);
    color: #fff;
}

.ac-chat-msg-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--ac-chat-text);
    word-break: break-word;
    position: relative;
}

.ac-msg-ai .ac-chat-msg-bubble {
    background: var(--ac-chat-ai-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 6px;
    backdrop-filter: blur(8px);
}

.ac-msg-user .ac-chat-msg-bubble {
    background: var(--ac-chat-user-bg);
    color: #fff;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 100, 220, 0.25);
}

/* Formatted content inside AI messages */
.ac-chat-msg-bubble strong {
    color: var(--ac-chat-primary);
    font-weight: 700;
}

.ac-msg-user .ac-chat-msg-bubble strong {
    color: #fff;
}

.ac-chat-msg-bubble .ac-msg-section-title {
    display: block;
    font-weight: 700;
    color: var(--ac-chat-primary);
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 0.88rem;
}

.ac-chat-msg-bubble .ac-msg-section-title:first-child {
    margin-top: 0;
}

.ac-chat-msg-bubble ul {
    margin: 6px 0;
    padding-left: 18px;
}

.ac-chat-msg-bubble ul li {
    margin-bottom: 3px;
    line-height: 1.5;
}

.ac-chat-msg-bubble p {
    margin-bottom: 6px;
}

.ac-chat-msg-bubble p:last-child {
    margin-bottom: 0;
}

/* ── Typing Indicator ──────────────────────────────────────────── */
.ac-chat-typing {
    display: none;
    align-self: flex-start;
    gap: 10px;
    max-width: 88%;
    animation: ac-chat-msg-in 0.35s var(--ac-chat-transition) both;
}

.ac-chat-typing.active {
    display: flex;
}

.ac-chat-typing-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef4ff 70%, #dce8fc 100%);
    box-shadow: 0 2px 10px rgba(0, 80, 200, 0.1), 0 0 0 1px rgba(0, 132, 255, 0.12);
    margin-top: 2px;
    overflow: hidden;
    padding: 4px;
}

.ac-chat-typing-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ac-chat-typing-dots {
    padding: 14px 20px;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    background: var(--ac-chat-ai-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ac-chat-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ac-chat-text-muted);
    animation: ac-chat-dot-wave 1.4s ease-in-out infinite;
}

.ac-chat-typing-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.ac-chat-typing-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes ac-chat-dot-wave {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ── Input Area ────────────────────────────────────────────────── */
.ac-chat-input-area {
    padding: 14px 16px;
    border-top: 1px solid var(--ac-chat-border);
    background: linear-gradient(180deg, rgba(12, 17, 32, 0.92) 0%, rgba(10, 14, 26, 0.95) 100%);
    flex-shrink: 0;
    position: relative;
}

.ac-chat-input-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 132, 255, 0.15), transparent);
}

.ac-chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: var(--ac-chat-surface);
    border: 1px solid var(--ac-chat-border);
    border-radius: var(--ac-chat-radius-sm);
    padding: 6px 6px 6px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ac-chat-input-wrapper:focus-within {
    border-color: var(--ac-chat-border-focus);
    box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.08);
}

.ac-chat-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--ac-chat-text);
    font-size: 0.88rem;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    resize: none;
    outline: none;
    max-height: 100px;
    min-height: 38px;
    line-height: 1.5;
    padding: 8px 0;
    scrollbar-width: none;
}

.ac-chat-input::-webkit-scrollbar {
    display: none;
}

.ac-chat-input::placeholder {
    color: var(--ac-chat-text-dim);
    font-weight: 400;
}

.ac-chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0084ff 0%, #0060cc 100%);
    color: #fff;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    outline: none;
    box-shadow: 0 3px 12px rgba(0, 132, 255, 0.3);
    -webkit-tap-highlight-color: transparent;
}

.ac-chat-send-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 18px rgba(0, 132, 255, 0.45);
}

.ac-chat-send-btn:active {
    transform: scale(0.92);
}

.ac-chat-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ── WhatsApp CTA Button (inside messages) ─────────────────────── */
.ac-chat-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 22px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    -webkit-tap-highlight-color: transparent;
}

.ac-chat-wa-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.ac-chat-wa-btn:active {
    transform: scale(0.97);
}

.ac-chat-wa-btn i {
    font-size: 1.15rem;
}

/* ── Powered By Footer ─────────────────────────────────────────── */
.ac-chat-powered {
    text-align: center;
    padding: 8px 16px 10px;
    font-size: 0.65rem;
    color: var(--ac-chat-text-dim);
    letter-spacing: 0.03em;
    background: rgba(10, 14, 26, 0.6);
    user-select: none;
}

.ac-chat-powered span {
    color: var(--ac-chat-primary);
    font-weight: 600;
}

/* ── Welcome Screen ────────────────────────────────────────────── */
.ac-chat-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    text-align: center;
    gap: 16px;
}

.ac-chat-welcome-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.15), rgba(0, 80, 200, 0.08));
    border: 1px solid rgba(0, 132, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--ac-chat-primary);
    animation: ac-chat-welcome-float 4s ease-in-out infinite;
}

@keyframes ac-chat-welcome-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ac-chat-welcome h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.ac-chat-welcome p {
    font-size: 0.82rem;
    color: var(--ac-chat-text-muted);
    line-height: 1.5;
    max-width: 280px;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        --ac-chat-bottom: 16px;
        --ac-chat-right: 16px;
    }

    .ac-chat-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 100px);
        height: calc(100dvh - 100px);
        max-height: none;
        bottom: 10px;
        right: 10px;
        border-radius: 18px;
    }

    .ac-chat-trigger {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
        bottom: 16px;
        right: 16px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    :root {
        --ac-chat-width: 370px;
        --ac-chat-height: 560px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --ac-chat-width: 390px;
        --ac-chat-height: 580px;
    }
}

/* ── Confirmation Dialog ───────────────────────────────────────── */
.ac-chat-confirm-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(6, 8, 16, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ac-chat-confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ac-chat-confirm-box {
    background: rgba(18, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.35s var(--ac-chat-transition);
}

.ac-chat-confirm-overlay.active .ac-chat-confirm-box {
    transform: scale(1);
}

.ac-chat-confirm-box i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 14px;
}

.ac-chat-confirm-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ac-chat-confirm-box p {
    font-size: 0.8rem;
    color: var(--ac-chat-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.ac-chat-confirm-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.ac-chat-confirm-btns button {
    padding: 10px 22px;
    border-radius: 12px;
    border: none;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.ac-chat-confirm-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ac-chat-text);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ac-chat-confirm-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.ac-chat-confirm-yes {
    background: linear-gradient(135deg, #ff4757, #c0392b);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 71, 87, 0.3);
}

.ac-chat-confirm-yes:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.45);
}

/* ── Mobile Full-Screen Enhancement ────────────────────────────── */
@media (max-width: 480px) {
    .ac-chat-window.open {
        animation: ac-chat-mobile-open 0.45s var(--ac-chat-transition) both;
    }

    @keyframes ac-chat-mobile-open {
        from {
            transform: translateY(100%) scale(0.95);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
}
