/* ============================================================
   SPMB 2027 - SMP IT Andalusia
   CSS Halaman Publik
   ============================================================ */

:root {
  --navy: #092c5c;
  --deep: #061b3c;
  --sky: #eef6ff;
  --pale: #dceeff;
  --gold: #e7b84b;
  --ink: #13233c;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  width: 100%;
  font-family: "Libre Franklin", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

.serif { font-family: "Playfair Display", serif; }
.focus-ring:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.pattern {
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.055) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.055) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,.055) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.055) 87.5%);
  background-size: 54px 92px;
}

.orb {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  pointer-events: none;
}

.reveal { animation: rise .7s ease both; }
.reveal-two { animation: rise .7s .14s ease both; }
.reveal-three { animation: rise .7s .28s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.program-card, .facility-card, .wave-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover, .facility-card:hover, .wave-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(9,44,92,.13);
}
.facility-card img { transition: transform .6s ease; }
.facility-card:hover img { transform: scale(1.06); }

.table-wrap { overflow-x: auto; }
.cost-table { min-width: 100%; border-collapse: collapse; }
.cost-table th, .cost-table td {
  padding: .7rem .2rem;
  border-bottom: 1px solid #dceeff;
}
.cost-table th { text-align: left; font-weight: 600; }
.cost-table td { text-align: right; white-space: nowrap; }
.cost-table td strong { font-size: 1rem; }
.cost-total-before { text-decoration: line-through; opacity: .68; }
.cost-total-after {
  color: #0b5799;
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: .25rem;
}

.ekskul-card { transition: box-shadow .25s ease, border-color .25s ease; }
.ekskul-card:hover { box-shadow: 0 15px 30px rgba(9,44,92,.10); border-color: var(--gold); }
.ekskul-card.open { border-color: var(--gold); box-shadow: 0 10px 25px rgba(9,44,92,.12); }
.ekskul-chevron { transition: transform .25s ease; }
.ekskul-body { animation: fadeIn .25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ============================================================
   ADMIN PANEL CSS
   ============================================================ */

.status-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 999px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status-baru      { background: #dbeafe; color: #1e40af; }
.status-dihubungi { background: #fef3c7; color: #92400e; }
.status-diterima  { background: #d1fae5; color: #065f46; }
.status-ditolak   { background: #fee2e2; color: #991b1b; }

tbody tr:hover { background: #f0f7ff; }