/* ===================================================
   AllAccess Yard — Main Stylesheet
   Dark Industrial Theme
   =================================================== */

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

/* ---- Variables ---- */
:root {
  --bg-primary:    #0a0c10;
  --bg-secondary:  #111520;
  --bg-card:       #161b27;
  --bg-card-hover: #1c2235;
  --accent:        #f97316;
  --accent-hover:  #ea6c0a;
  --accent-dim:    rgba(249,115,22,.15);
  --blue:          #3b82f6;
  --blue-dim:      rgba(59,130,246,.15);
  --text:          #e8edf5;
  --text-muted:    #7c8899;
  --text-dim:      #4a5568;
  --border:        #1e2535;
  --border-light:  #262e42;
  --success:       #22c55e;
  --success-dim:   rgba(34,197,94,.15);
  --warning:       #f59e0b;
  --warning-dim:   rgba(245,158,11,.15);
  --danger:        #ef4444;
  --danger-dim:    rgba(239,68,68,.15);
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:     0 8px 48px rgba(0,0,0,.6);
  --transition:    0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* ===================================================
   Layout
   =================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===================================================
   Navigation
   =================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex; align-items: center;
}
.nav__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em;
}
.nav__logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav__links a:hover, .nav__links a.active {
  color: var(--text);
  background: var(--bg-card);
}
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__user {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.nav__hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px; background: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===================================================
   Buttons
   =================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,.4); color: #fff; }
.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn--secondary:hover { background: var(--bg-card); color: var(--text); border-color: var(--text-dim); }
.btn--blue {
  background: var(--blue);
  color: #fff;
}
.btn--blue:hover { background: #2563eb; color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--accent); padding: 8px 16px; }
.btn--ghost:hover { background: var(--accent-dim); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #dc2626; color: #fff; }
.btn--success { background: var(--success); color: #fff; }
.btn--success:hover { background: #16a34a; color: #fff; }
.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.btn--sm { padding: 6px 14px; font-size: 0.8rem; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ===================================================
   Badges & Tags
   =================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge--success { background: var(--success-dim); color: var(--success); }
.badge--warning { background: var(--warning-dim); color: var(--warning); }
.badge--danger  { background: var(--danger-dim);  color: var(--danger); }
.badge--blue    { background: var(--blue-dim);    color: var(--blue); }
.badge--gray    { background: var(--border);      color: var(--text-muted); }
.badge--accent  { background: var(--accent-dim);  color: var(--accent); }

/* ===================================================
   Cards
   =================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-light); }
.card--hover:hover { background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===================================================
   Forms
   =================================================== */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-input::placeholder { color: var(--text-dim); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c8899' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-select option { background: var(--bg-card); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 5px; }

/* ===================================================
   Tables
   =================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.table th {
  background: var(--bg-secondary);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-card-hover); }

/* ===================================================
   Stat Cards
   =================================================== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}
.stat-card--blue::before  { background: var(--blue); }
.stat-card--green::before { background: var(--success); }
.stat-card--yellow::before{ background: var(--warning); }
.stat-card--red::before   { background: var(--danger); }
.stat-icon {
  font-size: 1.6rem; margin-bottom: 10px;
}
.stat-value {
  font-size: 2rem; font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.stat-label {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ===================================================
   Alerts / Notifications
   =================================================== */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.alert--success { background: var(--success-dim); border: 1px solid var(--success); color: var(--success); }
.alert--warning { background: var(--warning-dim); border: 1px solid var(--warning); color: var(--warning); }
.alert--danger  { background: var(--danger-dim);  border: 1px solid var(--danger);  color: var(--danger); }
.alert--info    { background: var(--blue-dim);    border: 1px solid var(--blue);    color: var(--blue); }

/* ===================================================
   Modal
   =================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px; width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal__title { font-size: 1.2rem; font-weight: 700; }
.modal__close {
  background: var(--bg-secondary); border: none;
  color: var(--text-muted); width: 32px; height: 32px;
  border-radius: 8px; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.modal__close:hover { background: var(--danger-dim); color: var(--danger); }

/* ===================================================
   Sidebar Layout (Dashboard)
   =================================================== */
.app-layout {
  display: flex; min-height: 100vh;
}
.sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  position: fixed; top: 0; left: 0; bottom: 0;
  display: flex; flex-direction: column;
  overflow-y: auto; z-index: 500;
  transition: transform var(--transition);
}
.sidebar__logo {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800;
  color: var(--text);
}
.sidebar__logo-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.sidebar__logo span { color: var(--accent); }
.sidebar__nav { padding: 16px 12px; flex: 1; }
.sidebar__section-label {
  font-size: 0.7rem; font-weight: 700;
  color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 8px 4px;
  margin-top: 8px;
}
.sidebar__link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.sidebar__link:hover { background: var(--bg-card); color: var(--text); }
.sidebar__link.active { background: var(--accent-dim); color: var(--accent); }
.sidebar__link-icon { font-size: 1.05rem; width: 20px; text-align: center; }
.sidebar__footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}
.sidebar__user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-card);
}
.sidebar__avatar {
  width: 34px; height: 34px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: var(--accent);
}
.sidebar__user-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.sidebar__user-role { font-size: 0.75rem; color: var(--text-muted); }
.main-content {
  flex: 1; margin-left: 260px;
  padding: 24px;
  min-height: 100vh;
}
.page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.page-header p { color: var(--text-muted); margin-top: 4px; font-size: 0.9rem; }

/* ===================================================
   LANDING PAGE SPECIFIC
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(249,115,22,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(59,130,246,.06) 0%, transparent 50%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 780px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(249,115,22,.3);
  color: var(--accent);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero__stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero__stat-item { }
.hero__stat-num {
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text);
}
.hero__stat-num span { color: var(--accent); }
.hero__stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Availability Banner */
.availability {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.availability__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.availability__title {
  font-size: 0.85rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.availability__count {
  font-size: 2.4rem; font-weight: 900;
  letter-spacing: -0.05em; color: var(--text);
}
.availability__count .available { color: var(--success); }
.availability__count .total { color: var(--text-muted); font-size: 1.4rem; }
.availability__bar-wrap {
  flex: 1; min-width: 200px;
  background: var(--border); border-radius: 8px; height: 10px; overflow: hidden;
}
.availability__bar {
  height: 100%; border-radius: 8px;
  background: linear-gradient(90deg, var(--success), #16a34a);
  transition: width 1s ease;
}
.availability__bar.warning { background: linear-gradient(90deg, var(--warning), #d97706); }
.availability__bar.danger  { background: linear-gradient(90deg, var(--danger),  #dc2626); }

/* Services Section */
.services { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.04em;
}
.section-header p {
  color: var(--text-muted); margin-top: 10px;
  font-size: 1rem; max-width: 500px; margin-inline: auto;
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-card--blue:hover { border-color: var(--blue); }
.service-card--blue::after { background: var(--blue); }
.service-icon {
  width: 60px; height: 60px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px;
}
.service-card--blue .service-icon { background: var(--blue-dim); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.service-price {
  font-size: 1.8rem; font-weight: 900; color: var(--accent);
  letter-spacing: -0.04em; margin-bottom: 4px;
}
.service-price-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.service-features { margin-bottom: 24px; }
.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: var(--text-muted);
  margin-bottom: 8px;
}
.service-features li::before {
  content: '✓';
  color: var(--success); font-weight: 700; flex-shrink: 0;
}

/* How It Works */
.how-it-works { padding: 80px 0; background: var(--bg-secondary); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step {
  text-align: center; padding: 32px 20px;
}
.step-number {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: var(--accent);
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(249,115,22,.08) 0%, transparent 70%);
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.cta-section p { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer__brand { }
.footer__brand-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800; color: var(--text);
  margin-bottom: 12px;
}
.footer__brand-logo .icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.footer__tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer__col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer__copy { font-size: 0.83rem; color: var(--text-dim); }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 0.83rem; color: var(--text-dim); }

/* ===================================================
   Login Page
   =================================================== */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(249,115,22,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(59,130,246,.05) 0%, transparent 60%);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 800;
  margin-bottom: 32px;
}
.auth-logo .icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.auth-logo span { color: var(--accent); }
.auth-tabs {
  display: flex; gap: 4px;
  background: var(--bg-primary);
  border-radius: 10px; padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1; padding: 8px;
  border-radius: 7px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
  background: none; border: none;
  cursor: pointer; transition: all var(--transition);
  text-align: center;
}
.auth-tab.active { background: var(--bg-card); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  color: var(--text-dim); font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-light);
}
.auth-footer-link {
  text-align: center; margin-top: 20px;
  font-size: 0.85rem; color: var(--text-muted);
}

/* ===================================================
   Reserve Page
   =================================================== */
.reserve-page { padding: 100px 0 60px; min-height: 100vh; }
.reserve-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.parking-map-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.parking-map-wrap h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.parking-map-wrap p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.parking-legend {
  display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.legend-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: var(--text-muted);
}
.legend-dot {
  width: 12px; height: 12px; border-radius: 3px;
}
.legend-dot--available { background: var(--success); }
.legend-dot--occupied  { background: var(--danger); }
.legend-dot--selected  { background: var(--accent); }
.legend-dot--reserved  { background: var(--warning); }
.parking-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px;
}
.spot {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  user-select: none;
}
.spot--available {
  background: var(--success-dim); border-color: var(--success);
  color: var(--success);
}
.spot--available:hover { background: var(--success); color: #fff; transform: scale(1.05); }
.spot--occupied {
  background: var(--danger-dim); border-color: var(--danger);
  color: var(--danger); cursor: not-allowed;
}
.spot--selected {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: scale(1.05);
  box-shadow: 0 0 12px rgba(249,115,22,.5);
}
.spot--reserved {
  background: var(--warning-dim); border-color: var(--warning);
  color: var(--warning); cursor: not-allowed;
}
.spot-type-label {
  grid-column: 1 / -1;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 0.06em; padding: 6px 0 2px;
}
.reserve-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky; top: 90px;
}
.reserve-summary h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row .label { color: var(--text-muted); }
.summary-row .value { font-weight: 600; }
.summary-total {
  display: flex; justify-content: space-between;
  padding: 14px 0 0;
  font-size: 1rem; font-weight: 700;
  color: var(--accent);
}
.payment-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.payment-section h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.card-input-wrap { position: relative; }
.card-icons {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  display: flex; gap: 4px; font-size: 0.7rem;
}
.card-brand {
  background: var(--bg-secondary);
  padding: 2px 6px; border-radius: 3px;
  color: var(--text-muted); font-weight: 700;
}
.secure-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 10px;
}

/* ===================================================
   Loading Ramp Page
   =================================================== */
.ramp-page { padding: 100px 0 60px; min-height: 100vh; }
.ramp-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.ramp-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.ramp-hero-card h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.ramp-hero-card > p { color: var(--text-muted); margin-bottom: 28px; }
.time-slots-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.time-slot {
  padding: 10px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
}
.time-slot:hover { border-color: var(--accent); color: var(--accent); }
.time-slot.selected { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }
.time-slot.booked { border-color: var(--danger); background: var(--danger-dim); color: var(--danger); cursor: not-allowed; opacity: 0.6; }
.calendar-wrap { }
.calendar {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.calendar__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.calendar__title { font-size: 0.95rem; font-weight: 700; }
.calendar__nav {
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  padding: 4px 8px; border-radius: 6px;
  font-size: 1rem; transition: all var(--transition);
}
.calendar__nav:hover { background: var(--bg-card); color: var(--text); }
.calendar__days-header {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.calendar__day-label {
  padding: 8px 0;
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
}
.calendar__days {
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.calendar__day {
  padding: 10px 0; text-align: center;
  font-size: 0.85rem; cursor: pointer;
  border-radius: 6px; margin: 2px;
  transition: all var(--transition);
  color: var(--text-muted);
}
.calendar__day:not(.empty):not(.past):hover { background: var(--bg-card); color: var(--text); }
.calendar__day.selected { background: var(--accent); color: #fff; font-weight: 700; }
.calendar__day.today { color: var(--accent); font-weight: 700; }
.calendar__day.past { opacity: 0.3; cursor: not-allowed; }
.calendar__day.empty { cursor: default; }
.calendar__day.has-booking { position: relative; }
.calendar__day.has-booking::after { content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--warning); }

/* ===================================================
   Dashboard Widgets
   =================================================== */
.spot-display {
  background: linear-gradient(135deg, var(--accent-dim), var(--bg-card));
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
  margin-bottom: 20px;
}
.spot-display__label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; }
.spot-display__number { font-size: 4rem; font-weight: 900; color: var(--accent); letter-spacing: -0.05em; line-height: 1; }
.spot-display__sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.payment-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.payment-status-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.payment-status-card h4 { font-size: 0.9rem; font-weight: 700; }
.payment-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.payment-row:last-child { border-bottom: none; }
.payment-row .label { color: var(--text-muted); }

/* ===================================================
   Admin — Parking Map
   =================================================== */
.admin-parking-grid {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px;
}
.admin-spot {
  aspect-ratio: 1;
  border-radius: 5px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  padding: 4px; text-align: center;
}
.admin-spot--available { background: var(--success-dim); border-color: var(--success); color: var(--success); }
.admin-spot--occupied  { background: var(--danger-dim);  border-color: var(--danger);  color: var(--danger); }
.admin-spot--reserved  { background: var(--warning-dim); border-color: var(--warning); color: var(--warning); }
.admin-spot:hover { transform: scale(1.1); z-index: 1; }
.tow-hook-panel {
  background: linear-gradient(135deg, rgba(59,130,246,.1), var(--bg-card));
  border: 1px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.tow-hook-panel .lock-icon { font-size: 1.4rem; margin-bottom: 10px; }
.tow-hook-panel h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.tow-hook-panel > p { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 16px; }
.tow-price-display {
  font-size: 2.2rem; font-weight: 900;
  color: var(--blue); letter-spacing: -0.04em;
  margin-bottom: 14px;
}

/* ===================================================
   Utilities
   =================================================== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-success{ color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning{ color: var(--warning); }
.text-blue   { color: var(--blue); }
.mt-4  { margin-top: 4px;  }
.mt-8  { margin-top: 8px;  }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-4  { margin-bottom: 4px;  }
.mb-8  { margin-bottom: 8px;  }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px;  }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-sm  { font-size: 0.85rem; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }
.section { padding: 28px 0; }
.section + .section { border-top: 1px solid var(--border); }
.loading-spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--border-light);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0;
  transition: all 0.3s ease;
  max-width: 360px;
  font-size: 0.9rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { border-left: 4px solid var(--success); }
.toast--error   { border-left: 4px solid var(--danger); }
.toast--info    { border-left: 4px solid var(--blue); }
.empty-state {
  text-align: center; padding: 48px 20px;
  color: var(--text-muted);
}
.empty-state__icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state h3 { font-size: 1rem; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.empty-state p { font-size: 0.85rem; }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
  .reserve-layout, .ramp-layout { grid-template-columns: 1fr; }
  .reserve-summary, .ramp-sidebar { position: static; }
  .parking-grid { grid-template-columns: repeat(6, 1fr); }
  .admin-parking-grid { grid-template-columns: repeat(8, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    z-index: 999;
  }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 20px; }
  .availability__inner { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .time-slots-grid { grid-template-columns: repeat(2, 1fr); }
  .parking-grid { grid-template-columns: repeat(5, 1fr); }
  .admin-parking-grid { grid-template-columns: repeat(6, 1fr); }
  .table-wrap { font-size: 0.8rem; }
  .auth-card { padding: 28px 20px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .parking-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}
