:root {
  --navy: #0b1430;
  --navy-dark: #070b14;
  --navy-mid: #1e3a8a;
  --gold: #d4af37;
  --gold-light: #f2d27b;
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --bg: #070b14;
  --bg-header: rgba(7, 11, 20, 0.85);
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1000px;
  --pad: 1.25rem;
}

@media (max-width: 480px) {
  :root { --pad: 1rem; }
}

@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .footer .footer-inner {
    min-width: 0;
    max-width: 100%;
  }
  .footer-main { min-width: 0; }
  .footer-tag, .footer-contact { word-wrap: break-word; overflow-wrap: break-word; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand { width: 100%; }
}

/* Light theme — matches logo (white, navy, gold), slightly darker */
body.theme-light {
  --text: #0b1430;
  --muted: #475569;
  --line: #cbd5e1;
  --bg: #e2e8f0;
  --bg-header: rgba(241, 245, 249, 0.98);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 650px at 18% -10%, rgba(30, 58, 138, 0.35), transparent 60%),
    radial-gradient(1100px 620px at 92% 5%, rgba(212, 175, 55, 0.15), transparent 62%),
    linear-gradient(180deg, var(--navy), var(--navy-dark));
  line-height: 1.5;
  min-height: 100vh;
}

body.theme-light {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--bg) 100%);
  background-attachment: fixed;
}

body.theme-light .hero {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Header */
.header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

body.theme-light .header {
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem var(--pad);
}

@media (max-width: 600px) {
  .header .logo { height: 56px; width: auto; }
  .header-nav { gap: 0.85rem; }
  .header-nav a { font-size: 0.85rem; }
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: 0.7rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

/* Header: logo only, larger */
.header .logo {
  height: 72px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.header .brand-text {
  display: none;
}


.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand-tag {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-header {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-header:hover {
  background: rgba(212, 175, 55, 0.15);
}

body.theme-light .btn-header {
  color: var(--navy);
  border-color: var(--gold);
}

body.theme-light .btn-header:hover {
  background: rgba(212, 175, 55, 0.2);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--gold);
}

.header-nav a.nav-active {
  color: var(--gold);
}

/* Mobile nav: hamburger + slide-out drawer */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  color: var(--gold);
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.nav-toggle:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
}
.nav-toggle:active {
  transform: scale(0.97);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 14;
  opacity: 0;
  transition: opacity 0.25s ease;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }
  body.theme-light .nav-toggle {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--line);
  }
  body.theme-light .nav-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
  }
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 88vw);
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.25rem 1rem 2rem;
    padding-top: 5.5rem;
    background: linear-gradient(180deg, rgba(15, 25, 50, 0.98) 0%, rgba(7, 11, 20, 0.99) 100%);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35), -4px 0 0 rgba(212, 175, 55, 0.15);
    z-index: 15;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.3s ease;
    overflow-y: auto;
  }
  body.theme-light .header-nav {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-left-color: var(--line);
    box-shadow: -12px 0 40px rgba(11, 20, 48, 0.15), -4px 0 0 rgba(212, 175, 55, 0.25);
  }
  body.nav-open .header-nav {
    transform: translateX(0);
    display: flex !important;
  }
  .header-nav a:not(.btn-header) {
    display: flex;
    align-items: center;
    padding: 0.95rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.2rem;
    min-height: 52px;
    transition: color 0.2s ease, background 0.2s ease;
  }
  .header-nav a:not(.btn-header):hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
  }
  .header-nav a:not(.btn-header).nav-active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
  }
  body.theme-light .header-nav a:not(.btn-header):hover {
    background: rgba(11, 20, 48, 0.06);
  }
  body.theme-light .header-nav a:not(.btn-header).nav-active {
    background: rgba(212, 175, 55, 0.12);
  }
  .header-nav .btn-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 10px;
    min-height: 52px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0f1f;
    border: none;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .header-nav .btn-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  }
  .header-nav .btn-header:active {
    transform: translateY(0);
  }
  .nav-backdrop {
    display: block;
    pointer-events: none;
  }
  body.nav-open .nav-backdrop {
    pointer-events: auto;
    opacity: 1;
  }
  .header.nav-open .nav-toggle {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.08);
  }
  .header.nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .header.nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (min-width: 768px) {
  .nav-backdrop { display: none !important; }
}

body.nav-open {
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0f1f;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.35);
}

/* Hero */
.hero {
  padding: 2rem 0 3rem;
}

@media (min-width: 600px) {
  .hero { padding: 2.5rem 0 3.5rem; }
}

@media (min-width: 900px) {
  .hero { padding: 3rem 0 4rem; }
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
  }
}

.hero-content h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { font-size: 0.95rem; }
  .hero-lead { font-size: 1rem; }
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero-content p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 56ch;
}

.hero-focus {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-newbies {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

body.theme-light .hero-newbies {
  background: rgba(212, 175, 55, 0.12);
  color: var(--muted);
}

.hero-content .btn-primary {
  margin-top: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}

body.theme-light .card {
  background: #f8fafc;
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(11, 20, 48, 0.08);
}

/* Why L&L — modern card */
.card-highlights {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

body.theme-light .card-highlights {
  background: #fff;
  box-shadow: 0 1px 3px rgba(11, 20, 48, 0.06), 0 8px 24px rgba(11, 20, 48, 0.06);
}

.card-highlights-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.card-highlights-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-highlights li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.card-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.9;
}

/* Form section */
.form-section {
  padding: 2rem 0 3rem;
}

@media (min-width: 600px) {
  .form-section { padding: 2.5rem 0 3.5rem; }
}

@media (min-width: 900px) {
  .form-section { padding: 3rem 0 4rem; }
}

.form-section .container {
  margin-left: auto;
  margin-right: auto;
}

.form-inner {
  max-width: 560px;
}

.form-intro {
  margin-bottom: 2rem;
}

.form-intro h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.intake-form > h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  width: 100%;
}

.form-intro p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.form-contact {
  margin-top: 0.75rem !important;
  font-size: 0.9rem !important;
}

.form-contact a {
  color: var(--gold);
  text-decoration: none;
}

.form-contact a:hover {
  text-decoration: underline;
}

.intake-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .intake-form { padding: 1.5rem; }
}

@media (min-width: 640px) {
  .intake-form { padding: 1.75rem; }
}

body.theme-light .intake-form {
  background: #f8fafc;
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(11, 20, 48, 0.06);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row-half {
  width: 100%;
}

@media (min-width: 560px) {
  .intake-form:not(.application-form) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .intake-form:not(.application-form) .form-row {
    grid-column: 1 / -1;
  }
  .intake-form:not(.application-form) .form-row.form-row-half {
    grid-column: span 1;
  }
  .intake-form:not(.application-form) .form-actions {
    grid-column: 1 / -1;
  }
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.req {
  color: var(--gold);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

/* Application form: inputs take full width of form */
.application-form .form-row {
  width: 500%;
  max-width: 100%;
  min-width: 0;
}
.application-form .form-row input:not([type="checkbox"]),
.application-form .form-row textarea,
.application-form .form-row select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  font-size: clamp(1rem, 2.5vw, 1.05rem);
  box-sizing: border-box;
}
.application-form .form-row textarea {
  min-height: 100px;
  padding: 1rem 1.15rem;
  resize: vertical;
  width: 100%;
  max-width: 100%;
}
.application-form .form-row select {
  cursor: pointer;
  appearance: auto;
  width: 100%;
  max-width: 100%;
}
.application-form .form-row label { font-size: 0.9rem; }
.application-form .form-group-title { margin-bottom: 1.25rem; }
/* Checkboxes: normal size, compact */
.application-form .form-row-checkbox .checkbox-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.application-form .checkbox-label {
  font-size: 0.9rem;
  line-height: 1.45;
}

body.theme-light .form-row input,
body.theme-light .form-row textarea,
body.theme-light .form-row select {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--navy);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.theme-light .form-row input::placeholder,
body.theme-light .form-row textarea::placeholder {
  color: #94a3b8;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-actions {
  margin-top: 0.5rem;
}

.btn-submit {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}
.form-actions .btn-submit { width: 100%; }

.form-success {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius);
  color: #a7f3d0;
}

body.theme-light .form-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #047857;
}

.form-success.hidden {
  display: none;
}

/* About page */
.page {
  padding-bottom: 2rem;
}

@media (min-width: 600px) {
  .page { padding-bottom: 3rem; }
}

.about-hero {
  padding: 2rem 0 1.5rem;
}

@media (min-width: 600px) {
  .about-hero { padding: 2.5rem 0 2rem; }
}

@media (min-width: 900px) {
  .about-hero { padding: 3rem 0 2rem; }
}

.about-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.about-lead {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
}

.about-stats {
  padding: 0 0 2rem;
}

@media (min-width: 600px) {
  .about-stats { padding: 0 0 2.5rem; }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

body.theme-light .stat-card {
  background: #f8fafc;
  border-color: var(--line);
  box-shadow: 0 2px 12px rgba(11, 20, 48, 0.06);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.about-content {
  padding: 0 0 2rem;
}

.about-inner {
  max-width: 640px;
}

.about-block {
  margin-bottom: 2rem;
}

.about-block h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.about-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-block a {
  color: var(--gold);
  text-decoration: none;
}

.about-block a:hover {
  text-decoration: underline;
}

.about-cta {
  margin-top: 2rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
}

body.theme-light .footer {
  background: #e2e8f0;
  border-top-color: var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-main {
  flex: 1;
  min-width: 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact .footer-location {
  color: var(--muted);
  margin-right: 0.25rem;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-footer {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-tag {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Admin page */
.admin-page .container { max-width: 1200px; }
.admin-login { padding: 3rem 0; }
.admin-login-inner { max-width: 400px; }
.admin-login h1 { font-size: 1.5rem; margin: 0 0 0.5rem; color: var(--text); }
.admin-login-lead { color: var(--muted); margin: 0 0 1.5rem; font-size: 0.95rem; }
.admin-form .form-row { margin-bottom: 1rem; }
.admin-form .form-actions { margin-top: 0.5rem; }
.admin-error { color: #f87171; font-size: 0.9rem; margin-top: 1rem; }
.admin-dashboard { padding: 2rem 0 3rem; }
.admin-dashboard-header { margin-bottom: 1.5rem; }
.admin-dashboard h1 { font-size: 1.35rem; margin: 0 0 0.25rem; color: var(--text); }
.admin-dashboard-lead { color: var(--muted); margin: 0; font-size: 0.9rem; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,0.04); }
body.theme-light .admin-table-wrap { background: #f8fafc; border-color: var(--line); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th, .admin-table td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--gold); font-weight: 600; white-space: nowrap; }
.admin-table td { color: var(--muted); vertical-align: top; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
body.theme-light .admin-table tbody tr:hover td { background: rgba(11, 20, 48, 0.04); }
.admin-cell-delete { white-space: nowrap; }
.btn-delete { background: transparent; border: 1px solid rgba(248,113,113,0.5); color: #f87171; padding: 0.35rem 0.6rem; border-radius: 6px; font-size: 0.8rem; cursor: pointer; }
.btn-delete:hover { background: rgba(248,113,113,0.15); }
.admin-empty { color: var(--muted); font-size: 0.95rem; margin: 1rem 0 0; }
.admin-user { color: var(--muted); font-size: 0.9rem; }

.admin-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.admin-tab { background: none; border: none; color: var(--muted); padding: 0.6rem 1rem; font-size: 0.9rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.file-submissions-list { display: flex; flex-direction: column; gap: 1rem; }
.file-submission-card { background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; }
body.theme-light .file-submission-card { background: #f8fafc; border-color: var(--line); box-shadow: 0 2px 12px rgba(11, 20, 48, 0.06); }
.file-submission-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.file-submission-date { color: var(--gold); }
.file-submission-name { color: var(--text); font-weight: 600; }
.file-submission-email { color: var(--gold); text-decoration: none; }
.file-submission-email:hover { text-decoration: underline; }
.file-submission-message { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.85rem; width: 100%; }
.file-submission-files { margin: 0.5rem 0; font-size: 0.85rem; }
.file-link { color: var(--gold); text-decoration: none; margin-right: 0.5rem; }
.file-link:hover { text-decoration: underline; }
.file-submission-actions { margin-top: 0.75rem; }
.applications-list { display: flex; flex-direction: column; gap: 1.25rem; }
.application-card { background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; }
body.theme-light .application-card { background: #f8fafc; border-color: var(--line); box-shadow: 0 2px 12px rgba(11, 20, 48, 0.06); }
.application-card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.application-card-title { font-weight: 700; color: var(--text); margin: 0; font-size: 1rem; }
.application-card-date { color: var(--gold); font-size: 0.9rem; }
.application-card-actions { display: flex; gap: 0.5rem; }
.application-card-section { margin-bottom: 1rem; }
.application-card-section:last-child { margin-bottom: 0; }
.application-card-section h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin: 0 0 0.5rem; }
.application-card-section p { margin: 0 0 0.35rem; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.application-card-section p strong { color: var(--text); font-weight: 600; }
.btn-pdf { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #0a0f1f; border: none; padding: 0.4rem 0.85rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.btn-pdf:hover { opacity: 0.95; }
.form-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
.documents-section .form-intro h1 { font-size: 1.35rem; margin: 0 0 0.5rem; }

/* Application form (full equipment financing) */
#application .container,
.form-section#application .container {
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  box-sizing: border-box;
}

.application-inner {
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0;
}

.application-form {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  scroll-margin-top: 5rem;
}
.application-form .form-group {
  width: 100%;
  min-width: 0;
}
.application-form .form-row,
.application-form .form-actions {
  width: 100%;
  min-width: 0;
}
.application-form .form-row input:not([type="checkbox"]),
.application-form .form-row textarea,
.application-form .form-row select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.application-test-banner {
  padding: 0.75rem 1rem;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}
.application-form { gap: 1.5rem; }
.form-group { margin-top: 0.5rem; }
.form-group:first-of-type { margin-top: 0; }
.form-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  grid-column: 1 / -1;
}
.form-row-third { width: 100%; }
/* Application form: full-width layout so fields take whole form size */
.application-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.application-form .form-group-title { margin-bottom: 0.5rem; }
.application-form .form-row.form-row-half,
.application-form .form-row.form-row-third {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
/* 2-column only on wider screens so inputs stay full-width on more devices */
@media (min-width: 768px) {
  .application-form .form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }
  .application-form .form-group-title { grid-column: 1 / -1; }
  .application-form .form-row { grid-column: 1 / -1; }
  .application-form .form-row.form-row-half { grid-column: span 1; min-width: 0; }
  .application-form .form-row.form-row-third { grid-column: span 1; min-width: 0; }
  .application-form .form-row.form-row-checkbox { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .application-form .form-group {
    grid-template-columns: repeat(3, 1fr);
  }
}
.application-form .form-actions { margin-top: 0.5rem; width: 100%; max-width: 100%; }
.form-row-checkbox { align-items: flex-start; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
}
.checkbox-label input[type="checkbox"] { margin-top: 0.25rem; flex-shrink: 0; accent-color: var(--gold); }
.checkbox-label span { line-height: 1.45; }
.application-form select {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
body.theme-light .application-form select { background: #fff; border-color: #cbd5e1; color: var(--navy); }
.application-form select:focus { outline: none; border-color: var(--gold); }

/* Multi-step application */
.application-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.application-step-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.application-step-dot.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
}
.application-step-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  text-align: center;
}
.application-step { display: block; }
.application-step[hidden] { display: none !important; }
.application-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}
.application-nav button[hidden] {
  display: none !important;
}
.application-nav .btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.application-nav .btn-outline:hover {
  background: rgba(212, 175, 55, 0.15);
}
body.theme-light .application-nav .btn-outline {
  color: var(--navy);
  border-color: var(--gold);
}
.application-nav .btn-primary,
.application-nav .btn-submit {
  flex: 1;
  min-width: 12rem;
  max-width: 100%;
  box-sizing: border-box;
}
.btn-outline { order: 0; }
#application-next, #application-submit { order: 1; }
