@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --border-subtle: #27272a;
    --accent-neon: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --sidebar-bg: #09090b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

/* Premium Card & Sidebar */
.premium-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.premium-sidebar {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-subtle);
}

.premium-nav-item {
    transition: all 0.2s ease;
    border-radius: 8px;
}
.premium-nav-item:hover {
    background-color: #18181b;
    color: #e2e8f0;
}
.premium-nav-item.active {
    background-color: #1e293b;
    color: #60a5fa;
    border: 1px solid #334155;
}

/* Inputs & Buttons */
.premium-input {
    background-color: #000000;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.premium-input:focus {
    border-color: var(--accent-neon);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    outline: none;
}

.btn-primary {
    background-color: var(--text-main);
    color: #000000;
    font-weight: 500;
    transition: opacity 0.2s ease;
}
.btn-primary:hover {
    opacity: 0.9;
}

.btn-danger {
    background-color: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    transition: all 0.2s ease;
}
.btn-danger:hover {
    background-color: #7f1d1d;
    color: #fca5a5;
}

.btn-secondary {
    background-color: #18181b;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    transition: all 0.2s ease;
}
.btn-secondary:hover {
    background-color: #27272a;
}

/* Tables */
.premium-table th {
    background-color: #09090b;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.premium-table td {
    border-bottom: 1px solid var(--border-subtle);
}
.premium-table tr:hover td {
    background-color: #111113;
}

/* Badges */
.badge-active {
    background-color: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.badge-expired {
    background-color: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Toasts */
.toast-anim {
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Modals */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.email-content-frame {
    background: #ffffff;
    color: #1f2937;
    border-radius: 8px;
    padding: 20px;
    min-height: 250px;
    max-height: 60vh;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}
