/* ================================================================
   Football League Management - Main Stylesheet
   Upgraded UI based on Premier League SA Theme
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ---- CSS Custom Properties (from football_league_ui.html) ---- */
:root {
  --pitch: #0a2e1a;
  --turf: #0d3d22;
  --lime: #b5f04d;
  --lime-dim: #8ec43a;
  --white: #f7f8f2;
  --cream: #ece9df;
  --steel: #8a9198;
  --ink: #0d0e0c;
  --card: #111710;
  --glass: rgba(11, 23, 14, 0.72);
  --red: #e8334a;
  --gold: #f5c842;
  --radius: 12px;
  --radius-lg: 20px;
  
  /* Legacy/Dashboard mappings */
  --navy: #0d0e0c;
  --navy-deep: #0a2e1a;
  --danger: var(--red);
  --success: #22c55e;
  --warning: var(--gold);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { 
  background: var(--ink); 
  color: var(--white); 
  font-family: 'DM Sans', sans-serif; 
  font-size: 15px; 
  line-height: 1.55; 
  overflow-x: hidden; 
  min-height: 100vh; 
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: all 0.2s; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; background: none; }

/* ── UTILITY ── */
.bebas{font-family:'Bebas Neue',sans-serif;letter-spacing:.04em}
.mono{font-family:'DM Mono',monospace}
.lime{color:var(--lime)}
.red{color:var(--red)}
.gold{color:var(--gold)}
.steel{color:var(--steel)}
.flex{display:flex}
.col{flex-direction:column}
.center{align-items:center}
.between{justify-content:space-between}
.gap4{gap:4px}.gap8{gap:8px}.gap12{gap:12px}.gap16{gap:16px}.gap24{gap:24px}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.w100{width:100%}

/* ── ANIMATIONS ── */
@keyframes fadeUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@keyframes glow{0%,100%{box-shadow:0 0 0 0 rgba(181,240,77,.3)}50%{box-shadow:0 0 20px 6px rgba(181,240,77,.18)}}
@keyframes scalein{from{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}

.fadeup{animation:fadeUp .55s cubic-bezier(.22,1,.36,1) both}
.fadeup-2{animation-delay:.1s}
.fadeup-3{animation-delay:.2s}
.fadeup-4{animation-delay:.3s}

/* ── SCROLLBAR ── */
::-webkit-scrollbar{width:4px;height:4px}
::-webkit-scrollbar-track{background:var(--ink)}
::-webkit-scrollbar-thumb{background:var(--turf);border-radius:2px}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 11, .88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(181, 240, 77, .12);
  transition: background .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 56px;
  max-width: 1280px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--lime-dim));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 13px; color: var(--ink); letter-spacing: .05em;
}
.nav-title { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: .08em; line-height: 1; color: var(--white); }
.nav-title span { display: block; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-top: 1px; }

/* Burger Menu Button */
.nav-menu-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(181, 240, 77, .08); border: 1px solid rgba(181, 240, 77, .15);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background .2s;
}
.nav-bar { width: 18px; height: 1.5px; background: var(--lime); border-radius: 1px; transition: transform .3s, opacity .3s; }
.nav-menu-btn.open .nav-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-menu-btn.open .nav-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-menu-btn.open .nav-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Nav Drawer */
.nav-drawer {
  position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(10, 14, 11, .97); backdrop-filter: blur(20px);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(-100%); transition: transform .36s cubic-bezier(.22, 1, .36, 1);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-item {
  padding: 14px 16px; border-radius: 10px; font-size: 17px; font-weight: 500;
  display: flex; align-items: center; gap: 12px; color: rgba(247, 248, 242, .7);
  transition: background .2s, color .2s;
}
.nav-item:active, .nav-item.active { background: rgba(181, 240, 77, .1); color: var(--lime); }
.nav-item-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(181, 240, 77, .08); display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* Hide desktop links on mobile */
@media (min-width: 769px) {
  .nav-menu-btn { display: none; }
  .nav-drawer { display: none; }
  .desktop-nav { display: flex; gap: 20px; align-items: center; }
  .desktop-nav a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); }
  .desktop-nav a:hover, .desktop-nav a.active { color: var(--lime); }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
}

/* ================================================================
   TICKER
   ================================================================ */
.ticker-wrap {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 998;
  background: var(--lime); overflow: hidden;
  padding: 5px 0;
}
.ticker-track { display: flex; white-space: nowrap; animation: ticker 22s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 28px; font-size: 11px; font-weight: 700;
  color: var(--ink); font-family: 'DM Mono', monospace; letter-spacing: .03em;
}
.ticker-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 0, 0, .35); }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  padding-top: 106px; min-height: 80svh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 61, 34, .9) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(181, 240, 77, .06) 0%, transparent 60%),
    var(--ink);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.hero-pitch-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(181, 240, 77, 1) 59px, rgba(181, 240, 77, 1) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(181, 240, 77, 1) 59px, rgba(181, 240, 77, 1) 60px);
}
.hero-content { padding: 32px 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 1280px; margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(181, 240, 77, .1); border: 1px solid rgba(181, 240, 77, .25);
  border-radius: 100px; padding: 5px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime);
  width: fit-content; margin-bottom: 20px;
}
.hero-h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px, 12vw, 90px); line-height: .92; letter-spacing: .02em; color: var(--white); margin-bottom: 16px; }
.hero-h1 em { color: var(--lime); font-style: normal; }
.hero-sub { font-size: 15px; color: var(--steel); max-width: 400px; line-height: 1.6; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ================================================================
   DASHBOARD LAYOUT (Preserved but themed)
   ================================================================ */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }

.mobile-admin-header {
  display: none; height: 60px; background: var(--card); border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: center; justify-content: space-between; padding: 0 20px; position: sticky; top: 0; z-index: 1001;
}
.mobile-admin-header .nav-menu-btn { display: flex; }

.sidebar { 
  background: var(--card); color: var(--white); border-right: 1px solid rgba(255,255,255,0.05);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 1100; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1050; backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }

.sidebar-brand { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-brand strong { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--lime); letter-spacing: 1px; }
.sidebar-user { padding: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-avatar { 
  width: 40px; height: 40px; border-radius: 50%; background: var(--lime); 
  display: flex; align-items: center; justify-content: center; 
  font-family: 'Bebas Neue', sans-serif; color: var(--ink);
}
.sidebar-nav { padding: 16px 0; }
.sidebar-link { 
  display: flex; align-items: center; gap: 12px; padding: 12px 20px; 
  font-size: 14px; color: var(--steel); transition: all 0.2s;
}
.sidebar-link:hover, .sidebar-link.active { color: var(--lime); background: rgba(181, 240, 77, 0.05); }

.main-content { padding: 32px; background: var(--ink); min-height: 100vh; position: relative; }

.dashboard-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.dashboard-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (max-width: 1024px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .mobile-admin-header { display: flex; }
  .sidebar { 
    position: fixed; left: 0; width: 280px; transform: translateX(-100%); 
    height: 100vh; box-shadow: 20px 0 50px rgba(0,0,0,0.5);
  }
  .sidebar.open { transform: translateX(0); }
  #adminCloseBtn { display: block !important; }
  .main-content { padding: 24px 16px; }
  .dashboard-main-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   COMPONENTS (Themed)
   ================================================================ */
.card { 
  background: var(--card); border-radius: var(--radius); 
  border: 1px solid rgba(255,255,255,0.06); overflow: hidden; margin-bottom: 24px;
}
.card-header { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--lime); }
.card-body { padding: 20px; }

/* Tables */
.data-table-wrap { 
  background: var(--card); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); 
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 800px; }
@media (max-width: 768px) { .data-table { min-width: 700px; } }
@media (max-width: 480px) { .data-table { min-width: 600px; } }

/* Sticky Standings Table */
.table-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 0 16px;
}
.standings-tbl { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: auto; min-width: 600px; }
.standings-tbl thead tr { background: rgba(181, 240, 77, .06); border-bottom: 1px solid rgba(255,255,255,0.07); }
.standings-tbl th {
  padding: 12px 8px; text-align: center; font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--steel); white-space: nowrap;
}
.standings-tbl td { padding: 12px 8px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04); white-space: nowrap; }
.standings-tbl tr:last-child td { border-bottom: none; }

/* Sticky Columns Logic */
@media (max-width: 768px) {
  .standings-tbl { min-width: 700px; }
  .sticky-col {
    position: sticky;
    left: 0;
    z-index: 10;
    background: var(--card);
  }
  .sticky-col-2 {
    position: sticky;
    left: 40px; /* Width of first column */
    z-index: 10;
    background: var(--card);
  }
  th.sticky-col, th.sticky-col-2 { background: #161e14; } /* Slightly different for header */
  
  /* Ensure border-bottom stays visible */
  .standings-tbl td.sticky-col::after, .standings-tbl td.sticky-col-2::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.04);
  }
  /* Shadow separator */
  .sticky-col-2 { box-shadow: 4px 0 10px -5px rgba(0,0,0,0.5); }
}

.pos-num { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--steel); }
.pos-top { color: var(--lime); font-weight: 700; }
.t-club { display: flex; align-items: center; gap: 8px; }
.t-name { font-size: 13px; font-weight: 500; }
.pts-col { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--lime); }
.form-dots { display: flex; gap: 4px; justify-content: center; }
.fdot { width: 18px; height: 18px; border-radius: 50%; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: #fff; }
.fdot-w { background: #22c55e; }
.fdot-d { background: #f59e0b; }
.fdot-l { background: var(--red); }
.data-table th { background: rgba(181, 240, 77, 0.05); color: var(--steel); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 12px 16px; text-align: left; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--white); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; margin-bottom: 20px; }
.page-btn { 
  display: flex; align-items: center; justify-content: center; 
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px;
  background: var(--card); border: 1px solid rgba(255,255,255,0.06); 
  color: var(--steel); font-weight: 700; font-size: 13px; text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-btn:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.page-btn.active { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 4px 12px rgba(181,240,77,0.2); }

/* Tabs & Filters */
.div-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }
.div-tab { 
  padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 700; 
  background: rgba(255,255,255,0.03); color: var(--steel); border: 1px solid rgba(255,255,255,0.06); 
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.div-tab:hover:not(.active) { background: rgba(181, 240, 77, 0.08); color: var(--lime); border-color: rgba(181, 240, 77, 0.2); transform: translateY(-1px); }
.div-tab.active { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 8px 20px rgba(181,240,77,0.15); }
.div-tab-count { background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 6px; font-size: 10px; }

.filter-form { 
  background: var(--card); padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); 
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 40px;
}
.filter-group { flex: 1; min-width: 200px; }

/* Buttons */
.btn { 
  display: inline-flex; align-items: center; gap: 8px; 
  padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  transition: all 0.2s; border: none;
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-dim); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(181, 240, 77, 0.4); color: var(--lime); }
.btn-outline:hover { background: rgba(181, 240, 77, 0.08); }
.btn-danger { background: var(--red); color: var(--white); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--white); font-size: 14px; transition: border-color .2s;
}
.form-control:focus { outline: none; border-color: var(--lime); }

/* Alerts */
.alert { padding: 14px; border-radius: 10px; margin-bottom: 20px; display: flex; gap: 12px; font-size: 14px; }
.alert-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; border-left: 4px solid #22c55e; }
.alert-error { background: rgba(232, 51, 74, 0.1); color: var(--red); border-left: 4px solid var(--red); }
.alert-warning { background: rgba(245, 200, 66, 0.1); color: var(--gold); border-left: 4px solid var(--gold); }

/* ================================================================
   PUBLIC COMPONENTS (Match Cards, Player Cards, etc.)
   ================================================================ */
.page-content { padding-top: 56px; }
.section { padding: 48px 16px; max-width: 1280px; margin: 0 auto; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: 42px; margin-bottom: 24px; color: var(--white); }

.match-card {
  background: var(--card); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.06); padding: 16px;
  margin-bottom: 12px;
}
.match-team { display: flex; align-items: center; gap: 12px; }
.match-score { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--lime); }

.player-card {
  background: var(--card); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.07); overflow: hidden;
  transition: all 0.2s;
}
.player-photo { 
  height: 160px; background: linear-gradient(135deg, var(--turf), var(--pitch)); 
  display: flex; align-items: center; justify-content: center; position: relative;
  overflow: hidden;
}
.player-photo img { width: 100%; height: 100%; object-fit: cover; }
.player-initials { font-family: 'Bebas Neue', sans-serif; font-size: 60px; color: rgba(181,240,77,.1); }
.player-info { padding: 12px; }
.player-name { font-size: 15px; font-weight: 700; color: var(--white); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { 
  background: var(--card); border-top: 1px solid rgba(255,255,255,0.05); 
  padding: 48px 16px 24px; margin-top: 60px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; font-size: 12px; color: var(--steel); text-align: center; }

/* ================================================================
   MOBILE SPECIFIC (Burger Menu Focus)
   ================================================================ */
@media (max-width: 768px) {
  /* Ensure page content doesn't hit nav */
  .page-content, .hero, .dashboard-layout { padding-top: 56px; }
  
  /* Remove bottom nav as requested */
  .bottom-nav { display: none !important; }
}

/* ================================================================
   ACTION BUTTONS & MODALS
   ================================================================ */
.action-buttons { display: flex; gap: 8px; align-items: center; }
.btn-action { 
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; 
  cursor: pointer; transition: all 0.2s; border: 1px solid transparent;
}
.btn-approve { background: rgba(34, 197, 94, 0.1); color: #22c55e; border-color: rgba(34, 197, 94, 0.2); }
.btn-approve:hover { background: #22c55e; color: #fff; transform: translateY(-1px); }
.btn-reject { background: rgba(232, 51, 74, 0.1); color: var(--red); border-color: rgba(232, 51, 74, 0.2); }
.btn-reject:hover { background: var(--red); color: var(--white); transform: translateY(-1px); }
.btn-view { background: rgba(181, 240, 77, 0.1); color: var(--lime); border-color: rgba(181, 240, 77, 0.2); }
.btn-view:hover { background: var(--lime); color: var(--ink); transform: translateY(-1px); }

.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); width: 100%; max-width: 500px;
  transform: translateY(20px); transition: transform 0.3s;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { 
  padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); 
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: var(--card); z-index: 10;
}
.modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 26px; color: var(--lime); letter-spacing: 1px; }
.modal-close { 
  color: var(--steel); font-size: 24px; cursor: pointer; background: none; border: none; 
  display: flex; align-items: center; justify-content: center; transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.modal-body { padding: 24px; }
.modal-footer { 
  padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.05); 
  display: flex; justify-content: flex-end; gap: 12px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 4px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
