/* ============================================================
   CC Integral Fitness - Global Styles
   Colors: Orange #FF6B35 | Dark #1A1A2E | Black #0F0F23
   ============================================================ */

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

:root {
  --primary:        #FF6B35;
  --primary-dark:   #E55A25;
  --primary-light:  #FF8C5A;
  --secondary:      #0D0D0D;
  --dark:           #000000;
  --accent:         #E94560;
  --card-bg:        rgba(10, 10, 10, 0.85);
  --glass-bg:       rgba(255, 255, 255, 0.04);
  --glass-border:   rgba(255, 255, 255, 0.08);
  --text-primary:   #FFFFFF;
  --text-secondary: #B0B3C6;
  --text-muted:     #686B80;
  --success:        #2ECC71;
  --warning:        #F39C12;
  --danger:         #E74C3C;
  --info:           #3498DB;
  --font:           'Outfit', sans-serif;
  --font-display:   'Bebas Neue', sans-serif;
  --radius:         16px;
  --radius-sm:      8px;
  --radius-lg:      24px;
  --shadow:         0 8px 32px rgba(0,0,0,0.4);
  --shadow-primary: 0 8px 32px rgba(255,107,53,0.3);
  --transition:     0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

/* ── BACKGROUND ANIMATED ───────────────────────────────────── */
.bg-animated {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #000000;
  overflow: hidden;
}
.bg-animated::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  top: -200px; right: -200px;
  animation: float 8s ease-in-out infinite;
}
.bg-animated::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(233,69,96,0.12) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-40px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(0.95); }
}

/* ── GLASS CARD ─────────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,53,0.45);
  color: white;
}
.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  transform: translateY(-2px);
}
.btn-danger {
  background: linear-gradient(135deg, #E74C3C, #C0392B);
  color: white;
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(231,76,60,0.4); color:white; }
.btn-success {
  background: linear-gradient(135deg, #2ECC71, #27AE60);
  color: white;
}
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,204,113,0.4); color:white; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-xs { padding: 5px 12px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control option { background: var(--secondary); }
.input-icon { position: relative; }
.input-icon .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}
.input-icon .form-control { padding-left: 46px; }
.input-icon .toggle-pass {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.input-icon .toggle-pass:hover { color: var(--primary); }

/* ── ALERTS ──────────────────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid transparent;
  animation: slideInAlert 0.3s ease;
}
@keyframes slideInAlert {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.alert-success { background: rgba(46,204,113,0.15); border-color: rgba(46,204,113,0.3); color: #2ECC71; }
.alert-error   { background: rgba(231,76,60,0.15); border-color: rgba(231,76,60,0.3); color: #E74C3C; }
.alert-warning { background: rgba(243,156,18,0.15); border-color: rgba(243,156,18,0.3); color: #F39C12; }
.alert-info    { background: rgba(52,152,219,0.15); border-color: rgba(52,152,219,0.3); color: #3498DB; }

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success   { background: rgba(46,204,113,0.2); color: #2ECC71; border: 1px solid rgba(46,204,113,0.3); }
.badge-danger    { background: rgba(231,76,60,0.2); color: #E74C3C; border: 1px solid rgba(231,76,60,0.3); }
.badge-warning   { background: rgba(243,156,18,0.2); color: #F39C12; border: 1px solid rgba(243,156,18,0.3); }
.badge-info      { background: rgba(52,152,219,0.2); color: #3498DB; border: 1px solid rgba(52,152,219,0.3); }
.badge-secondary { background: rgba(255,255,255,0.1); color: var(--text-secondary); }

/* ── NAV / HEADER ────────────────────────────────────────────── */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,35,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: white;
}
.nav-logo span strong { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:hover, .nav-links a.active {
  color: white;
  background: var(--glass-bg);
}
.nav-links a.active { color: var(--primary); }
.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

/* ── CONTAINER ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 600px; }

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  padding: 32px 0 24px;
}
.page-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}
.page-title span { color: var(--primary); }
.page-subtitle { color: var(--text-secondary); font-size: 15px; }

/* ── KPI CARDS ───────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(255,107,53,0.3); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.stat-value { font-size: 32px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }

/* ── ACTIVITY CARDS ──────────────────────────────────────────── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.activity-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.activity-card-header {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.activity-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}
.activity-card-body { padding: 0 24px 20px; }
.schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  gap: 12px;
}
.schedule-item:last-child { border-bottom: none; }
.schedule-info { flex: 1; }
.schedule-day { font-weight: 700; font-size: 14px; color: var(--primary); }
.schedule-time { font-size: 13px; color: var(--text-secondary); }
.schedule-spots {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.spots-full { color: var(--danger); }

/* ── TABLES ──────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table thead tr {
  background: rgba(255,107,53,0.1);
}
.data-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.data-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}
.data-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.data-table td { padding: 14px 16px; color: var(--text-secondary); }
.data-table td:first-child { color: var(--text-primary); font-weight: 500; }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  transform: scale(0.9) translateY(-20px);
  transition: transform var(--transition), opacity var(--transition);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-header { margin-bottom: 24px; }
.modal-header h3 { font-size: 20px; }
.modal-close {
  float: right;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover { color: var(--danger); }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* ── AUTH PAGES ──────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 48px 40px;
}
.auth-logo {
  text-align: center;
  margin-bottom: 36px;
}
.auth-logo img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 12px; }
.auth-logo h1 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: white;
}
.auth-logo h1 span { color: var(--primary); }
.auth-logo p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-secondary); }

/* ── CLIENT SIDEBAR LAYOUT ───────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: rgba(15,15,35,0.9);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 50;
  transition: transform var(--transition);
  overflow-y: auto;
}
.sidebar-logo {
  padding: 24px 20px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--glass-border);
  text-decoration: none;
}
.sidebar-logo img { width: 36px; height: 36px; object-fit: contain; }
.sidebar-logo span { font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; color: white; }
.sidebar-logo span strong { color: var(--primary); }
.sidebar-nav { flex: 1; padding: 16px 12px; }
.sidebar-section { margin-bottom: 8px; }
.sidebar-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}
.sidebar-link i { width: 20px; text-align: center; font-size: 15px; }
.sidebar-link:hover { color: white; background: var(--glass-bg); }
.sidebar-link.active { color: var(--primary); background: rgba(255,107,53,0.12); }
.sidebar-link.active i { color: var(--primary); }
.sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--glass-border); }
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.sidebar-user .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.sidebar-user .user-info { overflow: hidden; }
.sidebar-user .user-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .user-role { font-size: 12px; color: var(--text-muted); }
.app-content {
  margin-left: 260px;
  flex: 1;
  padding: 32px;
  min-height: 100vh;
}
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,15,35,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 8px 0;
  z-index: 100;
}
.mobile-nav-links {
  display: flex;
  justify-content: space-around;
  list-style: none;
}
.mobile-nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.mobile-nav-links a i { font-size: 20px; }
.mobile-nav-links a.active, .mobile-nav-links a:hover { color: var(--primary); }

/* ── SUSPENSION BANNER ────────────────────────────────────────── */
.suspension-banner {
  background: linear-gradient(135deg, rgba(231,76,60,0.2), rgba(192,57,43,0.1));
  border: 1px solid rgba(231,76,60,0.4);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.suspension-banner .icon { font-size: 28px; color: var(--danger); flex-shrink: 0; }
.suspension-banner h4 { font-size: 16px; color: var(--danger); margin-bottom: 4px; }
.suspension-banner p { font-size: 13px; color: var(--text-secondary); }

/* ── PAYMENT CARD ─────────────────────────────────────────────── */
.payment-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(233,69,96,0.1));
  border: 1px solid rgba(255,107,53,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.payment-card .amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
}

/* ── PAGINATION ───────────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.pagination a, .pagination span {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.pagination a:hover { color: white; border-color: var(--primary); background: rgba(255,107,53,0.15); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: white; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-primary   { color: var(--primary) !important; }
.text-success   { color: var(--success) !important; }
.text-danger    { color: var(--danger) !important; }
.text-warning   { color: var(--warning) !important; }
.text-muted     { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-center    { text-align: center; }
.text-right     { text-align: right; }
.fw-bold        { font-weight: 700; }
.mb-0           { margin-bottom: 0 !important; }
.mb-1           { margin-bottom: 8px; }
.mb-2           { margin-bottom: 16px; }
.mb-3           { margin-bottom: 24px; }
.mb-4           { margin-bottom: 32px; }
.mt-2           { margin-top: 16px; }
.mt-3           { margin-top: 24px; }
.d-flex         { display: flex; }
.align-center   { align-items: center; }
.gap-2          { gap: 16px; }
.flex-1         { flex: 1; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; display: block; }
.empty-state h3 { color: var(--text-secondary); margin-bottom: 8px; }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  text-decoration: none;
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { transform: translateY(-3px) scale(1.1); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: rgba(15,15,35,0.9);
  border-top: 1px solid var(--glass-border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--primary); }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .app-content { margin-left: 0; padding: 20px 16px 80px; }
  .mobile-nav { display: block; }
  .auth-page { padding: 16px; }
  .auth-card { padding: 32px 20px; }
  .login-form-wrap { min-width: 100%; padding: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: 1fr; }
  #backToTop { bottom: 80px; }
  .payment-card { flex-direction: column; text-align: center; }
  
  .nav-links { display: none; } /* Hide links on mobile */
  .nav-logo span { font-size: 16px; }
  .nav-logo img { width: 32px; height: 32px; }
  .nav-user .btn { padding: 8px 12px; font-size: 13px; }
  
  .table-wrap {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 0 -16px;
    width: calc(100% + 32px);
  }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-title { font-size: 22px; }
  .btn { padding: 11px 22px; font-size: 14px; }
  .hero h1 { font-size: 44px; }
}
