:root {
    /* Premium Midnight Palette */
    --accent-primary: #6366f1; /* Indigo */
    --accent-secondary: #a855f7; /* Violet */
    --accent-success: #10b981; /* Emerald */
    --accent-warning: #f59e0b; /* Amber */
    --accent-danger: #f43f5e; /* Rose */
    --primary: #6366f1; /* Alias for primary */
    
    
    --bg-deep: #020617;
    --bg-surface: rgba(15, 23, 42, 0.7);
    --bg-glass: rgba(15, 23, 42, 0.5);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.3);
    
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius-premium: 20px;
    
    /* Animation Durations */
    --transit-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transit-med: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-deep: #f0f2f5;
    --bg-surface: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-light: rgba(0, 0, 0, 0.1);
    --border-glow: rgba(99, 102, 241, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Cinematic Overlays */
.grain-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
    z-index: 10;
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* Background Blobs */
.bg-blob {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: var(--accent-primary);
    filter: blur(120px);
    opacity: 0.08;
    z-index: 0;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}
.blob-1 { top: -10%; right: -10%; background: var(--accent-secondary); }
.blob-2 { bottom: -10%; left: -10%; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 2;
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    background: var(--bg-surface);
    backdrop-filter: blur(24px) saturate(180%);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.logo {
    padding: 40px 32px;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1.5px;
}
.logo span { color: var(--accent-primary); }

.nav-menu {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-btn {
    padding: 14px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transit-med);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: translateX(4px);
}

.nav-btn.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 10px 20px -10px var(--accent-primary);
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

/* Main Content Styling */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 48px;
    scroll-behavior: smooth;
}

.main-content::-webkit-scrollbar { width: 6px; }
.main-content::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 10px; }

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    animation: slideInDown 0.8s var(--transit-slow);
}

@keyframes slideInDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-title h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}
.header-title p { color: var(--text-muted); font-size: 16px; margin-top: 4px; }

/* Dashboard Cards */
.global-metrics-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.global-metric {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-premium);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transit-med);
}

.global-metric:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
}

.gm-title { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.gm-value { font-size: 44px; font-weight: 800; display: block; margin-top: 12px; }
.gm-icon { position: absolute; right: 24px; bottom: 12px; font-size: 80px; opacity: 0.05; pointer-events: none; }

/* Plaza Cards */
.plazas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-premium);
    padding: 24px;
    transition: all 0.4s var(--transit-slow);
    position: relative;
}

.glass-card::before {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.plaza-card { cursor: pointer; }
.plaza-card:hover { border-color: var(--accent-primary); transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-premium); }

.icon-header { font-size: 40px; margin-bottom: 16px; display: inline-block; }
.plaza-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.plaza-card .stats { display: flex; gap: 12px; }
.plaza-card .stats span { font-size: 14px; color: var(--text-secondary); background: rgba(255,255,255,0.03); padding: 4px 10px; border-radius: 8px; }

/* Search Bar Styling */
.search-wrapper {
    position: relative;
    width: 300px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.5;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 16px 10px 40px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transit-med);
}

.search-input:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Dashboard Status Tiles */
.status-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.status-tile {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transit-med);
    position: relative;
}

.status-tile:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tile-icon {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.03);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.status-paid .tile-icon { color: var(--accent-success); }
.status-pending .tile-icon { color: var(--accent-warning); }
.status-overdue .tile-icon { color: var(--accent-danger); }

.tile-info { display: flex; flex-direction: column; }
.tile-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.tile-count { font-size: 24px; font-weight: 800; }

/* Alerts Card on Dashboard */
.status-alerts {
    border-color: rgba(168, 85, 247, 0.2);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), transparent);
}
.status-alerts .tile-icon { color: var(--accent-secondary); }
.status-alerts:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 8px 30px -10px rgba(168, 85, 247, 0.3);
}
.status-alerts.has-alerts {
    border-color: rgba(244, 63, 94, 0.3);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), transparent);
    animation: alertPulse 2s ease-in-out infinite;
}
.status-alerts.has-alerts .tile-icon { color: var(--accent-danger); }
.status-alerts.has-alerts .tile-count { color: var(--accent-danger); }

.alerts-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transit-med);
}
.status-alerts:hover .alerts-arrow {
    transform: translateY(-50%) translateX(4px);
    color: var(--accent-secondary);
}
.status-alerts.has-alerts:hover .alerts-arrow {
    color: var(--accent-danger);
}

@keyframes alertPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
    50% { box-shadow: 0 0 20px 2px rgba(244, 63, 94, 0.15); }
}

/* Alerts View Styles */
.alerts-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    gap: 16px;
}
.alerts-empty-icon {
    font-size: 80px;
    margin-bottom: 8px;
    animation: float 3s ease-in-out infinite alternate;
}
.alerts-empty-state h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-success);
}
.alerts-empty-state p {
    font-size: 16px;
    color: var(--text-muted);
}

.alerts-summary-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}
.alerts-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 15px;
    color: var(--text-secondary);
}
.alerts-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-danger { background: var(--accent-danger); box-shadow: 0 0 8px var(--accent-danger); }
.dot-warning { background: var(--accent-warning); box-shadow: 0 0 8px var(--accent-warning); }

.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.alert-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-premium);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}
.alert-high::before { background: var(--accent-danger); }
.alert-medium::before { background: var(--accent-warning); }

.alert-high {
    border-color: rgba(244, 63, 94, 0.15);
}
.alert-high:hover {
    border-color: rgba(244, 63, 94, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(244, 63, 94, 0.15);
}
.alert-medium {
    border-color: rgba(245, 158, 11, 0.15);
}
.alert-medium:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(245, 158, 11, 0.15);
}

.alert-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.alert-severity-badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.alert-property {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    padding: 4px 10px;
    border-radius: 8px;
}

.alert-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.alert-details {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.alert-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 1024px) {
    .global-metrics-container { grid-template-columns: 1fr; }
    .status-summary-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar { width: 80px; }
    .logo span, .nav-btn span:last-child, .sidebar-footer button { display: none; }
    .nav-btn { justify-content: center; padding: 14px; }
    .alerts-grid { grid-template-columns: 1fr; }
}
.month-selector-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.month-input {
    background: transparent;
    border: none;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

/* History List Styling */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.history-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transit-med);
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-month {
    font-weight: 800;
    font-size: 16px;
}

.history-amount {
    color: var(--accent-success);
    font-weight: 700;
}

.history-date {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Table Styling */
.table-container {
    background: var(--bg-glass);
    border-radius: var(--radius-premium);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 20px 24px; text-align: left; }
.data-table th { background: rgba(0,0,0,0.1); font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.data-table td { border-bottom: 1px solid var(--border-light); font-size: 15px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Status Badges */
.badge {
    padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px;
}
.badge-paid { background: rgba(16, 185, 129, 0.1); color: var(--accent-success); }
.badge-pending { background: rgba(245, 158, 11, 0.1); color: var(--accent-warning); }
.badge-overdue { background: rgba(244, 63, 94, 0.1); color: var(--accent-danger); border: 1px solid rgba(244, 63, 94, 0.2); }

/* Buttons */
.btn {
    padding: 12px 24px; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer;
    border: none; outline: none; transition: var(--transit-med); display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary { background: var(--accent-primary); color: white; box-shadow: 0 4px 15px -5px var(--accent-primary); }
.btn-primary:hover { background: #4f46e5; transform: translateY(-2px); box-shadow: 0 8px 25px -5px var(--accent-primary); }

.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.btn-success { background: var(--accent-success); color: white; }
.btn-danger { background: rgba(244, 63, 94, 0.1); color: var(--accent-danger); }
.btn-danger:hover { background: var(--accent-danger); color: white; }

.btn-small { padding: 6px 12px; font-size: 13px; border-radius: 8px; }

/* Modals */
.modal {
    position: fixed; inset: 0; background: rgba(2, 6, 23, 0.8); backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.modal.show { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--bg-surface);
    width: 100%; max-width: 500px;
    padding: 40px; border-radius: 24px;
    border: 1px solid var(--border-light);
    transform: translateY(20px); transition: 0.4s var(--transit-slow);
}
.modal.show .modal-content { transform: translateY(0); }

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.modal-header h2 { font-size: 24px; font-weight: 800; }
.close-btn { background: none; border: none; color: var(--text-muted); font-size: 28px; cursor: pointer; transition: 0.2s; }
.close-btn:hover { color: var(--text-primary); }

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 18px; background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light); border-radius: 12px; color: var(--text-primary);
    font-size: 15px; transition: var(--transit-med);
    appearance: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

[data-theme="light"] .form-group input, 
[data-theme="light"] .form-group select, 
[data-theme="light"] .form-group textarea {
    background: #ffffff;
    border-color: #cbd5e1;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%0A%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group select option {
    background: var(--bg-deep);
    color: var(--text-primary);
    padding: 12px;
}

.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent-primary); background: rgba(255, 255, 255, 0.08); }

/* Score Circle */
.score-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.score-high { background: var(--accent-success); color: white; }
.score-medium { background: var(--accent-warning); color: white; }
.score-low { background: var(--accent-danger); color: white; }

/* Alert Section */
.problem-detection {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), transparent);
    border: 1px solid rgba(244, 63, 94, 0.2); border-radius: var(--radius-premium); padding: 32px; margin-bottom: 48px;
}
.problem-detection h2 { font-size: 18px; font-weight: 800; color: var(--accent-danger); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.problem-card { background: var(--bg-surface); padding: 16px 20px; border-radius: 16px; border-left: 4px solid var(--accent-danger); display: flex; justify-content: space-between; align-items: center; }

/* Animations for view transit */
.view-section { display: none; }
.view-section.active { display: block; animation: viewEnter 0.6s var(--transit-slow); }
@keyframes viewEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Receipt Styling */
.receipt-card { text-align: center; }
.receipt-header h2 { color: var(--accent-primary); font-size: 32px; letter-spacing: -2px; }
.receipt-body { margin: 32px 0; border-top: 1px dashed var(--border-light); border-bottom: 1px dashed var(--border-light); padding: 24px 0; }
.receipt-row { display: flex; justify-content: space-between; margin-bottom: 12px; }

@media (max-width: 1024px) {
    .global-metrics-container { grid-template-columns: 1fr; }
    .status-summary-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar { width: 80px; }
    .logo span, .nav-btn span:last-child, .sidebar-footer button { display: none; }
    .nav-btn { justify-content: center; padding: 14px; }
    .alerts-grid { grid-template-columns: 1fr; }
}

/* Auth Overlay */
.auth-overlay {
    position: fixed; inset: 0; background: var(--bg-deep); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transit-slow);
}

.auth-card {
    width: 100%; max-width: 440px; padding: 48px; text-align: center;
}

.auth-header { margin-bottom: 32px; }
.auth-header .logo { justify-content: center; padding: 0 0 24px 0; }
.auth-header h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.auth-header p { color: var(--text-muted); }

.auth-form { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.auth-switch { margin-top: 24px; font-size: 14px; color: var(--text-muted); text-align: center; }
.auth-switch a { color: var(--accent-primary); font-weight: 700; text-decoration: none; }

.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }

/* Trial Timer Badge */
.trial-timer-badge {
    padding: 10px 18px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-warning);
    display: none;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .auth-card { padding: 32px 24px; border: none; background: transparent; backdrop-filter: none; }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: var(--bg-surface);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-glow);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    justify-content: center;
    font-weight: 700;
    animation: toast-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
               toast-out 0.5s 3.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
}

.toast-success { border-left: 5px solid var(--accent-success); }
.toast-error { border-left: 5px solid var(--accent-danger); }
.toast-info { border-left: 5px solid var(--accent-primary); }

[data-theme="light"] .toast {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}
