/* ===========================
   BIL Qostanay — Design System
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Variables --- */
:root {
  --primary: #0d2f5c;
  --primary-light: #1a4a8a;
  --accent: #e8a020;
  --accent-dark: #c8880a;
  --light: #f4f7fb;
  --grey: #6b7a99;
  --text: #1e2a3a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(13, 47, 92, .12);
  --radius: 12px;
  --nav-h: 72px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--primary);
  display: flex;
  align-items: center;
  z-index: 1000;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.nav-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
}

.nav-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-logo-text {
  line-height: 1.2;
}

.nav-logo-text .school-name {
  font-weight: 700;
  font-size: 15px;
}

.nav-logo-text .school-city {
  font-size: 11px;
  opacity: .7;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

.nav-links a.active {
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  margin-top: var(--nav-h);
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 40%, rgba(13, 47, 92, .5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero-content p {
  font-size: 17px;
  opacity: .85;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, .4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}

/* ===========================
   LAYOUT UTILITIES
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light);
}

.section-primary {
  background: var(--primary);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-primary .section-header h2 {
  color: var(--white);
}

.section-header p {
  color: var(--grey);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.section-primary .section-header p {
  color: rgba(255, 255, 255, .7);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ===========================
   CARDS
   =========================== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 47, 92, .16);
}

.card-body {
  padding: 28px;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
}

/* Teacher cards */
.teacher-card {
  text-align: center;
}

.teacher-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.teacher-card .card-body {
  padding: 20px;
}

.teacher-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.teacher-card .subject {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.teacher-card p {
  font-size: 13px;
}

/* ===========================
   STAT BAR
   =========================== */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  opacity: .75;
  margin-top: 6px;
}

/* ===========================
   VALUES LIST
   =========================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 30px;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 13px;
  color: var(--grey);
}

/* ===========================
   STEPS (Admission)
   =========================== */
.steps {
  display: flex;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(33.33% / 2);
  right: calc(33.33% / 2);
  height: 2px;
  background: var(--accent);
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px;
  height: 72px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(232, 160, 32, .4);
}

.step h3 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.step p {
  font-size: 14px;
  color: var(--grey);
}

/* ===========================
   REQUIREMENTS LIST
   =========================== */
.req-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.req-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.req-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.req-item p {
  font-size: 13px;
  color: var(--grey);
}

/* ===========================
   ACCORDION (FAQ)
   =========================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}

.accordion-arrow {
  font-size: 18px;
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

.accordion-body p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
}

/* ===========================
   INFO TILES
   =========================== */
.info-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-tile {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-tile .tile-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.info-tile h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.info-tile p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.cta-banner p {
  font-size: 15px;
  color: rgba(13, 47, 92, .75);
}

.btn-cta {
  background: var(--primary);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: all .2s;
}

.btn-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* ===========================
   TWO-COLUMN SPLIT
   =========================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.split-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.split-content p {
  color: var(--grey);
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.75;
}

/* ===========================
   BREADCRUMB
   =========================== */
.page-header {
  background: var(--primary);
  padding: 52px 0 44px;
  margin-top: var(--nav-h);
}

.page-header h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ===========================
   CONTACT STRIP
   =========================== */
.contact-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 220px;
}

.contact-item-icon {
  font-size: 26px;
}

.contact-item-text {
  font-size: 13px;
  color: var(--grey);
}

.contact-item-text strong {
  display: block;
  font-size: 15px;
  color: var(--primary);
  margin-top: 2px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #061a36;
  color: rgba(255, 255, 255, .7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .values-grid,
  .split,
  .info-tiles {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    gap: 24px;
  }

  .steps::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 36px 28px;
    text-align: center;
    justify-content: center;
  }

  .split-img img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    padding: 60px 20px;
  }
}

/* ===========================
   DROPDOWN NAVBAR
   =========================== */
.nav-dropdown {
  position: relative;
  /* Extend hover zone downward to bridge the gap to the menu */
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 11px;
  transition: transform .25s;
  display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  z-index: 2000;
  min-width: 260px;
  animation: dropdownFade .18s ease;
}

/* Visual box as pseudo-element so it doesn't break hover zone */
.dropdown-menu::before {
  content: '';
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(13, 47, 92, .18);
  border: 1px solid rgba(13, 47, 92, .08);
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

@media (max-width: 768px) {
  .nav-dropdown:hover .dropdown-menu {
    display: none;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
  .nav-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.dropdown-menu li {
  position: relative;
  z-index: 1;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 500;
  background: none !important;
  transition: background .15s, color .15s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.dropdown-menu li a:hover {
  background: var(--light) !important;
  color: var(--primary) !important;
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    padding: 0 0 4px 12px;
    margin-top: 4px;
    min-width: 0;
    animation: none;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu li a {
    color: rgba(255,255,255,.85) !important;
    font-size: 14px;
    padding: 9px 12px;
  }

  .dropdown-menu li a:hover {
    background: rgba(255,255,255,.12) !important;
    color: var(--white) !important;
  }

  .nav-dropdown-toggle {
    color: rgba(255,255,255,.8);
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
  }
}

/* ===========================
   PDF VIEWER PAGE
   =========================== */
.pdf-page-header {
  background: var(--primary);
  padding: 40px 0 32px;
  margin-top: var(--nav-h);
}

.pdf-page-header h1 {
  font-size: clamp(20px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.pdf-page-header .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

.pdf-viewer-section {
  padding: 40px 0 60px;
  background: var(--light);
  min-height: calc(100vh - var(--nav-h) - 200px);
}

.pdf-viewer-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 700px;
  position: relative;
}

.pdf-viewer-wrapper iframe {
  width: 100%;
  height: 780px;
  border: none;
  display: block;
}

.pdf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
  min-height: 400px;
}

.pdf-placeholder-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: .35;
}

.pdf-placeholder h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
}

.pdf-placeholder p {
  color: var(--grey);
  font-size: 14px;
}

/* ===========================
   DOCUMENTS & ORDERS PAGE
   =========================== */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 18px 24px;
  transition: transform .2s, box-shadow .2s;
  border-left: 4px solid var(--accent);
}

.order-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,47,92,.14);
}

.order-item-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.order-item-info {
  flex: 1;
  min-width: 0;
}

.order-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3px;
  word-break: break-word;
}

.order-item-date {
  font-size: 12px;
  color: var(--grey);
}

.order-item-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
  white-space: nowrap;
}

.order-item-actions a:hover {
  background: var(--primary-light);
}

/* ===========================
   ADMIN PANEL
   =========================== */
.admin-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 44px 0 36px;
  margin-top: var(--nav-h);
}

.admin-header h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.admin-header p {
  font-size: 14px;
  color: rgba(255,255,255,.7);
}

.admin-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.admin-section {
  padding: 56px 0;
}

.admin-section + .admin-section {
  padding-top: 0;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-card-header {
  background: var(--light);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(13,47,92,.08);
}

.admin-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card-body {
  padding: 24px 28px;
}

.admin-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--light);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.admin-status.has-file {
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .25);
}

.admin-status.no-file {
  background: rgba(239, 68, 68, .07);
  border: 1px solid rgba(239, 68, 68, .2);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.green { background: #22c55e; }
.status-dot.red   { background: #ef4444; }

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}

.btn-upload:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-delete {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  color: #ef4444;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #ef4444;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}

.btn-delete:hover {
  background: rgba(239, 68, 68, .1);
}

.btn-delete:disabled,
.btn-upload:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.admin-file-input {
  display: none;
}

.admin-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.admin-order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--light);
  border-radius: 8px;
}

.admin-order-item-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  min-width: 0;
  word-break: break-word;
}

.admin-order-item-date {
  font-size: 12px;
  color: var(--grey);
  white-space: nowrap;
}

.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  max-width: 340px;
}

.admin-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.admin-toast.success { border-left: 4px solid #22c55e; }
.admin-toast.error   { border-left: 4px solid #ef4444; }

.admin-empty {
  text-align: center;
  padding: 32px;
  color: var(--grey);
  font-size: 14px;
}

.admin-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light);
}