/* ════════════════════════════════════════════════════════════════
   components.css — MiniFee Reusable UI Components
   ════════════════════════════════════════════════════════════════ */

/* ── App Layout Shell ────────────────────────────────────────── */
#app {
  position: relative;
  min-height: 100vh;
}

.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: screenIn var(--dur-normal) var(--ease);
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Gradient Headers ─────────────────────────────────────────── */
.grad-header {
  background: var(--indigo);
  padding: var(--sp-xl) var(--sp-lg) var(--sp-2xl);
  flex-shrink: 0;
}

.header-row {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.header-title {
  color: #fff;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  flex: 1;
}

.back-btn, .header-action {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.back-btn:hover, .header-action:hover {
  background: rgba(255,255,255,0.3);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  width: 100%;
  padding: 13px;
  background: var(--indigo);
  color: #fff;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-sm);
}
.btn-primary:hover  { background: var(--indigo-light); box-shadow: 0 4px 16px rgba(79,70,229,0.35); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  width: 100%;
  padding: 11px;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--indigo);
  border: 1.5px solid var(--indigo);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background var(--dur-fast) var(--ease);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-sm);
}
.btn-outline:hover { background: #EEF2FF; }

.btn-whatsapp {
  width: 100%;
  padding: 12px;
  border-radius: var(--r-md);
  background: #25D366;
  color: #fff;
  border: none;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: var(--sp-sm);
  transition: background var(--dur-fast) var(--ease);
}
.btn-whatsapp:hover { background: #1ebe5d; }

.btn-google {
  width: 100%;
  padding: 11px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-sm);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn-google:hover { border-color: var(--indigo-light); box-shadow: var(--shadow); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--text);
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-input::placeholder { color: var(--text-3); }

.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--text);
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.form-select:focus { border-color: var(--indigo); outline: none; }

.form-row { display: flex; gap: var(--sp-sm); }
.form-row .form-group { flex: 1; }

.form-section-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 14px 0 8px;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow);
}

.card-sm {
  background: var(--card);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* ── Stat Cards ──────────────────────────────────────────────── */
.stat-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 14px 12px;
  box-shadow: var(--shadow);
}
.stat-icon { font-size: 18px; margin-bottom: 6px; }
.stat-val  { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--text); }
.stat-lbl  { font-size: 10px; color: var(--text-2); font-weight: 500; margin-top: 2px; }
.stat-tag  { display: inline-block; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px; margin-top: 4px; }

/* ── Avatars ─────────────────────────────────────────────────── */
.av {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.av-sm { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
.av-lg { width: 42px; height: 42px; border-radius: 14px; font-size: 15px; }
.av-xl { width: 56px; height: 56px; border-radius: 18px; font-size: 22px; }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
}
.badge-paid    { background: #D1FAE5; color: #065F46; }
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-overdue { background: #FEE2E2; color: #991B1B; }

/* ── Student Card ────────────────────────────────────────────── */
.student-card {
  background: var(--card);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  margin-bottom: var(--sp-sm);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.student-card:hover       { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.student-card:active      { transform: scale(0.99); }
.student-info             { flex: 1; min-width: 0; }
.student-name             { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.student-meta             { font-size: 10px; color: var(--text-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Activity / Payment List Item ───────────────────────────── */
.activity-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }
.activity-info { flex: 1; min-width: 0; }
.activity-name { font-size: 12px; font-weight: 600; color: var(--text); }
.activity-sub  { font-size: 10px; color: var(--text-2); margin-top: 1px; }
.activity-amount { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--mint); white-space: nowrap; }

/* ── Search Bar ──────────────────────────────────────────────── */
.search-bar {
  margin: 14px 14px 10px;
  background: #fff;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  transition: border-color var(--dur-fast) var(--ease);
}
.search-bar:focus-within { border-color: var(--indigo); }
.search-bar input {
  border: none;
  background: none;
  flex: 1;
  font-size: 12px;
  color: var(--text);
}
.search-bar .icon { font-size: 14px; color: var(--text-3); }

/* ── Filter Chips ────────────────────────────────────────────── */
.filter-row {
  display: flex;
  gap: 6px;
  padding: 0 14px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  background: #EEF2FF;
  color: var(--indigo);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.filter-chip.active, .filter-chip:hover { background: var(--indigo); color: #fff; }

/* ── Month Chips ─────────────────────────────────────────────── */
.month-selector {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.month-selector::-webkit-scrollbar { display: none; }
.month-chip {
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.month-chip.active { background: #fff; color: var(--indigo); }
.month-chip:hover:not(.active) { background: rgba(255,255,255,0.25); }

/* ── Section Head ────────────────────────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-md);
}
.section-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.see-all       { font-size: 11px; color: var(--indigo); font-weight: 600; cursor: pointer; }

/* ── Quick Action Buttons ────────────────────────────────────── */
.quick-actions { display: flex; gap: var(--sp-sm); margin-bottom: 20px; }
.qa-btn {
  flex: 1;
  background: #EEF2FF;
  border-radius: var(--r-md);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.qa-btn:hover  { background: #e0e7ff; }
.qa-btn:active { transform: scale(0.96); }
.qa-icon  { font-size: 20px; }
.qa-label { font-size: 9px; font-weight: 700; color: var(--indigo); text-align: center; }

/* ── Progress Bar ────────────────────────────────────────────── */
.progress-bar-bg   { height: 5px; background: #EEF2FF; border-radius: var(--r-full); margin-top: 6px; }
.progress-bar-fill { height: 5px; background: linear-gradient(90deg, var(--mint), #34D399); border-radius: var(--r-full); transition: width 0.6s var(--ease); }

/* ── Floating Action Button ──────────────────────────────────── */
.fab {
  position: fixed;
  bottom: calc(var(--nav-bar-h) + 16px);
  right: max(16px, calc(50% - 240px + 16px));
  width: 52px; height: 52px;
  background: var(--indigo);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  box-shadow: 0 4px 20px rgba(79,70,229,0.45);
  cursor: pointer;
  z-index: 999;
  user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.fab:hover  { transform: scale(1.08); box-shadow: 0 6px 24px rgba(79,70,229,0.5); }
.fab:active { transform: scale(0.96); }

/* ── Bottom Navigation Bar ───────────────────────────────────── */
.nav-bar {
  display: flex;
  background: #fff;
  padding: 10px 8px 12px;
  border-top: 1px solid var(--border);
  position: fixed;
  bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  height: var(--nav-bar-h);
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  position: relative;
}
.nav-icon  { display: flex; align-items: center; justify-content: center; color: #9CA3AF; transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.nav-label { font-size: 10px; font-weight: 600; color: #9CA3AF; transition: color var(--dur-fast) var(--ease); }
.nav-dot   { width: 4px; height: 4px; background: #0066FF; border-radius: 50%; opacity: 0; transition: opacity var(--dur-fast) var(--ease); margin-top: 2px; }
.nav-item.active .nav-label { color: #0066FF; }
.nav-item.active .nav-icon  { color: #0066FF; transform: translateY(-2px); }
.nav-item.active .nav-dot   { opacity: 1; }
.nav-item:hover .nav-icon   { transform: translateY(-2px); }

/* ── Sidebar Navigation (Desktop) ───────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 200;
  padding: var(--sp-xl) 0;
  box-shadow: var(--shadow);
}
.sidebar-logo {
  padding: 0 var(--sp-xl) var(--sp-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-md);
}
.sidebar-logo-text { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--indigo); }
.sidebar-logo-sub  { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 0 var(--sp-sm); overflow-y: auto; }
.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 11px var(--sp-md);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  margin-bottom: 2px;
}
.sidebar-item:hover  { background: #EEF2FF; color: var(--indigo); }
.sidebar-item.active { background: #EEF2FF; color: var(--indigo); font-weight: 700; }
.sidebar-item .icon  { font-size: 18px; width: 24px; text-align: center; }
.sidebar-item .label { font-size: 13px; font-weight: 500; }
.sidebar-item.active .label { font-weight: 700; }

/* ── Main Content Area (Desktop) ─────────────────────────────── */
.main-content {
  padding-bottom: var(--nav-bar-h);
}

/* ── Info Card (Key-Value pairs) ─────────────────────────────── */
.info-card { background: #fff; border-radius: var(--r-md); padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #F3F4F6; }
.info-row:last-child { border-bottom: none; }
.info-key { font-size: 11px; color: var(--text-2); }
.info-val { font-size: 12px; font-weight: 600; color: var(--text); }

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; background: #EEF2FF; border-radius: 10px; padding: 3px; margin-bottom: 14px; }
.tab {
  flex: 1;
  padding: 7px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.tab.active { background: #fff; color: var(--indigo); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

/* ── Toggle Switch ───────────────────────────────────────────── */
.toggle {
  width: 40px; height: 22px;
  background: var(--border);
  border-radius: var(--r-full);
  position: relative;
  cursor: pointer;
  transition: background var(--dur-normal) var(--ease);
  flex-shrink: 0;
}
.toggle.on { background: var(--mint); }
.toggle-dot {
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform var(--dur-normal) var(--ease);
}
.toggle.on .toggle-dot { transform: translateX(18px); }

/* ── Settings Items ──────────────────────────────────────────── */
.settings-section { background: #fff; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.settings-item {
  display: flex; align-items: center; gap: var(--sp-md);
  padding: 13px 14px;
  border-bottom: 1px solid #F3F4F6;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.settings-item:last-child { border-bottom: none; }
.settings-item:hover { background: #fafafa; }
.settings-item-icon { font-size: 18px; width: 24px; text-align: center; }
.settings-item-text { flex: 1; font-size: 13px; font-weight: 500; }
.settings-item-arrow { font-size: 12px; color: var(--text-3); }

/* ── Payment Mode Grid ───────────────────────────────────────── */
.payment-modes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); margin-bottom: 14px; }
.mode-btn {
  padding: 12px var(--sp-sm);
  background: #fff;
  border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.mode-btn:hover              { border-color: var(--indigo-light); background: #EEF2FF; }
.mode-btn.selected           { border-color: var(--indigo); background: #EEF2FF; }
.mode-icon                   { font-size: 20px; }
.mode-label                  { font-size: 10px; font-weight: 700; color: var(--text-2); }
.mode-btn.selected .mode-label { color: var(--indigo); }

/* ── Month Grid (collect fee) ────────────────────────────────── */
.months-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.month-btn {
  padding: 8px 4px;
  background: #fff;
  border-radius: var(--r-sm);
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-2);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.month-btn.selected { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.month-btn.paid     { background: #D1FAE5; color: #065F46; border-color: #A7F3D0; cursor: default; }
.month-btn:hover:not(.paid) { border-color: var(--indigo-light); }

/* ── Receipt Card ────────────────────────────────────────────── */
.receipt-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.receipt-top { background: var(--grad-primary); padding: 20px; text-align: center; }
.receipt-top .check { font-size: 36px; margin-bottom: 8px; }
.receipt-amount { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: #fff; margin-top: 4px; }
.receipt-no { color: rgba(255,255,255,0.6); font-size: 10px; margin-top: 4px; }
.receipt-divider {
  display: flex; align-items: center; overflow: hidden;
}
.receipt-circle { width: 18px; height: 18px; background: var(--bg); border-radius: 50%; flex-shrink: 0; }
.receipt-circle-l { margin-left: -9px; }
.receipt-circle-r { margin-right: -9px; margin-left: auto; }
.receipt-dashed   { flex: 1; border-top: 2px dashed #E5E7EB; margin: 0 6px; }
.receipt-body { padding: 14px 18px; }
.receipt-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #F3F4F6; }
.receipt-row:last-child { border-bottom: none; }
.r-key { font-size: 11px; color: var(--text-2); }
.r-val { font-size: 12px; font-weight: 600; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider { display: flex; align-items: center; gap: var(--sp-md); margin: 16px 0; }
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: 11px; color: var(--text-3); }

/* ── Photo Upload ────────────────────────────────────────────── */
.photo-upload {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-sm);
  padding: 16px; background: #EEF2FF; border-radius: 14px;
  border: 2px dashed #A5B4FC; margin-bottom: 10px; cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.photo-upload:hover { background: #e0e7ff; }
.photo-circle {
  width: 60px; height: 60px; background: #C7D2FE; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  overflow: hidden;
}
.photo-circle img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload span { font-size: 11px; color: var(--indigo); font-weight: 600; }

/* ── Toast / Snackbar ────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-bar-h) + 16px);
  left: 50%; transform: translateX(-50%);
  background: #1E1B4B;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  white-space: nowrap;
  animation: toastIn 0.25s var(--ease) forwards;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Offline Banner ──────────────────────────────────────────── */
.offline-banner {
  position: fixed;
  top: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  background: var(--amber);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
  z-index: 9998;
  transform: translateY(-100%);
  transition: transform var(--dur-normal) var(--ease);
}
.offline-banner.show { transform: translateY(0); }

/* ── Modal Overlay ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0; max-width: 480px; margin: 0 auto; left: 0; right: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  animation: fadeIn var(--dur-fast) var(--ease);
}
.modal-sheet {
  background: #fff;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  padding: var(--sp-xl) var(--sp-lg);
  width: 100%;
  animation: slideUp var(--dur-normal) var(--ease);
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ── Skeleton Loaders ────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #EEF2FF 25%, #e0e7ff 50%, #EEF2FF 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk-line { height: 12px; border-radius: var(--r-full); margin-bottom: 8px; }
.sk-card { height: 72px; border-radius: var(--r-md); margin-bottom: var(--sp-sm); }

/* ── Notification Badge ──────────────────────────────────────── */
.notif-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  position: relative; cursor: pointer;
}
.notif-badge {
  width: 8px; height: 8px;
  background: var(--rose);
  border-radius: 50%;
  position: absolute; top: 6px; right: 6px;
  border: 1.5px solid var(--indigo);
}

/* ── Action Pills ────────────────────────────────────────────── */
.action-pill {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700;
  background: #EEF2FF; color: var(--indigo);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.action-pill:hover { background: #e0e7ff; }

/* ── Upgrade / Plan Card ─────────────────────────────────────── */
.plan-card {
  background: var(--grad-amber);
  border-radius: var(--r-md); padding: 14px;
  margin-bottom: 10px; border: 2px solid var(--amber);
}
.plan-badge { display: inline-block; background: var(--amber); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 8px; border-radius: 6px; margin-bottom: 6px; text-transform: uppercase; }
.plan-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #92400E; }
.plan-desc  { font-size: 11px; color: #78350F; margin-top: 2px; }
.plan-upgrade { display: inline-block; margin-top: 8px; background: var(--amber); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: var(--r-full); cursor: pointer; }

/* ── Mini Bar Chart ──────────────────────────────────────────── */
.mini-bar { height: 3px; background: #EEF2FF; border-radius: var(--r-full); margin-top: 6px; }
.mini-bar-fill { height: 3px; border-radius: var(--r-full); }
