Files
dodep-simulator/static/css/style.css
T

602 lines
27 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Russo+One&display=swap');
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
--primary: #f59e0b;
--primary-hover: #d97706;
--primary-glow: rgba(245,158,11,0.35);
--primary-subtle: rgba(245,158,11,0.12);
--success: #22c55e;
--danger: #ef4444;
--info: #3b82f6;
--warning: #f59e0b;
--bg-deep: #07080b;
--bg-dark: #0b0d12;
--bg-card: #111318;
--bg-surface: #181b24;
--bg-elevated: #1e2230;
--bg-hover: rgba(255,255,255,0.04);
--text: #e8e6e3;
--text-dim: #9498a8;
--text-muted: #5c6070;
--border: rgba(255,255,255,0.06);
--border-light: rgba(255,255,255,0.10);
--shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
--shadow-md: 0 4px 12px rgba(0,0,0,0.4);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
--shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 18px;
--transition: 0.2s cubic-bezier(0.4,0,0.2,1);
--transition-slow: 0.4s cubic-bezier(0.4,0,0.2,1);
--font-display: 'Russo One', sans-serif;
--font-body: 'Rajdhani', sans-serif;
--rarity-consumer: #b0b0b0;
--rarity-industrial: #5e98d9;
--rarity-mil-spec: #4b69ff;
--rarity-restricted: #8847ff;
--rarity-classified: #d32ce6;
--rarity-covert: #eb4b4b;
--rarity-rare-special: #ffd700;
--rarity-extraordinary: #ffd700;
--z-dropdown: 100;
--z-sticky: 200;
--z-overlay: 300;
--z-modal: 400;
--z-toast: 500;
--z-tooltip: 600;
}
body {
font-family: var(--font-body);
background: var(--bg-deep);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .logo, .nav-link, .btn, .display-font {
font-family: var(--font-display);
letter-spacing: 0.03em;
}
::selection { background: var(--primary); color: #000; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
/* ── Navbar ── */
.navbar {
background: rgba(7,8,11,0.92);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border);
padding: 0.6rem 0;
position: sticky;
top: 0;
z-index: var(--z-sticky);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.logo {
font-size: 1.15rem; font-weight: 700; color: var(--text);
text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em;
display: flex; align-items: center; gap: 0.4rem; white-space: nowrap;
}
.logo span { color: var(--primary); }
.logo:hover { opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
.nav-link {
color: var(--text-dim); text-decoration: none;
padding: 0.4rem 0.7rem; border-radius: var(--radius-sm);
transition: all var(--transition); font-size: 0.78rem;
text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
white-space: nowrap; position: relative;
}
.nav-link::after {
content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%) scaleX(0);
width: 60%; height: 2px; background: var(--primary); border-radius: 1px;
transition: transform var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg-hover); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: #000; background: var(--primary); font-weight: 600; }
.nav-link.active::after { display: none; }
.user-balance {
padding: 0.35rem 0.7rem; background: rgba(0,0,0,0.3);
border: 1px solid rgba(245,158,11,0.25); border-radius: var(--radius-sm);
font-weight: 600; color: var(--primary); font-size: 0.8rem;
font-family: var(--font-body); white-space: nowrap;
display: flex; align-items: center; gap: 0.3rem;
}
.user-balance::before { content: '⟠'; font-size: 0.7rem; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.3rem; cursor: pointer; padding: 0.3rem; }
@media (max-width: 768px) {
.mobile-toggle { display: block; }
.nav-links {
display: none; position: absolute; top: 100%; left: 0; right: 0;
background: rgba(7,8,11,0.98); backdrop-filter: blur(16px);
flex-direction: column; padding: 0.5rem; border-bottom: 1px solid var(--border);
gap: 0.15rem; z-index: var(--z-dropdown);
}
.nav-links.open { display: flex; }
.nav-link { width: 100%; padding: 0.6rem 0.8rem; }
.nav-links .btn, .nav-links .user-balance { width: 100%; justify-content: center; }
.navbar .container { position: relative; }
}
/* ── Buttons ── */
.btn {
padding: 0.5rem 1.1rem; border: none; border-radius: var(--radius-sm);
font-size: 0.78rem; font-weight: 600; cursor: pointer;
text-decoration: none; display: inline-flex; align-items: center;
gap: 0.4rem; transition: all var(--transition); white-space: nowrap;
text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2;
position: relative; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background var(--transition); }
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active::after { background: rgba(255,255,255,0.12); }
.btn-primary {
background: linear-gradient(135deg, var(--primary), #d97706); color: #000;
box-shadow: 0 2px 12px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,158,11,0.4); }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; background: var(--text-muted); color: var(--text-dim); }
.btn-outline {
background: transparent; color: var(--text-dim); border: 1px solid var(--border-light);
}
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.18); background: var(--bg-hover); }
.btn-ghost { background: transparent; color: var(--text-dim); border: none; }
.btn-ghost:hover { color: var(--text); background: var(--bg-hover); }
.btn-success { background: var(--success); color: #000; }
.btn-success:hover { box-shadow: 0 4px 15px rgba(34,197,94,0.3); transform: translateY(-1px); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { box-shadow: 0 4px 15px rgba(239,68,68,0.3); transform: translateY(-1px); }
.btn-large { padding: 0.65rem 2rem; font-size: 0.9rem; }
.btn-sm { padding: 0.3rem 0.65rem; font-size: 0.7rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon {
width: 36px; height: 36px; padding: 0; display: flex;
align-items: center; justify-content: center; font-size: 1rem;
background: var(--primary-subtle); border: 1px solid rgba(245,158,11,0.2);
color: var(--primary); border-radius: var(--radius-sm); cursor: pointer;
transition: all var(--transition); flex-shrink: 0;
}
.btn-icon:hover { background: rgba(245,158,11,0.2); border-color: rgba(245,158,11,0.35); transform: scale(1.05); }
.btn-icon:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
/* ── Cards ── */
.card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 1.25rem;
transition: all var(--transition);
}
.card:hover { border-color: rgba(255,255,255,0.08); }
.card-hover:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
border-color: rgba(245,158,11,0.15);
}
.card-glass {
background: rgba(17,19,24,0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.06);
}
.card-glow { position: relative; overflow: hidden; }
.card-glow::before {
content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
background: conic-gradient(from 0deg, transparent, var(--primary-glow), transparent, transparent);
animation: glowRotate 4s linear infinite; opacity: 0; transition: opacity var(--transition-slow);
}
.card-glow:hover::before { opacity: 1; }
.card-glow > * { position: relative; z-index: 1; }
@keyframes glowRotate { to { transform: rotate(360deg); } }
/* ── Forms ── */
.form-group { margin-bottom: 1rem; }
.form-label {
display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-dim);
margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-input, .form-select, .form-textarea {
width: 100%; padding: 0.55rem 0.8rem; font-size: 0.9rem;
background: var(--bg-dark); border: 1px solid var(--border-light);
border-radius: var(--radius-sm); color: var(--text);
font-family: var(--font-body); transition: border-color var(--transition), box-shadow var(--transition);
outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-input::placeholder { color: var(--text-muted); }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 0.25rem; }
.form-hint { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.2rem; }
.form-checkbox {
display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
font-size: 0.9rem;
}
.form-checkbox input[type="checkbox"] {
width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer;
}
/* ── Grids ── */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (max-width: 768px) {
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
/* ── Hero ── */
.hero {
padding: 4rem 0; text-align: center;
position: relative; overflow: hidden;
}
.hero::before {
content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
width: 700px; height: 700px;
background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 65%);
pointer-events: none;
}
.hero h1 {
font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.75rem;
background: linear-gradient(135deg, var(--primary), #fbbf24);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text; position: relative; text-wrap: balance;
}
.hero-subtitle {
font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--text-dim);
margin-bottom: 2.5rem; position: relative;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
/* ── Section ── */
.section { padding: 2.5rem 0; }
.section-title {
font-size: 1.5rem; margin-bottom: 0.3rem; text-wrap: balance;
}
.section-subtitle { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1.5rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem; }
.section-tabs {
display: flex; gap: 0.25rem; flex-wrap: wrap;
padding: 0.25rem; background: var(--bg-dark); border-radius: var(--radius-sm);
}
.section-tab {
padding: 0.35rem 0.8rem; border: none; background: transparent;
color: var(--text-dim); font-size: 0.78rem; font-weight: 500;
cursor: pointer; border-radius: 4px; transition: all var(--transition);
font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.04em;
}
.section-tab:hover { color: var(--text); background: var(--bg-hover); }
.section-tab.active { background: var(--primary); color: #000; font-weight: 600; }
/* ── Case Card ── */
.case-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-md);
overflow: hidden;
transition: all var(--transition-slow);
cursor: pointer;
position: relative;
}
.case-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 30px rgba(0,0,0,0.5);
border-color: rgba(245,158,11,0.2);
}
.case-card-image {
width: 100%; aspect-ratio: 1; object-fit: contain;
padding: 1.5rem; background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
display: flex; align-items: center; justify-content: center;
position: relative;
}
.case-card-image img { max-width: 85%; max-height: 85%; transition: transform var(--transition-slow); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }
.case-card:hover .case-card-image img { transform: scale(1.08) rotate(-3deg); }
.case-card-body { padding: 0.85rem 1rem; }
.case-card-name { font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 0.2rem; }
.case-card-desc { color: var(--text-dim); font-size: 0.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-card-footer {
display: flex; align-items: center; justify-content: space-between;
padding: 0.65rem 1rem; border-top: 1px solid var(--border);
}
.case-card-price {
font-family: var(--font-display); font-size: 0.95rem; color: var(--primary);
display: flex; align-items: center; gap: 0.3rem;
}
.case-card-price span { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-body); }
.case-card-rarity {
display: flex; gap: 3px;
}
.case-card-rarity-dot {
width: 8px; height: 8px; border-radius: 50%; opacity: 0.6;
}
/* ── Modal ── */
.modal-overlay {
position: fixed; inset: 0; background: rgba(0,0,0,0.7);
backdrop-filter: blur(4px); z-index: var(--z-overlay);
display: flex; align-items: center; justify-content: center;
animation: fadeIn 0.2s ease; padding: 1rem;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
background: var(--bg-surface); border: 1px solid var(--border-light);
border-radius: var(--radius-lg); width: 100%; max-width: 500px;
max-height: 90vh; overflow-y: auto;
animation: modalSlideIn 0.25s ease; box-shadow: var(--shadow-xl);
}
@keyframes modalSlideIn { from { transform: translateY(20px) scale(0.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-header {
display: flex; align-items: center; justify-content: space-between;
padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.modal-title { font-family: var(--font-display); font-size: 1rem; }
.modal-close {
background: none; border: none; color: var(--text-dim); font-size: 1.3rem;
cursor: pointer; padding: 0.2rem; line-height: 1; transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 1.25rem; }
.modal-footer {
display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem;
padding: 1rem 1.25rem; border-top: 1px solid var(--border);
}
/* ── Table ── */
.table-wrap { overflow-x: auto; }
table {
width: 100%; border-collapse: collapse; font-size: 0.85rem;
}
th, td {
padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid var(--border);
white-space: nowrap;
}
th {
color: var(--text-dim); font-weight: 600; text-transform: uppercase;
letter-spacing: 0.05em; font-size: 0.72rem;
}
tr:hover td { background: var(--bg-hover); }
/* ── Badge ── */
.badge {
display: inline-flex; align-items: center; gap: 0.25rem;
padding: 0.15rem 0.5rem; border-radius: 4px;
font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
letter-spacing: 0.03em;
}
.badge-yellow { background: rgba(245,158,11,0.15); color: var(--primary); }
.badge-green { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-red { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-blue { background: rgba(59,130,246,0.15); color: var(--info); }
.badge-purple { background: rgba(136,71,255,0.15); color: #a78bfa; }
/* ── Stats ── */
.stats-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat-card {
background: var(--bg-card); border: 1px solid var(--border);
border-radius: var(--radius-md); padding: 1rem 1.15rem;
}
.stat-value { font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); }
.stat-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.15rem; }
/* ── Filters ── */
.filter-bar {
display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;
padding: 0.75rem; background: var(--bg-dark); border-radius: var(--radius-md);
margin-bottom: 1rem;
}
.filter-bar .form-input { width: auto; min-width: 160px; flex: 1; }
.filter-chip {
padding: 0.25rem 0.65rem; background: transparent; border: 1px solid var(--border-light);
color: var(--text-dim); border-radius: 4px; font-size: 0.75rem; cursor: pointer;
transition: all var(--transition); font-family: var(--font-body);
}
.filter-chip:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.filter-chip.active { background: var(--primary-subtle); border-color: var(--primary); color: var(--primary); }
/* ── Loading ── */
.spinner {
width: 32px; height: 32px; border: 3px solid var(--border);
border-top-color: var(--primary); border-radius: 50%;
animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-sm { width: 18px; height: 18px; border-width: 2px; }
.loading-dots { display: flex; gap: 4px; align-items: center; }
.loading-dots span {
width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
animation: dotBounce 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.15s; }
.loading-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce { 0%,80%,100% { transform: scale(0.5); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }
/* ── Toast / Notification ── */
.toast-container {
position: fixed; top: 1rem; right: 1rem; z-index: var(--z-toast);
display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none;
}
.toast {
pointer-events: auto; padding: 0.65rem 1rem; border-radius: var(--radius-sm);
background: var(--bg-surface); border: 1px solid var(--border-light);
box-shadow: var(--shadow-lg); font-size: 0.85rem;
display: flex; align-items: center; gap: 0.5rem;
animation: toastIn 0.25s ease; max-width: 360px;
}
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-info { border-left: 3px solid var(--info); }
.toast-warning { border-left: 3px solid var(--warning); }
/* ── Empty state ── */
.empty-state {
text-align: center; padding: 3rem 1rem; color: var(--text-dim);
}
.empty-state-icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.5; }
.empty-state-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); margin-bottom: 0.3rem; }
.empty-state-desc { font-size: 0.9rem; margin-bottom: 1rem; }
/* ── Rarity colors ── */
.rarity-consumer { color: var(--rarity-consumer); }
.rarity-industrial { color: var(--rarity-industrial); }
.rarity-mil-spec { color: var(--rarity-mil-spec); }
.rarity-restricted { color: var(--rarity-restricted); }
.rarity-classified { color: var(--rarity-classified); }
.rarity-covert { color: var(--rarity-covert); }
.rarity-rare-special { color: var(--rarity-rare-special); }
.bg-rarity-consumer { background: rgba(176,176,176,0.12); }
.bg-rarity-industrial { background: rgba(94,152,217,0.12); }
.bg-rarity-mil-spec { background: rgba(75,105,255,0.12); }
.bg-rarity-restricted { background: rgba(136,71,255,0.12); }
.bg-rarity-classified { background: rgba(211,44,230,0.12); }
.bg-rarity-covert { background: rgba(235,75,75,0.12); }
.bg-rarity-rare-special { background: rgba(255,215,0,0.12); }
.glow-rarity-covert { box-shadow: 0 0 20px rgba(235,75,75,0.2); }
.glow-rarity-rare-special { box-shadow: 0 0 20px rgba(255,215,0,0.25); }
/* ── Admin Layout ── */
.admin-body { display: flex; min-height: 100vh; }
.admin-sidebar {
width: 240px; background: var(--bg-dark); border-right: 1px solid var(--border);
display: flex; flex-direction: column; flex-shrink: 0;
position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-brand {
padding: 1rem 1.15rem; border-bottom: 1px solid var(--border);
font-family: var(--font-display); font-size: 1rem;
display: flex; align-items: center; gap: 0.4rem;
}
.admin-sidebar-brand span { color: var(--primary); }
.admin-sidebar-nav { padding: 0.5rem; flex: 1; }
.admin-sidebar-link {
display: flex; align-items: center; gap: 0.5rem;
padding: 0.5rem 0.75rem; color: var(--text-dim); text-decoration: none;
border-radius: var(--radius-sm); transition: all var(--transition);
font-size: 0.85rem;
}
.admin-sidebar-link:hover { color: var(--text); background: var(--bg-hover); }
.admin-sidebar-link.active { color: var(--primary); background: var(--primary-subtle); }
.admin-sidebar-footer { padding: 0.75rem; border-top: 1px solid var(--border); }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
display: flex; align-items: center; justify-content: space-between;
padding: 0.75rem 1.5rem; border-bottom: 1px solid var(--border);
background: var(--bg-dark); flex-wrap: wrap; gap: 0.5rem;
}
.admin-topbar-title { font-family: var(--font-display); font-size: 1.1rem; }
.admin-topbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-content { padding: 1.5rem; flex: 1; }
.a-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.15rem; }
.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.a-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.9rem 1rem; }
.a-stat-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--primary); }
.a-stat-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.1rem; }
.a-table { width: 100%; }
.a-btn { padding: 0.4rem 0.85rem; border: none; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; cursor: pointer; text-transform: uppercase; letter-spacing: 0.04em; transition: all var(--transition); font-family: var(--font-body); }
.a-btn-primary { background: var(--primary); color: #000; }
.a-btn-primary:hover { box-shadow: 0 4px 12px var(--primary-glow); }
.a-btn-danger { background: var(--danger); color: #fff; }
.a-btn-success { background: var(--success); color: #000; }
.a-btn-outline { background: transparent; border: 1px solid var(--border-light); color: var(--text-dim); }
.a-btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.a-input {
width: 100%; padding: 0.4rem 0.7rem; font-size: 0.85rem;
background: var(--bg-dark); border: 1px solid var(--border-light);
border-radius: var(--radius-sm); color: var(--text); outline: none;
font-family: var(--font-body); transition: border-color var(--transition);
}
.a-input:focus { border-color: var(--primary); }
.a-badge { display: inline-flex; padding: 0.1rem 0.45rem; border-radius: 4px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; }
.a-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: var(--z-overlay); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fadeIn 0.15s ease; }
.a-modal { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); width: 100%; max-width: 520px; max-height: 85vh; overflow-y: auto; animation: modalSlideIn 0.2s ease; box-shadow: var(--shadow-xl); }
.a-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--border); }
.a-modal-title { font-family: var(--font-display); font-size: 0.95rem; }
.a-modal-close { background: none; border: none; color: var(--text-dim); font-size: 1.2rem; cursor: pointer; padding: 0.1rem; line-height: 1; transition: color var(--transition); }
.a-modal-close:hover { color: var(--text); }
.a-modal-body { padding: 1.15rem; }
.a-modal-footer { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 0.85rem 1.15rem; border-top: 1px solid var(--border); }
@media (max-width: 768px) {
.admin-sidebar { width: 60px; }
.admin-sidebar-brand span, .admin-sidebar-link span { display: none; }
.admin-sidebar-link { justify-content: center; padding: 0.6rem; }
.admin-sidebar-footer { display: none; }
}
/* ── Utilities ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-dim { color: var(--text-dim); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.78rem; }
.text-xs { font-size: 0.7rem; }
.font-display { font-family: var(--font-display); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-full { width: 100%; }
/* ── Animations ── */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 8px var(--primary-glow); } 50% { box-shadow: 0 0 25px rgba(245,158,11,0.5); } }
@keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideInDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-shake { animation: shake 0.4s ease; }
.animate-slideUp { animation: slideInUp 0.3s ease; }
.animate-scaleIn { animation: scaleIn 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* ── Responsive helpers ── */
@media (max-width: 1024px) {
.container { padding: 0 15px; }
}
@media (max-width: 768px) {
.hero { padding: 2.5rem 0; }
.section { padding: 1.5rem 0; }
.stats-grid { grid-template-columns: repeat(2, 1fr); }
.admin-content { padding: 1rem; }
.admin-topbar { padding: 0.6rem 1rem; }
}
@media (max-width: 480px) {
.stats-grid { grid-template-columns: 1fr; }
.hero-actions { flex-direction: column; align-items: stretch; }
.hero-actions .btn { justify-content: center; }
}