/* Design Tokens */
:root {
    --bg-deep: #0f172a;
    --bg-slate: #1e293b;
    --primary: #3b82f6;
    --accent: #2ecc71;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Base */
body { font-family: 'Inter', sans-serif; background-color: var(--bg-deep); color: var(--text-main); }
.outfit { font-family: 'Outfit', sans-serif; }

/* Glassmorphism */
.glass { background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); }

/* Buttons */
.btn-premium { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); transition: all 0.3s ease; }
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }

/* Form Inputs */
.input-glass { background: rgba(15, 23, 42, 0.5); border: 1px solid var(--glass-border); color: white; transition: all 0.3s ease; }
.input-glass:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2); outline: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Toast Notification */
.notification-toast { animation: slideIn 0.3s ease-out forwards; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Status Badges */
.status-badge { padding: 2px 8px; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.status-completed, .status-success { color: #10b981; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }
.status-failed, .status-error { color: #ef4444; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); }
.status-pending { color: #f59e0b; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); }
.status-expired { color: var(--text-dim); background: rgba(148, 163, 184, 0.1); border: 1px solid rgba(148, 163, 184, 0.2); }

/* Pagination go-to input — hide number spinner arrows */
.pg-goto::-webkit-inner-spin-button,
.pg-goto::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pg-goto { -moz-appearance: textfield; }

/* Sortable column header */
.th-sortable { cursor: pointer; user-select: none; }
.th-sortable:hover { color: #e2e8f0; }
.sort-icon { display: inline-block; margin-left: 4px; font-size: 0.7rem; opacity: 0.5; }
.sort-icon.active { opacity: 1; color: #60a5fa; }
