/* =====================================================
 * VitaChatbot — Premium Chat Design
 * =====================================================
 * RTL-first design (Arabic primary)
 * Glassmorphism + smooth animations
 * ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ===================== CSS Variables ===================== */
:root {
    --vcb-primary: #0ea5e9;
    --vcb-primary-dark: #0284c7;
    --vcb-primary-light: #38bdf8;
    --vcb-primary-glow: rgba(14, 165, 233, 0.25);
    --vcb-secondary: #6366f1;
    --vcb-accent: #8b5cf6;

    --vcb-bg-dark: #0f172a;
    --vcb-bg-card: #1e293b;
    --vcb-bg-input: #1e293b;
    --vcb-bg-glass: rgba(30, 41, 59, 0.85);
    --vcb-bg-message-bot: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --vcb-bg-message-user: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);

    --vcb-text-primary: #f1f5f9;
    --vcb-text-secondary: #94a3b8;
    --vcb-text-muted: #64748b;
    --vcb-text-on-primary: #ffffff;

    --vcb-border: rgba(148, 163, 184, 0.12);
    --vcb-border-focus: rgba(14, 165, 233, 0.5);

    --vcb-success: #22c55e;
    --vcb-error: #ef4444;
    --vcb-warning: #f59e0b;

    --vcb-shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --vcb-shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --vcb-shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
    --vcb-shadow-glow: 0 0 30px var(--vcb-primary-glow);

    --vcb-radius-sm: 8px;
    --vcb-radius-md: 12px;
    --vcb-radius-lg: 16px;
    --vcb-radius-xl: 20px;
    --vcb-radius-full: 50%;

    --vcb-font: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --vcb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --vcb-widget-width: 400px;
    --vcb-widget-height: 600px;
}


/* ===================== Floating Trigger ===================== */
.vitachatbot-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: var(--vcb-radius-full);
    background: linear-gradient(135deg, var(--vcb-primary) 0%, var(--vcb-secondary) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--vcb-shadow-lg), var(--vcb-shadow-glow);
    transition: var(--vcb-transition);
    animation: vcb-pulse 2s ease-in-out infinite;
}

.vitachatbot-trigger:hover {
    transform: scale(1.1);
    box-shadow: var(--vcb-shadow-lg), 0 0 50px var(--vcb-primary-glow);
}

.vitachatbot-trigger:active {
    transform: scale(0.95);
}

.vitachatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: var(--vcb-radius-full);
    background: var(--vcb-error);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: vcb-bounce 0.5s ease;
}

@keyframes vcb-pulse {
    0%, 100% { box-shadow: var(--vcb-shadow-lg), 0 0 0 0 var(--vcb-primary-glow); }
    50% { box-shadow: var(--vcb-shadow-lg), 0 0 0 12px transparent; }
}

@keyframes vcb-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


/* ===================== Chat Window ===================== */
.vitachatbot-window {
    position: fixed;
    bottom: 96px;
    left: 24px;
    z-index: 9998;
    width: var(--vcb-widget-width);
    height: var(--vcb-widget-height);
    max-height: calc(100vh - 140px);
    border-radius: var(--vcb-radius-xl);
    background: var(--vcb-bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--vcb-border);
    box-shadow: var(--vcb-shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--vcb-font);
    direction: rtl;
    animation: vcb-slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes vcb-slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


/* ===================== Header ===================== */
.vitachatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--vcb-primary-dark) 0%, var(--vcb-secondary) 100%);
    border-bottom: 1px solid var(--vcb-border);
    flex-shrink: 0;
}

.vitachatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vitachatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--vcb-radius-full);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.vitachatbot-header-text {
    display: flex;
    flex-direction: column;
}

.vitachatbot-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--vcb-text-on-primary);
}

.vitachatbot-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

.vitachatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vitachatbot-header-actions a,
.vitachatbot-header-actions button {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: var(--vcb-radius-sm);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--vcb-transition);
    text-decoration: none;
}

.vitachatbot-header-actions a:hover,
.vitachatbot-header-actions button:hover {
    background: rgba(255,255,255,0.2);
}


/* ===================== Progress Bar ===================== */
.vitachatbot-progress {
    padding: 8px 18px;
    background: var(--vcb-bg-card);
    border-bottom: 1px solid var(--vcb-border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.vitachatbot-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.vitachatbot-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--vcb-primary) 0%, var(--vcb-accent) 100%);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.vitachatbot-progress-label {
    font-size: 11px;
    color: var(--vcb-text-secondary);
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}


/* ===================== Messages Area ===================== */
.vitachatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

/* Scrollbar styling */
.vitachatbot-messages::-webkit-scrollbar {
    width: 5px;
}
.vitachatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
.vitachatbot-messages::-webkit-scrollbar-thumb {
    background: var(--vcb-text-muted);
    border-radius: 3px;
}


/* ===================== Message Bubbles ===================== */
.vcb-message {
    display: flex;
    gap: 8px;
    max-width: 88%;
    animation: vcb-msgIn 0.3s ease;
}

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

.vcb-message--bot {
    align-self: flex-start;
}

.vcb-message--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.vcb-message__avatar {
    width: 30px;
    height: 30px;
    border-radius: var(--vcb-radius-full);
    background: linear-gradient(135deg, var(--vcb-primary) 0%, var(--vcb-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.vcb-message__bubble {
    padding: 12px 16px;
    border-radius: var(--vcb-radius-lg);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
    word-wrap: break-word;
}

.vcb-message--bot .vcb-message__bubble {
    background: var(--vcb-bg-message-bot);
    color: var(--vcb-text-primary);
    border-bottom-right: 4px;
}

.vcb-message--user .vcb-message__bubble {
    background: var(--vcb-bg-message-user);
    color: var(--vcb-text-on-primary);
    border-bottom-left-radius: 4px;
}


/* ===================== Quick Reply Buttons ===================== */
.vcb-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.vcb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--vcb-radius-md);
    border: 1px solid var(--vcb-border);
    background: var(--vcb-bg-card);
    color: var(--vcb-text-primary);
    font-family: var(--vcb-font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--vcb-transition);
    white-space: nowrap;
}

.vcb-btn:hover {
    background: var(--vcb-primary);
    border-color: var(--vcb-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--vcb-shadow-sm);
}

.vcb-btn:active {
    transform: translateY(0);
}

.vcb-btn--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}


/* ===================== Data Summary Card ===================== */
.vcb-summary-card {
    background: var(--vcb-bg-card);
    border: 1px solid var(--vcb-border);
    border-radius: var(--vcb-radius-lg);
    padding: 16px;
    margin-top: 8px;
}

.vcb-summary-card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--vcb-primary-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--vcb-border);
}

.vcb-summary-card__fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vcb-summary-card__field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.vcb-summary-card__icon {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.vcb-summary-card__label {
    color: var(--vcb-text-secondary);
    min-width: 120px;
}

.vcb-summary-card__value {
    color: var(--vcb-text-primary);
    font-weight: 500;
}

.vcb-summary-card__missing {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--vcb-warning);
}

.vcb-summary-card__missing-title {
    color: var(--vcb-warning);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.vcb-summary-card__missing-item {
    color: var(--vcb-text-secondary);
    font-size: 12px;
    padding: 2px 0;
}


/* ===================== Upload Zone ===================== */
.vcb-upload-zone {
    border: 2px dashed var(--vcb-border);
    border-radius: var(--vcb-radius-lg);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--vcb-transition);
    margin-top: 8px;
    background: rgba(14, 165, 233, 0.03);
}

.vcb-upload-zone:hover {
    border-color: var(--vcb-primary);
    background: rgba(14, 165, 233, 0.08);
}

.vcb-upload-zone.vcb-upload-zone--dragover {
    border-color: var(--vcb-primary);
    background: rgba(14, 165, 233, 0.12);
    transform: scale(1.01);
}

.vcb-upload-zone__icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.vcb-upload-zone__text {
    color: var(--vcb-text-secondary);
    font-size: 13px;
}

.vcb-upload-zone__browse {
    color: var(--vcb-primary-light);
    font-weight: 600;
    text-decoration: underline;
}

.vcb-upload-zone__files {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vcb-upload-zone__file-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--vcb-success);
    padding: 4px 8px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--vcb-radius-sm);
}


/* ===================== Input Prompt ===================== */
.vcb-input-inline {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.vcb-input-inline input,
.vcb-input-inline input[type="text"],
.vcb-input-inline input[type="email"],
.vcb-input-inline input[type="tel"],
.vcb-input-inline input[type="password"],
.vcb-input-inline input[type="number"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: var(--vcb-radius-md) !important;
    border: 1px solid var(--vcb-border) !important;
    border-right: 1px solid var(--vcb-border) !important;
    background: #1e293b !important;
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    -webkit-text-fill-color: #f1f5f9 !important;
    font-family: var(--vcb-font) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: auto !important;
    transition: var(--vcb-transition);
    direction: rtl !important;
}

.vcb-input-inline input:focus {
    border-color: var(--vcb-border-focus) !important;
    box-shadow: 0 0 0 3px var(--vcb-primary-glow) !important;
}


.vcb-input-inline button {
    padding: 10px 16px;
    border-radius: var(--vcb-radius-md);
    border: none;
    background: var(--vcb-primary);
    color: white;
    font-family: var(--vcb-font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--vcb-transition);
    white-space: nowrap;
}

.vcb-input-inline button:hover {
    background: var(--vcb-primary-dark);
}


/* ===================== Loading Indicator ===================== */
.vcb-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--vcb-bg-message-bot);
    border-radius: var(--vcb-radius-lg);
    color: var(--vcb-text-secondary);
    font-size: 14px;
}

.vcb-loading__dots {
    display: flex;
    gap: 4px;
}

.vcb-loading__dot {
    width: 6px;
    height: 6px;
    border-radius: var(--vcb-radius-full);
    background: var(--vcb-primary);
    animation: vcb-dotPulse 1.4s infinite ease-in-out;
}

.vcb-loading__dot:nth-child(2) { animation-delay: 0.2s; }
.vcb-loading__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes vcb-dotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}


/* ===================== Success / Error Messages ===================== */
.vcb-message--success .vcb-message__bubble {
    background: linear-gradient(135deg, rgba(34,197,94,0.15) 0%, rgba(34,197,94,0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--vcb-success);
}

.vcb-message--error .vcb-message__bubble {
    background: linear-gradient(135deg, rgba(239,68,68,0.15) 0%, rgba(239,68,68,0.08) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--vcb-error);
}


/* ===================== Input Area ===================== */
.vitachatbot-input-area {
    padding: 12px 14px;
    border-top: 1px solid var(--vcb-border);
    background: var(--vcb-bg-card);
    flex-shrink: 0;
}

.vitachatbot-input-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--vcb-bg-input) !important;
    border: 1px solid var(--vcb-border) !important;
    border-radius: var(--vcb-radius-lg) !important;
    padding: 4px 4px 4px 8px !important;
    transition: var(--vcb-transition);
    box-sizing: border-box !important;
    width: 100% !important;
}

.vitachatbot-input-wrapper:focus-within {
    border-color: var(--vcb-border-focus);
    box-shadow: 0 0 0 3px var(--vcb-primary-glow);
}

.vitachatbot-input,
#vitachatbot-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #1e293b !important;
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    -webkit-text-fill-color: #f1f5f9 !important;
    font-family: var(--vcb-font) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 8px !important;
    margin: 0 !important;
    outline: none !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    height: auto !important;
}

.vitachatbot-input::placeholder,
#vitachatbot-input::placeholder {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    opacity: 1 !important;
}

.vitachatbot-attach-btn,
.vitachatbot-send-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--vcb-radius-sm);
    color: var(--vcb-text-muted);
    transition: var(--vcb-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vitachatbot-attach-btn:hover {
    color: var(--vcb-primary-light);
    background: rgba(14, 165, 233, 0.1);
}

.vitachatbot-send-btn {
    background: var(--vcb-primary) !important;
    background-color: var(--vcb-primary) !important;
    color: white !important;
    border-radius: var(--vcb-radius-md) !important;
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
}

.vitachatbot-send-btn:hover {
    background: var(--vcb-primary-dark) !important;
    background-color: var(--vcb-primary-dark) !important;
    transform: scale(1.05);
}


/* ===================== Typing Indicator ===================== */
.vcb-typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.vcb-typing-indicator__dots {
    display: flex;
    gap: 3px;
    padding: 10px 14px;
    background: var(--vcb-bg-card);
    border-radius: var(--vcb-radius-lg);
}

.vcb-typing-indicator__dot {
    width: 7px;
    height: 7px;
    border-radius: var(--vcb-radius-full);
    background: var(--vcb-text-muted);
    animation: vcb-typing 1.4s infinite ease-in-out;
}

.vcb-typing-indicator__dot:nth-child(2) { animation-delay: 0.2s; }
.vcb-typing-indicator__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes vcb-typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}


/* ===================== Full Page Layout ===================== */
.vitachatbot-fullpage {
    font-family: var(--vcb-font);
    direction: rtl;
    min-height: calc(100vh - 200px);
}

.vitachatbot-fullpage-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    height: calc(100vh - 200px);
    min-height: 600px;
    border-radius: var(--vcb-radius-xl);
    overflow: hidden;
    background: var(--vcb-bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--vcb-border);
    box-shadow: var(--vcb-shadow-lg);
}

/* Sidebar */
.vitachatbot-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--vcb-bg-dark) 0%, #1a1f2e 100%);
    border-left: 1px solid var(--vcb-border);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    flex-shrink: 0;
}

.vitachatbot-sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.vitachatbot-sidebar-logo {
    width: 70px;
    height: 70px;
    border-radius: var(--vcb-radius-full);
    background: linear-gradient(135deg, var(--vcb-primary) 0%, var(--vcb-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: white;
    box-shadow: var(--vcb-shadow-glow);
}

.vitachatbot-sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--vcb-text-primary);
    margin: 0 0 6px;
}

.vitachatbot-sidebar-desc {
    font-size: 13px;
    color: var(--vcb-text-secondary);
    margin: 0;
}

.vitachatbot-sidebar-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vitachatbot-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--vcb-radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--vcb-border);
    transition: var(--vcb-transition);
}

.vitachatbot-feature:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}

.vitachatbot-feature-icon {
    font-size: 20px;
}

.vitachatbot-feature-text {
    font-size: 13px;
    color: var(--vcb-text-primary);
    font-weight: 500;
}

.vitachatbot-feature-badge {
    margin-right: auto;
    margin-left: 0;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--vcb-radius-sm);
    background: rgba(148, 163, 184, 0.15);
    color: var(--vcb-text-muted);
}

.vitachatbot-feature-soon {
    opacity: 0.5;
}

.vitachatbot-sidebar-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--vcb-border);
}

.vitachatbot-sidebar-footer p {
    font-size: 12px;
    color: var(--vcb-text-muted);
    margin: 0;
}

/* Full page main area */
.vitachatbot-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--vcb-bg-dark);
}

.vitachatbot-messages-fullpage {
    padding: 24px 32px;
}

.vitachatbot-header-fullpage {
    padding: 16px 24px;
}


/* ===================== Upload Progress Bar ===================== */
.vcb-upload-progress {
    margin-top: 10px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: var(--vcb-radius-sm);
    overflow: hidden;
    height: 6px;
}

.vcb-upload-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--vcb-primary) 0%, var(--vcb-accent) 100%);
    border-radius: var(--vcb-radius-sm);
    transition: width 0.3s ease;
    width: 0%;
}


/* ===================== Mobile Responsive ===================== */
@media (max-width: 768px) {
    .vitachatbot-window {
        width: calc(100vw - 16px);
        height: calc(100vh - 100px);
        max-height: none;
        bottom: 80px;
        left: 8px;
        right: 8px;
        border-radius: var(--vcb-radius-lg);
    }

    .vitachatbot-trigger {
        bottom: 16px;
        left: 16px;
        width: 54px;
        height: 54px;
    }

    /* Full page mobile */
    .vitachatbot-fullpage-container {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 120px);
    }

    .vitachatbot-sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--vcb-border);
        padding: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .vitachatbot-sidebar-header {
        margin-bottom: 0;
        text-align: right;
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .vitachatbot-sidebar-logo {
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .vitachatbot-sidebar-features {
        display: none;
    }

    .vitachatbot-sidebar-footer {
        display: none;
    }

    .vitachatbot-messages-fullpage {
        padding: 16px;
        min-height: 400px;
    }
}


/* ===================== Animations ===================== */
.vcb-fade-in {
    animation: vcb-fadeIn 0.3s ease;
}

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

.vcb-slide-up {
    animation: vcb-slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
