:root {
    --bg-main: #0c0e14;
    --bg-sidebar: #10141e;
    --bg-card: #141824;
    --bg-card-alt: #181d2c;
    --bg-input: #090b10;
    --bg-hover: #1c2336;

    --border-color: #212738;
    --border-focus: #3b82f6;
    --border-subtle: #191f2d;

    --text-main: #f1f5f9;
    --text-muted: #8b95a8;
    --text-dim: #5a6478;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --whatsapp: #25d366;
    --instagram: #e1306c;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #38bdf8;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: 0.15s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* App Layout: Sidebar + Main */
.app-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

@media (max-width: 900px) {
    .app-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.sidebar {
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
}

@media (max-width: 900px) {
    .sidebar {
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 14px 16px;
    }
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: #1e2436;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--instagram);
    font-size: 18px;
}

.brand-text h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.brand-text span {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Items */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

@media (max-width: 900px) {
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
    }
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-item i {
    font-size: 15px;
    width: 18px;
    text-align: center;
    color: var(--text-dim);
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-main);
}

.nav-item:hover i {
    color: var(--text-main);
}

.nav-item.active {
    background: #1a2236;
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.nav-item.active i {
    color: var(--primary);
}

/* Sidebar Footer / User box */
.sidebar-footer {
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    border-radius: var(--radius-md);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-label {
    font-size: 10px;
    color: var(--text-dim);
}

.user-phone {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-logout {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-logout:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Main Body */
.main-body {
    padding: 24px 30px 60px;
    max-width: 1200px;
    width: 100%;
}

@media (max-width: 600px) {
    .main-body {
        padding: 16px 14px 40px;
    }
}

/* Top Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.header-breadcrumb span {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-active .status-dot { background: var(--success); }
.status-active { border-color: rgba(16, 185, 129, 0.3); color: #34d399; }

.status-invalid .status-dot { background: var(--danger); }
.status-invalid { border-color: rgba(239, 68, 68, 0.3); color: #f87171; }

.status-loading .status-dot { background: var(--warning); }
.status-loading { color: #fbbf24; }

/* Tabs Layout */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

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

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.card-title {
    margin-bottom: 18px;
}

.card-title h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Inputs & Form Controls */
.input-field {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 4px 12px;
    transition: var(--transition);
}

.input-field:focus-within {
    border-color: var(--border-focus);
}

.field-icon {
    color: var(--text-dim);
    margin-right: 10px;
    font-size: 14px;
}

.input-field input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 14px;
    padding: 10px 0;
}

.input-field input::placeholder {
    color: var(--text-dim);
}

.icon-action-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.icon-action-btn:hover {
    color: var(--text-main);
    background: var(--bg-hover);
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

/* Mode Switch */
.mode-switch {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 3px;
}

.mode-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.mode-btn.active {
    background: #1e2638;
    color: #fff;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: #1c2233;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: #232b40;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn-text-link {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-text-link:hover {
    text-decoration: underline;
}

.spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.loading .btn-text {
    opacity: 0.3;
}

.btn.loading .spinner {
    display: inline-block;
}

/* Quick Samples */
.quick-samples {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.sample-btn {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.sample-btn:hover {
    color: var(--text-main);
    border-color: var(--border-focus);
}

/* Preview Grid */
.preview-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .preview-grid {
        grid-template-columns: 1fr;
    }
}

.preview-media-frame {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.media-container {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.media-container img, 
.media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.author-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-icon {
    color: #38bdf8;
    font-size: 13px;
}

.type-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: #1e2638;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

.author-sub {
    font-size: 12px;
    color: var(--text-dim);
}

.post-time {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 500px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-box {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 15px;
    font-weight: 700;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.text-red { color: #f43f5e; }
.text-blue { color: #38bdf8; }
.text-cyan { color: #06b6d4; }
.text-green { color: #10b981; }

/* Audio Bar */
.audio-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
}

.audio-names {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.audio-track {
    font-size: 12px;
    font-weight: 600;
}

.audio-artist {
    font-size: 11px;
    color: var(--text-dim);
}

.audio-btn {
    color: var(--text-muted);
    padding: 4px 8px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.caption-wrapper {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
}

.caption-head {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.caption-body {
    font-size: 13px;
    color: var(--text-muted);
    white-space: pre-wrap;
    max-height: 100px;
    overflow-y: auto;
}

.hashtags-list {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hashtag-tag {
    font-size: 11px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Card Header Bar */
.card-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-left h4 {
    font-size: 14px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 6px;
}

.json-code-box, .snippet-box {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    max-height: 380px;
    overflow: auto;
    position: relative;
}

pre code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.5;
    color: #cbd5e1;
    white-space: pre-wrap;
    word-break: break-all;
}

.snippet-copy {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Cookie Hub View */
.cookie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cookie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cookie-item {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.cookie-lbl {
    font-size: 11px;
    color: var(--text-dim);
    display: block;
    margin-bottom: 4px;
}

.cookie-val-box {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.dot-green { background: var(--success); }
.dot-red { background: var(--danger); }

.cookie-form textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
    outline: none;
    resize: vertical;
}

.cookie-form textarea:focus {
    border-color: var(--border-focus);
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-group-right {
    display: flex;
    gap: 8px;
}

.guide-box {
    margin-top: 18px;
    background: #111624;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 13px;
}

.guide-box h4 {
    font-size: 13.5px;
    margin-bottom: 8px;
}

.guide-box ol {
    padding-left: 20px;
    line-height: 1.7;
    color: var(--text-muted);
}

.guide-box code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--text-main);
}

/* Endpoint Catalog */
.endpoint-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.endpoint-card {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.method {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.method.get { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.method.post { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.endpoint-header code {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.endpoint-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.endpoint-code {
    background: #06070a;
    border: 1px solid var(--border-subtle);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 12px;
    color: #93c5fd;
    overflow-x: auto;
}

.lang-tabs {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2px;
    gap: 2px;
}

.lang-tab {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.lang-tab.active {
    background: #1c2336;
    color: var(--text-main);
}

/* Security / Whitelist View */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 800px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
}

.sec-card {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
}

.sec-card h4 {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sec-desc {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.sec-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.sec-input-row input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

.sec-input-row input:focus {
    border-color: var(--border-focus);
}

.sec-note {
    font-size: 11px;
    color: var(--text-dim);
}

.whitelist-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    max-height: 180px;
    overflow-y: auto;
}

.whitelist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 12.5px;
}

.btn-remove-number {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 12px;
}

.add-number-row {
    display: flex;
    gap: 8px;
}

.add-number-row input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

/* Error Box */
.error-box {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.error-icon {
    color: var(--danger);
    font-size: 18px;
    margin-top: 2px;
}

.error-box h4 {
    font-size: 14px;
    color: #f87171;
}

.error-box p {
    font-size: 12.5px;
    color: #fca5a5;
}

/* ============================================== */
/* AUTH MODAL */
/* ============================================== */
.auth-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 10, 15, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.auth-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 22px;
}

.auth-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 211, 102, 0.12);
    color: var(--whatsapp);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.auth-modal-header h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-modal-header p {
    font-size: 12.5px;
    color: var(--text-muted);
}

.auth-input-group {
    margin-bottom: 16px;
}

.auth-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.input-hint {
    font-size: 11px;
    color: var(--text-dim);
    display: block;
    margin-top: 4px;
}

.otp-code-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 20px;
    letter-spacing: 6px;
    color: var(--text-main);
    outline: none;
}

.otp-code-input:focus {
    border-color: var(--border-focus);
}

.otp-sent-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 10px;
}

.otp-resend-row {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-dim);
}

.auth-dev-alert {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 12px;
    color: #fbbf24;
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-error-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    color: #f87171;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: #192030;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    animation: slideUp 0.2s ease-out;
}

.toast-success i { color: var(--success); }
.toast-error i { color: var(--danger); }

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