/* ==============================================================================
   SMILEX MAIL HUB — ULTRA-MODERN DARK & GLASSMORPHISM DESIGN SYSTEM
   ============================================================================== */

:root {
    --bg-base: #090D16;
    --bg-surface: #0F172A;
    --bg-surface-elevated: #1E293B;
    --bg-card: rgba(30, 41, 59, 0.6);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(99, 102, 241, 0.3);
    
    --primary: #6366F1;
    --primary-hover: #4F46E5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --accent-cyan: #06B6D4;
    --accent-pink: #EC4899;
    --accent-gold: #F59E0B;
    --accent-green: #10B981;
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    height: 100vh;
    overflow: hidden;
}

/* --- AUTH OVERLAY & MODAL --- */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.18) 0%, rgba(9, 13, 22, 0.95) 70%);
    backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.auth-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.2);
    padding: 32px;
}

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

.auth-logo-box {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(6, 182, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--border-subtle);
}

.auth-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    font-size: 1rem;
    pointer-events: none;
}

.form-input, .form-textarea, select.form-input {
    width: 100%;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px 10px 38px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s;
}

.form-textarea {
    padding: 12px 14px;
    resize: vertical;
}

.form-input:focus, .form-textarea:focus, select.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    background: rgba(30, 41, 59, 0.9);
}

.form-hint {
    font-size: 0.76rem;
    color: var(--text-dim);
    margin-top: 6px;
    line-height: 1.4;
}

.form-hint code, .quick-pass-box code, .pass-tag {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.82rem;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.quick-pass-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.btn-paste-quick, .btn-copy-sm {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-paste-quick:hover, .btn-copy-sm:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-block {
    width: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.auth-footer {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 20px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
}

/* --- APP SHELL & TOPBAR --- */
.app-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.app-topbar {
    height: 60px;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.brand-title strong {
    background: linear-gradient(135deg, #00F5D4 0%, #7B2CBF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mailbox-quick-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-subtle);
    padding: 4px 8px 4px 12px;
    border-radius: var(--radius-md);
}

.switcher-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.switcher-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 2px 6px;
    border: 1px solid var(--border-subtle);
}

.switcher-input-wrap input {
    background: transparent;
    border: none;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    width: 140px;
    outline: none;
}

.domain-suffix {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-right: 4px;
}

.btn-jump {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-green);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-action {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 7px 14px;
    font-size: 0.82rem;
}

.btn-action:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-compose {
    background: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
    color: #fff;
    border: none;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-master-tool {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-gold);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-logout {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 4px;
    border-radius: 4px;
}

.btn-logout:hover {
    color: #ef4444;
}

/* --- 3-COLUMN APP LAYOUT --- */
.app-layout {
    display: grid;
    grid-template-columns: 240px 380px 1fr;
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* COLUMN 1: SIDEBAR */
.mail-sidebar {
    background: rgba(15, 23, 42, 0.7);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    padding: 0 8px 8px;
}

.nav-folders {
    list-style: none;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.15s;
    margin-bottom: 3px;
}

.folder-item:hover {
    background: rgba(30, 41, 59, 0.6);
    color: #fff;
}

.folder-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-weight: 600;
}

.folder-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.folder-count {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 10px;
    color: var(--text-dim);
}

.folder-count.badge-otp {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
}

.folder-count.badge-unread {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.sidebar-bottom {
    margin-top: auto;
}

.dns-status-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.dns-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.status-indicator-green {
    color: var(--accent-green);
    font-size: 0.7rem;
}

.dns-card-text {
    font-size: 0.7rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* COLUMN 2: EMAIL LIST */
.mail-list-panel {
    background: rgba(9, 13, 22, 0.6);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-search-bar {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.list-search-bar .search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
}

.list-search-bar input {
    width: 100%;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 12px 8px 34px;
    color: #fff;
    font-size: 0.82rem;
    outline: none;
}

.list-search-bar input:focus {
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
}

.list-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 0.74rem;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

.list-count-badge {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
}

.email-items-container {
    flex: 1;
    overflow-y: auto;
}

.email-item {
    padding: 14px;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.email-item:hover {
    background: rgba(30, 41, 59, 0.4);
}

.email-item.selected {
    background: rgba(99, 102, 241, 0.12);
    border-left: 3px solid var(--primary);
}

.email-item.unread .item-subject {
    font-weight: 700;
    color: #fff;
}

.item-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.item-sender {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-date {
    font-size: 0.72rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.item-subject {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-preview {
    font-size: 0.75rem;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.item-recipient-tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.item-otp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* COLUMN 3: READING PANE */
.mail-reading-pane {
    background: var(--bg-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.no-email-selected {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-dim);
    padding: 40px;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.6;
}

.no-email-selected h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.email-detail-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.detail-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border-subtle);
}

.detail-actions-left {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-sm:hover {
    background: rgba(51, 65, 85, 0.8);
}

.btn-danger-soft {
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.2);
}

.btn-danger-soft:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* BIG OTP BANNER */
.otp-highlight-banner {
    background: radial-gradient(circle at 10% 50%, rgba(245, 158, 11, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.35);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 0 20px rgba(245, 158, 11, 0.15);
}

.otp-banner-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.otp-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--accent-gold);
}

.otp-code-big {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.btn-copy-otp {
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
}

/* EMAIL HEADER CARD */
.email-header-card {
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid var(--border-subtle);
}

.email-subject-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.email-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-label {
    color: var(--text-dim);
    font-weight: 600;
}

.meta-sender {
    color: #fff;
    font-weight: 600;
}

.meta-recipient {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

/* EMAIL CONTENT BODY */
.email-body-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
    background: #ffffff;
}

.html-sandbox {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
}

.plain-text-box {
    padding: 24px;
    background: var(--bg-surface);
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    white-space: pre-wrap;
    line-height: 1.6;
    height: 100%;
    overflow-y: auto;
}

/* MODAL CARDS */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px var(--primary-glow);
    padding: 28px;
    width: 100%;
    max-width: 520px;
}

.modal-lg {
    max-width: 640px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-close:hover {
    color: #fff;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* MASTER TOOLS SECTION */
.tool-section {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 16px;
}

.tool-section h4 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.tool-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.lookup-box input {
    width: 100%;
    padding: 10px 14px;
}

.lookup-result-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-top: 10px;
}

.result-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    margin-bottom: 6px;
}

.result-row:last-child {
    margin-bottom: 0;
}

.settings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.settings-table td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-subtle);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .app-layout {
        grid-template-columns: 200px 320px 1fr;
    }
}

@media (max-width: 768px) {
    .app-layout {
        grid-template-columns: 1fr;
    }
    .mail-sidebar, .mail-reading-pane {
        display: none;
    }
    .hide-mobile {
        display: none;
    }
    .mailbox-quick-switcher {
        display: none;
    }
}
