/* =============================================
   MAILCUAN - Global Styles
   Light: Pure White | Dark: Pure Black
   ============================================= */

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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  outline: none;
}

html, body {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

html.modal-open, body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}

:root {
  /* Colors - Core */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: rgba(37, 99, 235, 0.1);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  /* Spacing Scale (8px Grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;

  /* Typography Scale */
  --ts-xs: 11px;
  --ts-sm: 13px;
  --ts-base: 14px;
  --ts-md: 16px;
  --ts-lg: 18px;
  --ts-xl: 20px;
  --ts-2xl: 24px;
  --ts-3xl: 30px;
  --ts-4xl: 36px;

  /* Design Tokens */
  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

/* Light Mode */
:root {
  --bg: #ffffff;
  --bg-2: #f9fafb;
  --bg-3: #f3f4f6;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-2: #d1d5db;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #9ca3af;
}

/* Dark Mode - Premium Slate */
.dark {
  --bg: #09090b;
  --bg-2: #18181b;
  --bg-3: #27272a;
  --card: #121215;
  --border: #27272a;
  --border-2: #3f3f46;
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg: 0 12px 64px rgba(0,0,0,0.8);
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: var(--ts-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}

/* CRITICAL: .hidden utility (replaces Tailwind) */
.hidden { display: none !important; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.shake {
    animation: shake 0.3s ease-in-out;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes countdownPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes rowIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,99,235,0.4); }
  50% { box-shadow: 0 4px 40px rgba(37,99,235,0.7); }
}
@keyframes pulse-soft {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.4s ease-out forwards; }
.animate-slide-down { animation: slideDown 0.3s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.25s ease-out forwards; }
.animate-spin { animation: spin 0.8s linear infinite; }

/* =============================================
   VISIBILITY UTILITIES
   ============================================= */
body:not(.is-logged-in) .auth-only { 
    display: none !important; 
}
body.is-logged-in .guest-only {
    display: none !important;
}

/* =============================================
   LAYOUT SHELL
   ============================================= */
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  padding-top: 72px; /* For fixed navbar */
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 80000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-pic {
  height: 38px;
  object-fit: contain;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1;
}

.navbar-actions { display: flex; gap: 8px; align-items: center; }

/* =============================================
   USER STATS CARD
   ============================================= */
.user-stats-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  animation: scaleIn 0.3s ease-out;
}

.user-stats-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}

.user-stats-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-2);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.user-stats-email i {
  font-size: 16px;
  color: var(--accent);
}

.user-stats-saldo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 14px 8px;
  border-radius: 12px;
}

.stat-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  font-family: 'SF Mono', 'Fira Mono', monospace;
  line-height: 1;
}

.stat-value-large {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1.5px;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.stat-item .warn { color: #d97706; }
.stat-item .success { color: #16a34a; }
.stat-item .danger { color: #dc2626; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius-sm);
  font-size: var(--ts-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.5; pointer-events: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { 
  background: var(--accent-hover); 
  border-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); 
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-3); color: var(--text); border-color: var(--border-2); }

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn-danger:hover { background: #dc2626; border-color: #dc2626; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2); }

.btn-success {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.btn-success:hover { background: #059669; border-color: #059669; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2); }

.btn-sm {
  padding: var(--s-2) var(--s-3);
  font-size: var(--ts-xs);
  border-radius: var(--radius-xs);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.btn-icon:hover { background: var(--bg-3); color: var(--text); border-color: var(--border-2); }

/* FAB */
.fab {
  position: fixed;
  bottom: var(--s-8);
  right: 50%;
  transform: translateX(50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
  animation: fabPulse 2.5s ease-in-out infinite;
  transition: all var(--transition);
  z-index: 40;
}
.fab:active { transform: translateX(50%) scale(0.9); }

/* =============================================
   CARD
   ============================================= */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: var(--shadow);
  animation: scaleIn 0.3s ease-out;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: var(--s-4); }
.form-label {
  display: block;
  font-size: var(--ts-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s-2);
}
.form-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s-3) var(--s-4);
  font-size: var(--ts-base);
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: all var(--transition);
}
.form-input:focus { 
  border-color: var(--accent); 
  box-shadow: 0 0 0 3px var(--accent-light); 
  background: var(--bg);
}
.form-input::placeholder { color: var(--text-3); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, .text-4xl { font-size: var(--ts-4xl); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
h2, .text-3xl { font-size: var(--ts-3xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
h3, .text-2xl { font-size: var(--ts-2xl); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
h4, .text-xl { font-size: var(--ts-xl); font-weight: 700; letter-spacing: -0.01em; }
.text-lg { font-size: var(--ts-lg); font-weight: 600; }
.text-md { font-size: var(--ts-md); font-weight: 500; }
.text-base { font-size: var(--ts-base); }
.text-sm { font-size: var(--ts-sm); color: var(--text-2); }
.text-xs { font-size: var(--ts-xs); color: var(--text-3); font-weight: 500; }

/* =============================================
   BADGE
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-blue { background: rgba(37,99,235,0.12); color: #2563eb; border: 1px solid rgba(37,99,235,0.2); }
.dark .badge-blue { background: rgba(37,99,235,0.15); }
.badge-green { background: rgba(22,163,74,0.12); color: #16a34a; border: 1px solid rgba(22,163,74,0.2); }
.dark .badge-green { background: rgba(22,163,74,0.15); }
.badge-red { background: rgba(220,38,38,0.1); color: #dc2626; border: 1px solid rgba(220,38,38,0.2); }
.badge-amber { background: rgba(217,119,6,0.1); color: #d97706; border: 1px solid rgba(217,119,6,0.2); }
.badge-gray { background: var(--bg-3); color: var(--text-2); border: 1px solid var(--border); }

.choice-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
    font-weight: 800;
}

/* =============================================
   TABLE
   ============================================= */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
  vertical-align: middle;
}
.data-table tbody tr {
  transition: background var(--transition);
  animation: rowIn 0.3s ease-out forwards;
}
.data-table tbody tr:hover { background: var(--bg-2); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* =============================================
   SALDO CHIP
   ============================================= */
.saldo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}
.saldo-amount {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

/* =============================================
   COUNTDOWN TIMER
   ============================================= */
.countdown-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  color: #dc2626;
  font-size: 16px;
  font-weight: 800;
  font-family: 'SF Mono', 'Fira Mono', monospace;
}
.dark .countdown-badge { background: rgba(220,38,38,0.12); border-color: rgba(220,38,38,0.3); }

/* =============================================
   VIEWS / SCREENS
   ============================================= */
.view { animation: fadeIn 0.25s ease-out; }
.view.hidden { display: none; }

/* =============================================
   AUTH GATE & LOADING
   ============================================= */

/* =============================================
   LOADING OVERLAY
   ============================================= */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 98000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeIn 0.2s ease-out;
}

/* =============================================
   TASK SCREEN
   ============================================= */
/* Redundant rule removed to prevent conflict with consolidated rule below */

/* Vertical Steps Styling */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.step-item {
  display: flex;
  gap: 14px;
}

.step-number {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
}

.step-content {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  padding-top: 3px;
}

.step-content strong {
  color: var(--text);
}
.loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.loading-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

/* =============================================
   TASK CARD ACTIVE
   ============================================= */
.task-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90000;
  overflow-y: auto;
  animation: fadeIn 0.25s ease-out;
  display: flex;
  flex-direction: column;
}
.task-screen-inner {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 72px 0 32px;
}
.task-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  z-index: 80000;
}

/* =============================================
   TOAST
   ============================================= */
.toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 360px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.3s ease-out;
  transition: all 0.3s ease;
  pointer-events: all;
  backdrop-filter: blur(8px);
}
.toast-success { background: var(--card); border: 1px solid var(--border); color: var(--text); }
.dark .toast-success { background: #181818; border-color: #2a2a2a; }
.toast-error { background: #fff0f0; border: 1px solid #fecaca; color: #991b1b; }
.dark .toast-error { background: #1a0000; border-color: #7f1d1d; color: #fca5a5; }

/* =============================================
   DIVIDER
   ============================================= */
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* =============================================
   ADMIN SPECIFIC
   ============================================= */
.admin-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =============================================
   AUTH PAGE
   ============================================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--bg);
}
.auth-card { width: 100%; max-width: 380px; }
.auth-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 4px;
}
.auth-subtitle {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 28px;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--text-3);
  gap: 10px;
}
.empty-state-icon { font-size: 40px; }
.empty-state-text { font-size: 13px; font-weight: 500; }

/* =============================================
   COPY BUTTON
   ============================================= */
.input-group {
  display: flex;
  gap: 8px;
}
.input-group .form-input { flex: 1; }
.copy-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
}
.copy-btn:hover { background: var(--bg-2); color: var(--text); border-color: var(--border-2); }
.copy-btn:active { transform: scale(0.92); }

/* =============================================
   STATUS ICONS
   ============================================= */
.status-success { color: var(--success); font-weight: 700; font-size: 12px; }
.status-antrean { color: var(--warning); font-weight: 700; font-size: 12px; }
.status-reject { color: var(--danger); font-weight: 700; font-size: 12px; }
.status-revision { color: var(--accent); font-weight: 700; font-size: 12px; }
.status-cancel { color: var(--text-3); font-weight: 700; font-size: 12px; }
.status-proses { color: var(--accent); font-weight: 700; font-size: 12px; }

.status-revision-btn {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.status-revision-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.revision-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.revision-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 640px) {
  .fab.fab-center {
    right: auto;
    left: 50%;
    transform: translateX(calc(-50% + 200px));
  }
  .fab.fab-center:active { transform: translateX(calc(-50% + 200px)) scale(0.92); }
}

/* =============================================
   CUSTOM MODAL (Alert / Confirm)
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 95000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 16px;
  animation: fadeIn 0.2s ease-out;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.center { align-items: center; padding: 20px; }

.modal-card {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius) var(--radius) 12px 12px;
  width: 100%;
  max-width: 480px;
  padding: 24px 20px 12px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
  animation: modalUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.center .modal-card {
  border-radius: var(--radius);
  animation: scaleIn 0.25s cubic-bezier(0.34,1.38,0.64,1);
  box-shadow: var(--shadow-md);
}

@keyframes modalUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}
.modal-icon.success { background: rgba(22,163,74,0.12); color: #16a34a; }
.modal-icon.danger  { background: rgba(220,38,38,0.1);  color: #dc2626; }
.modal-icon.warning { background: rgba(217,119,6,0.1);  color: #d97706; }
.modal-icon.info    { background: rgba(37,99,235,0.1);  color: #2563eb; }

.modal-title {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin-bottom: 8px;
}
.modal-body {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  line-height: 1.7;
  margin-bottom: 20px;
}
.modal-actions {
  display: grid;
  gap: 8px;
}
.modal-actions.two { grid-template-columns: 1fr 1fr; }

/* =============================================
   ACTIVE TASK BANNER (shown when minimized)
   ============================================= */
.task-active-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: all var(--transition);
  animation: fadeInUp 0.3s ease-out;
}
.task-active-banner:hover { background: rgba(37,99,235,0.13); }
.task-active-banner.hidden { display: none; }

.task-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.task-banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}
.task-banner-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.task-banner-timer {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'SF Mono', monospace;
}

/* Rules Section Accordion */
.rules-card { margin-bottom: 20px; padding: 0 !important; overflow: hidden; }

.rules-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    transition: background 0.2s ease;
}
.rules-toggle:hover { background: var(--hover); }

.rules-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(var(--accent-rgb, 99,102,241), 0.1);
    color: var(--accent);
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(var(--accent-rgb, 99,102,241), 0.2);
}

.rules-caret {
    font-size: 16px;
    color: var(--text-3);
    transition: transform 0.3s ease;
}
.rules-caret.open { transform: rotate(180deg); }

/* Collapsible body - smooth max-height animation */
.rules-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.rules-body.open { max-height: 2000px; }

.rules-inner {
    padding: 0 14px 14px;
    display: grid;
    gap: 6px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.rules-group-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent);
    margin-top: 4px;
    margin-bottom: 2px;
}
.rules-group-label.danger-label { color: var(--danger); }

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--hover);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.55;
    transition: background 0.15s ease;
}
.rule-item i {
    font-size: 17px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}
.rule-item strong { color: var(--text); }
.rule-item.warn {
    border-color: rgba(234, 179, 8, 0.25);
    background: rgba(234, 179, 8, 0.04);
}
.rule-item.warn i { color: #ca8a04; }
.rule-item.danger {
    border-color: rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.04);
}
.rule-item.danger i { color: var(--danger); }

/* =============================================
   RULES MODAL TABS
   ============================================= */

/* Tab Bar */

.rtab-bar {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.rtab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--text-3);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.rtab:hover { background: var(--hover); color: var(--text-2); }
.rtab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.rtab i { font-size: 14px; }

/* Tab Panels */
.rtab-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.rtab-panel {
    display: none;
    flex-direction: column;
    gap: 8px;
    animation: fadeInUp 0.25s ease;
}
.rtab-panel.active { display: flex; }
/* =============================================
   ADMIN TABS SYSTEM
   ============================================= */
.admin-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-2);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid var(--border);
  overflow-x: auto;
  white-space: nowrap;
  position: sticky;
  top: 60px;
  z-index: 45;
}
.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: transparent;
}
.tab-btn i { font-size: 18px; }
.tab-btn:hover { color: var(--text); background: var(--bg-3); }
.tab-btn.active {
  background: var(--card);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.dark .tab-btn.active {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-out;
}
.tab-content.active {
  display: block;
}

/* Database Table Specific */
.db-status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.db-status.success { background: rgba(22,163,74,0.1); color: #16a34a; }
.db-status.reject { background: rgba(220,38,38,0.1); color: #dc2626; }
.db-status.antrean { background: rgba(37,99,235,0.1); color: #2563eb; }

.stat-grid-admin {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .admin-tabs {
    position: sticky;
    top: 60px;
    margin: 0 -16px 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 6px 12px;
  }
  .tab-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  .tab-btn i { font-size: 16px; }
  
  .stat-grid-admin {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    margin: 0 -16px 20px !important;
    padding: 4px 16px 12px !important;
    gap: 12px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .stat-grid-admin::-webkit-scrollbar { display: none; }
  .stat-grid-admin > div {
    flex: 0 0 140px;
  }
  
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .data-table {
    min-width: 600px;
  }
  .data-table td, .data-table th {
    padding: 10px 12px;
    font-size: 12px;
  }
}

.admin-shell {
  min-height: calc(100vh - 100px);
  padding-bottom: 100px;
}

/* =============================================
   DRAWER & HAMBURGER MENU
   ============================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 96000;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer {
  position: fixed;
  top: 20px;
  left: 0;
  width: 300px;
  height: calc(100% - 40px);
  background: var(--card);
  border-right: 1px solid var(--border);
  border-radius: 0 40px 40px 0;
  z-index: 97000;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  will-change: transform;
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.drawer.active {
  transform: translateX(0);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2);
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-body {
  flex: 1;
  padding: 20px 12px;
  overflow-y: auto;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 20px;
  opacity: 0.6;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 16px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.drawer-item i {
  font-size: 22px;
  color: var(--text-3);
  transition: all 0.3s;
}

.drawer-item:hover {
  background: var(--bg-2);
  color: var(--accent);
  transform: translateX(8px) scale(1.02);
  padding-left: 24px;
}

.drawer-item:hover i {
  color: var(--accent);
  transform: scale(1.1) rotate(-10deg);
}

.drawer-item.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  border-left: 4px solid var(--accent);
}

.drawer-item.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
}

.drawer-item.active i {
  color: var(--accent);
}

/* =============================================
   LEGAL PAGES CONTENT
   ============================================= */
.legal-content {
  line-height: 1.8;
  color: var(--text-2);
  font-size: 14px;
}

.legal-content h1, .legal-content h2, .legal-content h3 {
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-section {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 20px;
}

/* =============================================
   NAVIGATION BUBBLE (FAB)
   ============================================= */
/* =============================================
   NAVIGATION BUBBLE (FAB)
   ============================================= */
.nav-bubble {
  position: fixed;
  left: -4px; /* Slightly tucked for the "handle" feel */
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 90px;
  border-radius: 0 16px 16px 0;
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Push icon to the visible edge */
  padding-right: 2px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 4px 0 15px rgba(37, 99, 235, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 1025px) {
    .admin-body .nav-bubble {
        display: none;
    }
}

.nav-bubble:hover {
  width: 44px;
  left: 0;
  padding-right: 10px;
  background: var(--accent);
  box-shadow: 6px 0 25px rgba(37, 99, 235, 0.3);
}

.nav-bubble:active {
  transform: translateY(-50%) scaleX(0.9);
}

@media (max-width: 768px) {
  .nav-bubble {
    width: 14px;
    height: 80px;
    font-size: 14px;
  }
  .nav-bubble:hover {
    width: 40px;
  }
}

/* =============================================
   TOASTS & MODALS UNIFIED
   ============================================= */
.toast-success i { color: var(--success); }
.toast-error i { color: var(--danger); }
.toast-warning i { color: var(--warning); }

/* Consistently menggunakan .modal-overlay di atas */
.dark .modal-overlay { background: rgba(0,0,0,0.73); }

.modal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
    padding: var(--s-6);
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--s-4);
    gap: var(--s-3);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.modal-icon.success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.modal-icon.danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.modal-icon.warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.modal-icon.info { background: rgba(37, 99, 235, 0.1); color: var(--accent); }

.modal-body {
    text-align: center;
    color: var(--text-2);
    font-size: var(--ts-sm);
    line-height: 1.6;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
    margin-top: var(--s-6);
}
.modal-actions.two { grid-template-columns: 1fr 1fr; }

/* Status Pages (Auth) Utilities */
.status-view-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--s-4);
}
.status-icon-large {
    font-size: 64px;
    margin-bottom: var(--s-2);
}
.status-details-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: var(--s-4);
    border-radius: var(--radius-sm);
    text-align: left;
    width: 100%;
    margin: var(--s-4) 0;
}

/* =============================================
   ADMIN REDESIGN - MODERN DASHBOARD
   ============================================= */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}

/* Sidebar */
.admin-sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 3000;
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
}

.sidebar-header {
    padding: var(--s-8) var(--s-6);
    display: flex;
    align-items: center;
    gap: var(--s-3);
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    flex: 1;
    padding: var(--s-6) var(--s-3);
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) var(--s-4);
    color: var(--text-2);
    text-decoration: none;
    font-size: var(--ts-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav-link i { font-size: 20px; color: var(--text-3); transition: color var(--transition); }
.nav-link:hover { background: var(--bg-2); color: var(--text); }
.nav-link:hover i { color: var(--accent); }
.nav-link.active { background: var(--accent-light); color: var(--accent); }
.nav-link.active i { color: var(--accent); }

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

/* Main Content */
.admin-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 72px; /* Consistency with app-shell padding */
}

.admin-header {
    height: 72px;
    background: var(--bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--s-6);
    position: fixed;
    top: 0;
    right: 0;
    left: 280px;
    z-index: 1500;
}

@media (max-width: 1024px) {
    .admin-header {
        left: 0;
        padding: 0 var(--s-4);
    }
}

.admin-page-body {
    padding: var(--s-6);
    padding-top: 24px;
    padding-bottom: 40px; /* Space for content */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .admin-page-body {
        padding-bottom: 100px; /* Extra space for Bottom Nav on mobile */
    }
}

/* Page Section */
.page-section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}
.page-section.active { display: block; }

/* Dashboard Cards (Refined) */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s-6);
    margin-bottom: var(--s-8);
}

.stat-card-premium {
    background: var(--card);
    border: 1px solid var(--border);
    padding: var(--s-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card-premium:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.stat-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--accent);
    opacity: 0.03;
    border-radius: 0 0 0 100%;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: var(--s-4);
}

/* Responsive (Mobile View) */
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
    .admin-header {
        padding: 0 var(--s-4);
    }
    .admin-page-body {
        padding: var(--s-4);
    }
}

/* Custom Settings Style */
.settings-group {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--s-6);
    margin-bottom: var(--s-6);
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--border);
}
.settings-row:last-child { border-bottom: none; }

.settings-info {
    flex: 1;
    padding-right: var(--s-4);
}
.settings-info h5 { font-size: var(--ts-md); font-weight: 700; margin-bottom: 2px; }
.settings-info p { font-size: var(--ts-xs); color: var(--text-3); }

.settings-action {
    display: flex;
    gap: var(--s-2);
    align-items: center;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
}
@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: flex;
    }
}

/* Bottom Navigation (Mobile Only) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px; /* Consistency with main app navbar */
    height: 72px; /* Consistency with header height */
    background: var(--bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    border-radius: 24px 24px 0 0; /* Premium look matching other navbars */
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    z-index: 80000; /* Consistency with main navbar */
    justify-content: space-around;
    align-items: center;
    padding: 0 var(--s-4);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-3);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    transition: all var(--transition);
    flex: 1;
}
.bottom-nav-item i { font-size: 24px; }
.bottom-nav-item.active { color: var(--accent); }

    .bottom-nav { display: flex; }
    .admin-page-body { padding-bottom: 80px; }
}

/* Sidebar Backdrop */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 2500;
    display: none;
    opacity: 0;
    transition: opacity var(--transition);
}
.sidebar-backdrop.active {
    display: block;
    opacity: 1;
}

/* Premium Stat Cards - Mobile Tuning */
@media (max-width: 480px) {
    .admin-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-3);
    }
    .stat-card-premium {
        padding: var(--s-4);
    }
    .stat-card-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .text-3xl { font-size: var(--ts-xl); }
}

/* =============================================
   GLOBAL BOTTOM NAVIGATION (SHELL)
   ============================================= */
.a-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--card);
    border-top: 1px solid var(--border);
    z-index: 200;
}

.a-bottom-nav-inner {
    display: flex;
    height: 100%;
}

.a-bottom-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-3);
    font-size: 10px;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
}

.a-bottom-btn i {
    font-size: 20px;
}

.a-bottom-btn.active {
    color: var(--accent);
}

.a-bottom-btn:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .a-bottom-nav {
        display: block;
    }
}
