/* ======================================
   CHAI CODE CINEMA — PREMIUM STYLESHEET
   ====================================== */

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

/* ── CSS DESIGN TOKENS ── */
:root {
  /* Brand */
  --red:            #f84464;
  --red-dk:         #d62a4e;
  --red-light:      #ff6b8a;
  --red-glow:       rgba(248, 68, 100, 0.22);
  --red-glass:      rgba(248, 68, 100, 0.10);
  --green:          #4ade80;
  --gold:           #f59e0b;

  /* Dark Theme Surfaces */
  --bg:             #0c0c10;
  --bg-s:           #13131a;
  --bg-card:        #1a1a26;
  --bg-elevated:    #22223a;
  --bg-nav:         rgba(12, 12, 16, 0.85);

  /* Borders */
  --bd:             rgba(255, 255, 255, 0.06);
  --bd2:            rgba(255, 255, 255, 0.10);
  --bd-focus:       rgba(248, 68, 100, 0.60);

  /* Text */
  --t1:             #f0f0f8;
  --t2:             #9090b8;
  --t3:             #55556a;

  /* Seat States */
  --seat-av:        #22223a;
  --seat-av-b:      #3a3a5c;
  --seat-hover-bg:  #2d1a2e;
  --seat-hover-b:   #f84464;
  --seat-sel-bg:    #f84464;
  --seat-sel-b:     #f84464;
  --seat-bk-bg:     #111118;
  --seat-bk-b:      #252535;
  --seat-prem-bg:   #142014;
  --seat-prem-b:    #2d6b2d;

  /* Feedback */
  --ok:             #4ade80;
  --er:             #f87171;
  --info:           #60a5fa;

  /* Effects */
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:      0 8px 28px rgba(0,0,0,0.5);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.7);
  --glow-red:       0 0 20px rgba(248,68,100,0.3), 0 0 40px rgba(248,68,100,0.1);
  --transition:     0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg:             #f5f5fa;
  --bg-s:           #ffffff;
  --bg-card:        #f0f0f8;
  --bg-elevated:    #e8e8f4;
  --bg-nav:         rgba(255,255,255,0.90);

  --bd:             rgba(0,0,0,0.06);
  --bd2:            rgba(0,0,0,0.10);

  --t1:             #12121e;
  --t2:             #5a5a7a;
  --t3:             #9090aa;

  --seat-av:        #e8e8f4;
  --seat-av-b:      #c0c0da;
  --seat-hover-bg:  #fde8ec;
  --seat-hover-b:   #f84464;
  --seat-bk-bg:     #d0d0e4;
  --seat-bk-b:      #b0b0cc;
  --seat-prem-bg:   #e8f5e8;
  --seat-prem-b:    #86c986;

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 8px 28px rgba(0,0,0,0.12);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.15);
  --glow-red:       0 0 20px rgba(248,68,100,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--t1);
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grid background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(248,68,100,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,68,100,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--red), var(--red-dk));
  border-radius: 999px;
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav {
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 400;
  border-bottom: 1px solid var(--bd);
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo span { color: var(--red); }

.logo-ic {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-red);
  flex-shrink: 0;
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Nav Buttons */
.btn-n {
  background: transparent;
  border: 1px solid var(--bd2);
  color: var(--t2);
  padding: 7px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-n:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-glass);
}

.btn-nr {
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  border: 1px solid var(--red);
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 12px var(--red-glow);
}
.btn-nr:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--red-glow);
  filter: brightness(1.1);
}

/* Theme Toggle */
.tbtn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--bd2);
  color: var(--t2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.tbtn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-glass);
}

/* User Chip */
.uchip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--bd2);
  border-radius: 10px;
  padding: 5px 12px 5px 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.uchip:hover {
  border-color: var(--red);
  background: var(--red-glass);
  box-shadow: 0 0 0 3px var(--red-glass);
}

.uav {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--red), #a32040);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.unm {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t1);
}

/* ══════════════════════════════════════════
   BANNER / MOVIE INFO SECTION
══════════════════════════════════════════ */
.banner {
  background: var(--bg-s);
  border-bottom: 1px solid var(--bd);
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow behind banner */
.banner::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(248,68,100,0.08), transparent 70%);
  pointer-events: none;
}

.poster {
  width: 62px;
  height: 90px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--bd2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.poster-in {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1e0f1a 0%, #0f0f2d 60%, #1a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.minfo {
  flex: 1;
  min-width: 180px;
}

.mtitle {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--t1);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.mtags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.tag {
  background: var(--bg-elevated);
  border: 1px solid var(--bd2);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--t2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag.red  { border-color: rgba(248,68,100,0.5); color: var(--red); background: var(--red-glass); }
.tag.gold { border-color: rgba(245,158,11,0.5); color: var(--gold); background: rgba(245,158,11,0.08); }

.strow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.stlbl {
  font-size: 0.7rem;
  color: var(--t3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stb {
  border: 1px solid var(--bd2);
  background: var(--bg-elevated);
  color: var(--t2);
  padding: 5px 13px;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.stb:hover {
  border-color: rgba(248,68,100,0.5);
  color: var(--red);
  background: var(--red-glass);
}
.stb.active {
  background: var(--red-glass);
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 0 2px var(--red-glass);
}

.venue {
  font-size: 0.7rem;
  color: var(--t3);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════ */
.main {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px 120px;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════
   CINEMA SCREEN
══════════════════════════════════════════ */
.scr-w {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 16px;
}

.scr {
  display: inline-block;
  width: min(70%, 480px);
  height: 4px;
  border-radius: 999px;
  position: relative;
  background: transparent;
  margin-bottom: 10px;
}

.scr::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(248,68,100,0.3) 20%,
    rgba(255,255,255,0.7) 40%,
    #fff 50%,
    rgba(255,255,255,0.7) 60%,
    rgba(248,68,100,0.3) 80%,
    transparent 100%
  );
  filter: blur(0.5px);
}

/* Screen glow underneath */
.scr::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.12) 0%, transparent 75%);
  filter: blur(4px);
}

.scr-t {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t3);
  font-weight: 700;
}

/* ══════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════ */
.sec-h {
  text-align: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--t3);
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sec-h::before,
.sec-h::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--bd2);
}

.sec-h.p {
  color: #5ecc5e;
}
.sec-h.p::before,
.sec-h.p::after {
  background: rgba(94, 204, 94, 0.2);
}

/* ══════════════════════════════════════════
   SEAT GRID
══════════════════════════════════════════ */
.seat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}

.rlbl {
  width: 18px;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--t3);
  text-align: center;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
}

/* Base seat */
.seat {
  width: 28px;
  height: 24px;
  border-radius: 5px 5px 3px 3px;
  border: 1px solid var(--seat-av-b);
  background: var(--seat-av);
  cursor: pointer;
  transition: transform 0.14s var(--transition), background 0.14s, border-color 0.14s, box-shadow 0.14s;
  position: relative;
  flex-shrink: 0;
}

/* Seat headrest */
.seat::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 5px;
  right: 5px;
  height: 3px;
  background: var(--seat-av-b);
  border-radius: 2px 2px 0 0;
  transition: background 0.14s;
}

/* Hover */
.seat:hover:not(.booked) {
  background: var(--seat-hover-bg);
  border-color: var(--seat-hover-b);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px var(--red-glow), 0 2px 4px rgba(0,0,0,0.3);
  z-index: 2;
}
.seat:hover:not(.booked)::after {
  background: var(--red);
}

/* Selected */
.seat.selected {
  background: var(--red);
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--red-glow), 0 0 0 2px var(--red-glass);
  z-index: 1;
}
.seat.selected::after {
  background: rgba(255,255,255,0.4);
}

/* Booked */
.seat.booked {
  background: var(--seat-bk-bg);
  border-color: var(--seat-bk-b);
  cursor: not-allowed;
  opacity: 0.38;
}
.seat.booked::after {
  background: var(--seat-bk-b);
}

/* Premium */
.seat.premium {
  background: var(--seat-prem-bg);
  border-color: var(--seat-prem-b);
}
.seat.premium::after {
  background: var(--seat-prem-b);
}
.seat.premium:hover:not(.booked) {
  background: #1c3a1c;
  border-color: #6abf4b;
  box-shadow: 0 6px 16px rgba(74,222,128,0.2);
}
.seat.premium:hover:not(.booked)::after {
  background: #6abf4b;
}

/* Gap spacer */
.seat.gap {
  visibility: hidden;
  pointer-events: none;
}

/* ── SKELETON ── */
.skel {
  width: 28px;
  height: 24px;
  border-radius: 5px 5px 3px 3px;
  background: var(--bg-card);
  flex-shrink: 0;
  animation: skel-pulse 1.4s ease-in-out infinite;
}

@keyframes skel-pulse {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.55; }
}

/* ══════════════════════════════════════════
   LEGEND
══════════════════════════════════════════ */
.legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--bd);
}

.li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.71rem;
  color: var(--t2);
  font-weight: 600;
}

.ls {
  width: 18px;
  height: 15px;
  border-radius: 3px 3px 2px 2px;
  border: 1px solid;
  position: relative;
  flex-shrink: 0;
}
.ls::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 3px;
  right: 3px;
  height: 3px;
  border-radius: 2px 2px 0 0;
}

.ls.av { background: var(--seat-av); border-color: var(--seat-av-b); }
.ls.av::after { background: var(--seat-av-b); }

.ls.pm { background: var(--seat-prem-bg); border-color: var(--seat-prem-b); }
.ls.pm::after { background: var(--seat-prem-b); }

.ls.sl { background: var(--red); border-color: var(--red-light); }
.ls.sl::after { background: rgba(255,255,255,0.4); }

.ls.bk { background: var(--seat-bk-bg); border-color: var(--seat-bk-b); opacity: 0.5; }
.ls.bk::after { background: var(--seat-bk-b); }

/* ══════════════════════════════════════════
   BOOKING BOTTOM BAR
══════════════════════════════════════════ */
.bbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bg-card);
  border-top: 1px solid var(--bd2);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.5, 0.64, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.bbar.show {
  transform: translateY(0);
}

.bbar-info { display: flex; flex-direction: column; gap: 2px; }

.bst {
  font-size: 0.72rem;
  color: var(--t2);
  font-weight: 600;
}

.bprice {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.02em;
}

.btn-pay {
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  border: none;
  color: #fff;
  padding: 12px 32px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 20px var(--red-glow);
  position: relative;
  overflow: hidden;
}
.btn-pay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}
.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--red-glow);
  filter: brightness(1.1);
}
.btn-pay:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ══════════════════════════════════════════
   OVERLAY / MODAL
══════════════════════════════════════════ */
.ov {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.ov.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--bd2);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: scale(0.88) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.ov.open .modal {
  transform: scale(1) translateY(0);
}

/* Close button */
.mx {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--bd2);
  color: var(--t3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition);
}
.mx:hover {
  background: rgba(248,68,100,0.12);
  border-color: rgba(248,68,100,0.4);
  color: var(--red);
}

/* Modal branding */
.mlogo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 3px;
  letter-spacing: -0.03em;
}
.mlogo span { color: var(--red); }

.msub {
  font-size: 0.8rem;
  color: var(--t3);
  margin-bottom: 22px;
  font-weight: 500;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--bd2);
  margin-bottom: 22px;
  gap: 0;
}

.tab {
  flex: 1;
  padding: 9px 8px;
  text-align: center;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t3);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.tab:hover:not(.active) { color: var(--t1); }

/* Form groups */
.fg {
  margin-bottom: 16px;
}

.fl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--t2);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fi {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--bd2);
  border-radius: 9px;
  padding: 10px 13px;
  color: var(--t1);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.fi:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glass);
}
.fi::placeholder { color: var(--t3); }

/* Password wrapper */
.pw-w { position: relative; }
.pw-w .fi { padding-right: 42px; }

.eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--t3);
  display: flex;
  align-items: center;
  padding: 4px;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.eye:hover { color: var(--red); }

/* Forgot password link */
.f-pw {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 18px;
}
.f-pw a {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.f-pw a:hover { opacity: 0.75; text-decoration: underline; }

/* Form submit button */
.btn-sub {
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  border: none;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  margin-top: 4px;
  box-shadow: 0 4px 16px var(--red-glow);
  position: relative;
  overflow: hidden;
}
.btn-sub::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), transparent);
  pointer-events: none;
}
.btn-sub:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--red-glow);
  filter: brightness(1.1);
}

/* Ghost button */
.btn-gf {
  width: 100%;
  background: none;
  border: 1px solid var(--bd2);
  border-radius: 10px;
  padding: 11px;
  color: var(--t2);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-gf:hover {
  border-color: rgba(248,68,100,0.4);
  color: var(--red);
  background: var(--red-glass);
}

/* Prompt modal icon */
.picon {
  width: 52px;
  height: 52px;
  background: rgba(248, 68, 100, 0.10);
  border: 1px solid rgba(248, 68, 100, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.ptitle {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--t1);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.pdesc {
  font-size: 0.8rem;
  color: var(--t2);
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.6;
}

.pbtns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Profile modal */
.p-acts {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-ic {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}
.btn-ic.edit {
  background: var(--bg-elevated);
  border-color: var(--bd2);
  color: var(--t1);
}
.btn-ic.edit:hover {
  border-color: rgba(248,68,100,0.5);
  color: var(--red);
  background: var(--red-glass);
}
.btn-ic.del {
  background: rgba(248, 68, 100, 0.08);
  border-color: rgba(248, 68, 100, 0.2);
  color: var(--red);
}
.btn-ic.del:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px var(--red-glow);
}

/* Profile avatar */
.profile-av-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

/* ══════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 900;
  background: var(--bg-card);
  border: 1px solid var(--bd2);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t1);
  line-height: 1.5;
  min-width: 230px;
  max-width: 360px;
  transform: translateX(calc(100% + 32px));
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}
.toast.show { transform: translateX(0); }

.tdot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.toast.success .tdot  { background: var(--ok);   box-shadow: 0 0 6px var(--ok); }
.toast.error .tdot    { background: var(--er);   box-shadow: 0 0 6px var(--er); }
.toast.info .tdot     { background: var(--info); box-shadow: 0 0 6px var(--info); }
.toast.warning .tdot  { background: var(--gold); box-shadow: 0 0 6px var(--gold); }

/* ══════════════════════════════════════════
   SPINNER
══════════════════════════════════════════ */
.spin {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rot 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes rot {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════
   ADMIN / USER LIST (unchanged but cleaned)
══════════════════════════════════════════ */
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 6px;
}

.u-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--bd2);
  transition: border-color var(--transition);
}
.u-row:hover { border-color: rgba(248,68,100,0.3); }

.u-info { display: flex; flex-direction: column; gap: 3px; }
.u-name { font-weight: 700; font-size: 0.9rem; color: var(--t1); }
.u-email { font-size: 0.75rem; color: var(--t2); }

.u-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--red-glass);
  color: var(--red);
  border: 1px solid rgba(248,68,100,0.2);
  margin-left: 7px;
}

.u-acts { display: flex; gap: 7px; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 600px) {
  .nav { padding: 0 14px; height: 54px; }
  .banner { padding: 14px 16px 12px; gap: 12px; }
  .main { padding: 20px 14px 110px; }

  .seat { width: 24px; height: 20px; }
  .seat::after { top: -2px; left: 4px; right: 4px; height: 2px; }
  .seat-row { gap: 4px; }
  .skel { width: 24px; height: 20px; }

  .bbar { padding: 10px 16px; }
  .bprice { font-size: 1.1rem; }
  .btn-pay { padding: 11px 20px; font-size: 0.85rem; }

  .toast { right: 12px; left: 12px; min-width: 0; max-width: none; }
  .modal { padding: 22px 18px; }
}

@media (max-width: 420px) {
  .seat { width: 20px; height: 17px; }
  .seat::after { left: 3px; right: 3px; }
  .skel { width: 20px; height: 17px; }
  .seat-row { gap: 3px; }

  .bbar { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
  .bbar-info { align-items: center; }
  .btn-pay { width: 100%; }

  .stb { padding: 4px 10px; font-size: 0.7rem; }
}
