:root{
  --bg:#0b1220;

  --primary:#facc15;   /* kuning Matauli */
  --primary2:#ef4444;  /* merah */
  --card:#101a33;
  --muted:#94a3b8;
  --text:#e5e7eb;

  --border: rgba(250,204,21,.25);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
}


*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(56,189,248,.15), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(34,197,94,.14), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.7);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
}

.brand{display:flex;align-items:center;gap:12px}
.brand__logo{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(34,197,94,.9), rgba(56,189,248,.9));
  color:#06121f;font-weight:800;
}
.brand__title{font-weight:800; letter-spacing:.3px}
.brand__sub{font-size:12px;color:var(--muted)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:14px;
  border:1px solid transparent;
  font-weight:700;
}
.btn--ghost{
  background: rgba(148,163,184,.08);
  border-color: var(--border);
}
.btn--ghost:hover{background: rgba(148,163,184,.12)}

.nav-toggle{
  display:none;
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(148,163,184,.06);
}
.nav-toggle span{
  display:block;height:2px;background:var(--text);
  margin:6px 10px;border-radius:2px;
}

.navbar{
  border-bottom: 1px solid var(--border);
  background: rgba(11,18,32,.55);
  backdrop-filter: blur(10px);
}
.nav{
  list-style:none;margin:0;padding:10px 0;
  display:flex;gap:6px;align-items:center;
}
.nav > li{position:relative}
.nav a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color: rgba(229,231,235,.92);
}
.nav li.active > a{
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.25);
}
.nav a:hover{background: rgba(148,163,184,.10)}

/* ===== DROPDOWN BASE ===== */
.dropdown{
  position: relative;
}

.dropdown__toggle{
  display:flex;
  align-items:center;
  gap:6px;
}

/* default: submenu tertutup */
.dropdown__menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  margin-top:8px;
  min-width:220px;
  list-style:none;
  padding:8px;
  border-radius:16px;
  background: rgba(16,26,51,.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index:999;
}

/* jembatan hover (ANTI KABUR) */
.dropdown__menu::before{
  content:"";
  position:absolute;
  top:-10px;
  left:0;
  right:0;
  height:10px;
}

/* ===== DESKTOP ===== */
@media (min-width: 861px){
  .dropdown:hover > .dropdown__menu{
    display:block;
  }

  .dropdown:focus-within > .dropdown__menu{
    display:block;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 860px){
  .dropdown__menu{
    position:static;
    display:none;        /* tetap tertutup */
    min-width: unset;
    box-shadow:none;
    margin-top:6px;
    background: rgba(148,163,184,.06);
    border:1px solid rgba(255,255,255,.08);
    padding:8px;
    border-radius:16px;
  }
  .dropdown.open > .dropdown__menu{ display:block; }
}

  .dropdown.open > .dropdown__menu{
    display:block;
  }
}

.dropdown__menu li a{
  padding:10px 10px;
  border-radius:12px;
}


.main{padding: 22px 0 44px}
.card{
  background: rgba(16,26,51,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
}
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
}

.hero{
  padding: 24px;
  border-radius: calc(var(--radius) + 4px);
  border:1px solid var(--border);
  background:
    radial-gradient(700px 250px at 20% 0%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(700px 250px at 90% 0%, rgba(34,197,94,.16), transparent 55%),
    rgba(16,26,51,.55);
}
.hero h1{margin:0 0 8px;font-size: 32px;line-height:1.2}
.hero p{margin:0 0 14px;color:var(--muted)}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(148,163,184,.08);
}

.list{margin:0;padding-left:18px;color:rgba(229,231,235,.9)}
.muted{color:var(--muted)}

.footer{
  border-top: 1px solid var(--border);
  padding: 20px 0;
  background: rgba(11,18,32,.6);
}
.footer__inner{
  display:flex;gap:16px;align-items:flex-start;justify-content:space-between;
}
.footer__title{font-weight:800}
.footer__text{color:var(--muted);font-size:13px}

/* Mobile menu */
@media (max-width: 860px){
  .btn--ghost{display:none}
  .nav-toggle{display:block}

  .nav{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding: 12px 0 16px;
  }
  .navbar.open .nav{display:flex}

  .dropdown__menu{
    position:static;
    display:block;
    min-width: unset;
    box-shadow:none;
    margin-top:6px;
    background: rgba(148,163,184,.06);
  }
  .dropdown__toggle{font-weight:700}
}

.brand__logo--img{
  padding:6px;
}
.brand__logo--img img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:12px;
}

.brand__logo--img{
  background: #facc15; /* kuning Matauli */
  padding:6px;
}

.brand__logo--img img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:12px;
}

/* Header Title Besar */
.brand__title--big{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* Nama Sekolah */
.brand__sub--school{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  color: rgba(229,231,235,.85);
}

@media (max-width: 600px){
  .brand__title--big{
    font-size: 18px;
  }
  .brand__sub--school{
    font-size: 12px;
  }
}

.brand__title--big{
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
/* =========================
   HEADER BESAR (SPMB STYLE)
   ========================= */
.header-big{
  position: relative;
  background:
    linear-gradient(
      to bottom,
      rgba(11,18,32,.75),
      rgba(11,18,32,.85)
    ),
    url("../img/header-bg.jpg") center/cover no-repeat;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:32px 0;
}



.header-big__inner{
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Logo */
.header-logo{
  width: 90px;
  height: auto;
}

/* Text */
.header-text{
  line-height: 1.1;
}

.header-title{
  font-size: 35px;        /* INI YANG BIKIN BESAR */
  font-weight: 900;
  letter-spacing: 2px;
  color: #008000;         /* hijau tua */
}

.header-subtitle{
  font-size: 20px;
  font-weight: 700;
  color: #fff44f;         /* biru sekolah */
  margin-top: 6px;
}

@media (max-width: 768px){
  .header-big__inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-logo{
    width: 70px;
  }

  .header-title{
    font-size: 28px;
    letter-spacing: 1px;
  }

  .header-subtitle{
    font-size: 14px;
  }
}

/* INFO SAMBUTAN DEPAN */
.info-welcome{
  margin-bottom:16px;
}

.info-welcome__title{
  margin-top:0;
  font-size:22px;
  font-weight:900;
}

.info-welcome__school{
  margin:6px 0 12px;
  color:rgba(229,231,235,.9);
}

.info-welcome__highlight{
  padding:12px;
  margin-bottom:12px;
  border-radius:14px;
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.25);
  font-weight:800;
  text-align:center;
}

.info-welcome__desc{
  color:rgba(229,231,235,.85);
  line-height:1.6;
}

.info-welcome__note{
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  background:rgba(239,68,68,.10);
  border:1px solid rgba(239,68,68,.25);
  color:#fee2e2;
  font-size:14px;
}

.right-stack{ padding:0; overflow:hidden; }
.right-stack__section{ padding:18px; }
.right-stack__title{ margin:0 0 10px; font-weight:900; }
.right-stack__divider{
  height:1px;
  background:rgba(255,255,255,.10);
  margin:0 18px;
}

.grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:14px;
  align-items:start;
}

.left-column,
.right-column{
  display:flex;
  flex-direction:column;
  gap:14px;
}

@media (max-width: 900px){
  .grid{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px){
  .left-column,
  .right-column{
    gap: 12px;
  }

  .hero{
    padding: 18px;
  }

  .card{
    padding: 16px;
  }
}

.header-big::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:40px;
  background: linear-gradient(
    to bottom,
    rgba(11,18,32,0),
    rgba(11,18,32,.9)
  );
}

@media (max-width: 768px){
  .header-big{
    background:
      linear-gradient(
        to bottom,
        rgba(11,18,32,.85),
        rgba(11,18,32,.95)
      ),
      url("../img/header-bg.jpg") center/cover no-repeat;
  }
}

/* ===============================
   BACKGROUND KHUSUS HALAMAN HOME
   =============================== */
.page-home{
  background:
    radial-gradient(1000px 500px at 20% 10%, rgba(56,189,248,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(34,197,94,.10), transparent 55%),
    linear-gradient(
      rgba(11,18,32,.85),
      rgba(11,18,32,.85)
    ),
    url("../img/bg-sekolah.jpg") center/cover no-repeat fixed;
}

.page-home .main{
  background: rgba(11,18,32,.35);
  backdrop-filter: blur(2px);
}

@media (max-width: 768px){
  .page-home{
    background:
      linear-gradient(
        rgba(11,18,32,.92),
        rgba(11,18,32,.92)
      ),
      url("../img/bg-sekolah.jpg") center/cover no-repeat;
  }
}

/* Pastikan dropdown selalu di atas semua */
.navbar{ 
  position: sticky;
  top: 0;
  z-index: 9999;
}

.dropdown__menu{
  z-index: 10000;
}

/* Jika ada overlay / efek blur di home, jangan menangkap klik */
.page-home::before,
.page-home::after{
  pointer-events: none;
}

.dropdown{ position: relative; z-index: 20000; }

/* ===== Pengumuman pinned list ===== */
.announce-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.announce-item{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(148,163,184,.06);
}

.announce-item--pinned{
  border-color: rgba(250,204,21,.25);
  background: rgba(250,204,21,.06);
}

.pin-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:900;
  padding:2px 8px;
  border-radius:999px;
  background: rgba(250,204,21,.18);
  border:1px solid rgba(250,204,21,.35);
  margin-right:8px;
}

.announce-title{
  font-weight:900;
  margin-bottom:4px;
}

.announce-text{
  font-size:13px;
  opacity:.92;
}

/* ===== Ticker layout diperlebar ===== */

/* label tetap di atas */
.ticker__label{
  display:inline-block;
  margin-bottom:8px;
}

/* viewport full lebar */
.ticker__viewport{
  width:100%;
  overflow:hidden;
}


.ticker__title{
  font-size:14px;
  font-weight:900;
  margin-bottom:4px;
}

.ticker__text{
  font-size:13.5px;
  line-height:1.5;
}

/* ===== tombol panah dipindah ke bawah kanan ===== */
.ticker__controls--bottom{
  margin-top:10px;
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

.ticker__btn{
  width:32px;
  height:32px;
  border-radius:10px;
}

/* ===== Ticker / News Sticker (FINAL) ===== */
.ticker{
  margin-top:12px;
  padding:12px 14px 14px;
  border-radius:16px;
  border:1px solid rgba(56,189,248,.18);
  background: rgba(56,189,248,.06);
}

/* label di atas */
.ticker__label{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.30);
  background: rgba(56,189,248,.12);
  margin-bottom:10px;
}

/* viewport: hanya tampil 1 item */
.ticker__viewport{
  width:100%;
  overflow:hidden;
}

/* track: slider horizontal */
.ticker__track{
  display:flex;
  transition: transform .45s ease;
  will-change: transform;
}

/* item: 1 layar penuh */
.ticker__item{
  min-width:100%;
  padding-right:8px;
}

/* text */
.ticker__title{
  font-size:14px;
  font-weight:900;
  margin-bottom:4px;
}

.ticker__text{
  font-size:13.5px;
  line-height:1.5;
  color: rgba(229,231,235,.85);
}

/* controls: panah di bawah kanan */
.ticker__controls{
  margin-top:10px;
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

.ticker__btn{
  width:32px;
  height:32px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(148,163,184,.08);
  color: rgba(229,231,235,.95);
  cursor:pointer;
}

.ticker__btn:hover{
  background: rgba(148,163,184,.14);
}

/* ===== Ticker title sejajar badge ===== */
.ticker__title-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.ticker__badge{
  font-size:11px;
  font-weight:900;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.35);
  background: rgba(56,189,248,.18);
  white-space:nowrap;
}

.ticker__title-text{
  font-size:14px;
  font-weight:900;
}

/* FORCE: pastikan slider ticker benar-benar jalan */
#announceTicker .ticker__viewport { overflow: hidden !important; }
#tickerTrack { display: flex !important; }
#tickerTrack .ticker__item { min-width: 100% !important; }

/* ===============================
   ADMIN DASHBOARD CARDS
   =============================== */
.admin-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(16,26,51,.75);
  box-shadow:var(--shadow);
  transition:.2s ease;
}

.admin-card:hover{
  transform:translateY(-3px);
  background:rgba(16,26,51,.9);
}

.admin-card__icon{
  font-size:34px;
}

.admin-card__title{
  font-size:17px;
  font-weight:900;
}

.admin-card__text{
  font-size:13px;
  color:var(--muted);
}

.admin-card--danger{
  border-color:rgba(239,68,68,.35);
}
.admin-card--danger:hover{
  background:rgba(239,68,68,.10);
}

/* sembunyikan warning banner CKEditor */
.cke_notification, .cke_notifications_area { display:none !important; }

/* =======================
   SPMB CMS CONTENT STYLE
   ======================= */

.spmb-card{
  background:rgba(15,23,42,.65);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:16px;
  margin:12px 0;
}

.spmb-card--success{
  background:rgba(34,197,94,.08);
  border-color:rgba(34,197,94,.25);
}

.spmb-card--info{
  background:rgba(59,130,246,.08);
  border-color:rgba(59,130,246,.25);
}

.spmb-card--warning{
  background:rgba(245,158,11,.08);
  border-color:rgba(245,158,11,.25);
}

.spmb-card--danger{
  background:rgba(239,68,68,.08);
  border-color:rgba(239,68,68,.30);
}

.spmb-title{
  font-weight:800;
  margin-bottom:6px;
}

.spmb-muted{
  color:#94a3b8;
  line-height:1.7;
}

.spmb-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

@media(max-width:900px){
  .spmb-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   SPMB CMS SAFE BLOCKS
   (no inline style needed)
   ========================= */

.spmb-wrap{ display:block; }

.spmb-card{
  background:rgba(15,23,42,.65);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:16px;
  margin:12px 0;
}

.spmb-card--success{ background:rgba(34,197,94,.08); border-color:rgba(34,197,94,.25); }
.spmb-card--info{ background:rgba(59,130,246,.08); border-color:rgba(59,130,246,.25); }
.spmb-card--warning{ background:rgba(245,158,11,.08); border-color:rgba(245,158,11,.25); }
.spmb-card--danger{ background:rgba(239,68,68,.08); border-color:rgba(239,68,68,.30); }

.spmb-h2{ margin:0; font-weight:900; letter-spacing:.2px; }
.spmb-h3{ margin:0; font-weight:900; }
.spmb-muted{ color:#94a3b8; line-height:1.75; }

.spmb-grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.spmb-box{
  background:rgba(2,6,23,.22);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:14px;
}

.spmb-list{ margin:10px 0 0; padding-left:18px; line-height:1.85; }
.spmb-ol{ margin:10px 0 0; padding-left:18px; line-height:1.85; }
.spmb-note{ margin-top:10px; }

.spmb-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(148,163,184,.08);
  color:var(--text);
  font-size:12px;
  font-weight:800;
}

@media(max-width:900px){
  .spmb-grid-2{ grid-template-columns:1fr; }
}

.alur {
  max-width: 900px;
  margin: auto;
}

.alur__title {
  font-size: 26px;
  margin-bottom: 6px;
}

.alur__desc {
  color: var(--muted);
  margin-bottom: 24px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--primary), var(--primary2));
  border-radius: 4px;
}

.step {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  position: relative;
}

.step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.step__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.step__card h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step--highlight .step__card {
  background: rgba(59,130,246,.08);
}

.step--success .step__card {
  background: rgba(34,197,94,.10);
}

.step--final .step__card {
  background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(59,130,246,.12));
}

/* ============ PANDUAN PENDAFTARAN ============ */
.guide { max-width: 1100px; margin: 0 auto; }
.guide__header { margin-bottom: 18px; }
.guide__title { margin: 0 0 6px; font-size: 28px; }
.guide__subtitle { margin: 0 0 12px; color: var(--muted); }

.guide__quick { display:flex; gap:10px; flex-wrap:wrap; }
.guide__chip{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  background: rgba(148,163,184,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  font-size: 13px;
}
.dot{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.dot--ok{ background: rgba(34,197,94,.9); }
.dot--warn{ background: rgba(245,158,11,.95); }
.dot--info{ background: rgba(59,130,246,.95); }

.guide__grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:16px;
  align-items:start;
}

.guide__section{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.guide__h{ margin: 0 0 12px; font-size: 18px; }

.steps{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }

.step{
  display:flex; gap:12px; align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  background: rgba(148,163,184,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.step__num{
  width: 34px; height: 34px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-weight: 800;
  background: rgba(59,130,246,.14);
  border: 1px solid rgba(59,130,246,.35);
  flex-shrink:0;
}

.step__title{ margin:0 0 6px; font-size: 15px; }
.step__text{ margin:0; color: var(--muted); line-height: 1.55; }

.kbd{
  display:inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  font-size: 12px;
}

.note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(148,163,184,.06);
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}
.note--info{ border-color: rgba(59,130,246,.35); background: rgba(59,130,246,.10); }
.note--warn{ border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.10); }
.note--danger{ border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.10); }

.bullets{ margin:0; padding-left: 18px; color: var(--muted); line-height:1.6; }
.bullets li{ margin: 6px 0; }

.panel{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.panel__title{ margin:0 0 10px; font-size: 16px; }

.mini{ margin:0; padding-left: 18px; color: var(--muted); line-height:1.6; }
.mini li{ margin: 6px 0; }

/* Responsive */
@media (max-width: 860px){
  .guide__grid{ grid-template-columns: 1fr; }
  .guide__title{ font-size: 22px; }
  .step{ padding: 10px; }
  .step__num{ width: 30px; height: 30px; border-radius: 10px; }
}

/* ====== Timeline: hapus ikon "??" manual, ganti ikon CSS ====== */

.timeline-title{
  position: relative;
  padding-left: 34px;
  margin: 0 0 10px;
}
.timeline-title::before{
  content: "📅";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(1px);
  opacity: .95;
}

/* Judul item timeline punya ikon bullet sendiri */
.timeline-item__title{
  position: relative;
  padding-left: 26px;
  margin: 0;
}
.timeline-item__title::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 22px;
  line-height: 1;
  color: rgba(34,197,94,.95); /* hijau elegan */
}

/* Catatan kecil (yang tadinya pakai "?") */
.timeline-item__note{
  position: relative;
  padding-left: 20px;
  margin: 10px 0 0;
  color: var(--muted);
}
.timeline-item__note::before{
  content: "ℹ";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .9;
}

/* ==========================
   ICON STYLE (NO EMOJI)
   ========================== */

/* ikon di judul (h3) */
.spmb-icon{
  position: relative;
  padding-left: 28px;
}
.spmb-icon::before{
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(148,163,184,.16);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* variasi ikon (pakai simbol teks simple yang aman) */
.spmb-icon--check::after,
.spmb-icon--free::after,
.spmb-icon--photo::after,
.spmb-icon--kit::after,
.spmb-icon--warn::after{
  position:absolute;
  left: 4px;
  top: 0px;
  font-weight: 800;
  font-size: 14px;
  line-height: 18px;
  opacity: .95;
}

.spmb-icon--check::after{ content:"✓"; color: rgba(34,197,94,1); }
.spmb-icon--free::after{  content:"0"; color: rgba(56,189,248,1); } /* gratis */
.spmb-icon--photo::after{ content:"▣"; color: rgba(251,191,36,1); } /* foto */
.spmb-icon--kit::after{   content:"≡"; color: rgba(167,139,250,1); } /* perlengkapan */
.spmb-icon--warn::after{  content:"!"; color: rgba(248,113,113,1); }

/* ==========================
   BADGE ICON (NO EMOJI)
   ========================== */

.spmb-badge{
  position: relative;
  padding-left: 26px;
}

.spmb-badge::before{
  content:"";
  position:absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,.45);
  box-shadow: 0 0 0 3px rgba(148,163,184,.12);
}

/* Variasi badge warna (lebih elegan dan tidak berubah jadi '?') */
.spmb-badge--key::before{    background: rgba(251,191,36,1); box-shadow:0 0 0 3px rgba(251,191,36,.15); }
.spmb-badge--mail::before{   background: rgba(56,189,248,1); box-shadow:0 0 0 3px rgba(56,189,248,.15); }
.spmb-badge--form::before{   background: rgba(167,139,250,1); box-shadow:0 0 0 3px rgba(167,139,250,.15); }
.spmb-badge--health::before{ background: rgba(34,197,94,1);  box-shadow:0 0 0 3px rgba(34,197,94,.15); }

.spmb-badge--ok::before{     background: rgba(34,197,94,1);  box-shadow:0 0 0 3px rgba(34,197,94,.15); }
.spmb-badge--ban::before{    background: rgba(248,113,113,1);box-shadow:0 0 0 3px rgba(248,113,113,.15); }

/* ===== TIMELINE BASE ===== */
.timeline{
  position:relative;
  margin:20px 0;
  padding-left:26px;
  border-left:2px solid rgba(255,255,255,.15);
}
.timeline-item{ position:relative; margin-bottom:18px; }

.timeline-dot{
  position:absolute;
  left:-9px;
  top:10px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  box-shadow:0 0 0 4px rgba(34,197,94,.15);
}
.timeline-content{
  background:rgba(15,23,42,.6);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px 16px;
}
.timeline-title{ margin:0; }

.timeline-date{
  font-size:13px;
  color:#93c5fd;
  margin:4px 0 10px;
}

/* note kecil di bawah paragraf */
.timeline-note{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed rgba(255,255,255,.12);
  color:rgba(226,232,240,.85);
  font-size:13px;
}
.timeline-bullet{
  width:10px;
  height:10px;
  border-radius:999px;
  margin-top:4px;
  background:rgba(251,191,36,.95);
  box-shadow:0 0 0 3px rgba(251,191,36,.14);
  flex:0 0 auto;
}
.timeline-bullet--info{
  background:rgba(56,189,248,.95);
  box-shadow:0 0 0 3px rgba(56,189,248,.14);
}

/* alert catatan */
.timeline-alert{
  margin-top:14px;
  background:rgba(239,68,68,.08);
  border-color:rgba(239,68,68,.35);
}
.timeline-alert__title{
  font-weight:800;
}

/* responsive */
@media(max-width:900px){
  .timeline{ padding-left:18px; }
}

/* ===== ICON SYSTEM (NO EMOJI) ===== */
.spmb-icon{
  position:relative;
  padding-left:28px;
}
.spmb-icon::before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  width:18px;
  height:18px;
  border-radius:6px;
  background:rgba(148,163,184,.16);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}
.spmb-icon::after{
  position:absolute;
  left:4px;
  top:0px;
  font-weight:900;
  font-size:14px;
  line-height:18px;
  opacity:.95;
}

/* variasi ikon aman (simbol ASCII/sederhana) */
.spmb-icon--calendar::after{ content:"≡"; color:rgba(56,189,248,1); }
.spmb-icon--form::after{     content:"1"; color:rgba(167,139,250,1); }
.spmb-icon--doc::after{      content:"2"; color:rgba(251,191,36,1); }
.spmb-icon--print::after{    content:"3"; color:rgba(34,197,94,1); }
.spmb-icon--cbt::after{      content:"4"; color:rgba(56,189,248,1); }
.spmb-icon--announce::after{ content:"5"; color:rgba(251,191,36,1); }
.spmb-icon--brain::after{    content:"6"; color:rgba(167,139,250,1); }
.spmb-icon--health::after{   content:"7"; color:rgba(34,197,94,1); }
.spmb-icon--talk::after{     content:"8"; color:rgba(56,189,248,1); }
.spmb-icon--trophy::after{   content:"9"; color:rgba(251,191,36,1); }
.spmb-icon--pin::after{      content:"10"; color:rgba(34,197,94,1); font-size:18px; top:-1px; }
.spmb-icon--warn::after{     content:"!"; color:rgba(248,113,113,1); }

/* ============ HALAMAN DAFTAR ONLINE ============ */
.openreg{ max-width: 1100px; margin: 0 auto; }

.openreg__hero{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.openreg__badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 800;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.28);
}

.openreg__title{
  margin: 10px 0 6px;
  font-size: 28px;
  line-height: 1.2;
}

.openreg__sub{
  margin: 0;
  color: var(--muted);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.openreg__status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.12);
}
.openreg__status--open{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.28);
}
.openreg__status--open::before{
  content:"";
  width:10px; height:10px; border-radius:999px;
  background: rgba(34,197,94,.95);
  box-shadow: 0 0 0 3px rgba(34,197,94,.14);
  display:inline-block;
}

.openreg__time{ font-size: 13px; }

.openreg__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.btn--xl{
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 14px;
}

.btn--primary{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #06121f;
  border: 0;
}

.openreg__hint{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.openreg__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.openreg__card{
  background: rgba(148,163,184,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 14px 16px;
}

.openreg__card--accent{
  background: rgba(59,130,246,.08);
  border-color: rgba(59,130,246,.22);
}

.openreg__h{ margin: 0 0 8px; font-size: 16px; }
.openreg__p{ margin: 0; color: var(--muted); line-height: 1.6; }

.openreg__mini{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,.12);
  color: rgba(226,232,240,.88);
  font-size: 13px;
}

.openreg__deadline{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.25);
  font-size: 13px;
  line-height: 1.55;
}

.openreg__notice{
  margin-top: 14px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.26);
  border-radius: 18px;
  padding: 14px 16px;
}

.openreg__noticeTitle{
  font-weight: 900;
  margin-bottom: 8px;
}

.openreg__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(226,232,240,.9);
  line-height: 1.65;
}

/* Mobile */
@media (max-width: 860px){
  .openreg__title{ font-size: 22px; }
  .openreg__grid{ grid-template-columns: 1fr; }
  .btn--xl{ width: 100%; text-align:center; }
}

/* ===== HOME GALLERY ===== */
.gallery__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom:12px;
}

.gallery__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.gallery__item, .gallery__slide{
  margin:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(15,23,42,.55);
}

.gallery__item img, .gallery__slide img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}

.gallery__item figcaption, .gallery__slide figcaption{
  padding:10px 12px;
  font-weight:800;
  font-size:13px;
  color:rgba(255,255,255,.88);
}

/* slider */
.gallery__viewport{ overflow:hidden; border-radius:16px; }
.gallery__track{
  display:flex;
  gap:12px;
  transition:transform .5s ease;
  will-change: transform;
}
.gallery__slide{
  min-width: calc(33.333% - 8px);
}
.gallery__slide img{ height:190px; }

.gallery__controls{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:12px;
}
.gallery__btn{
  width:40px; height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(148,163,184,.08);
  color:rgba(255,255,255,.9);
  cursor:pointer;
}
.gallery__btn:hover{ background:rgba(148,163,184,.14); }

.gallery__dots{ display:flex; gap:6px; }
.gallery__dot{
  width:8px; height:8px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.12);
}
.gallery__dot.is-active{ background:rgba(34,197,94,.85); }

@media (max-width: 900px){
  .gallery__grid{ grid-template-columns:1fr; }
  .gallery__item img{ height:200px; }
  .gallery__slide{ min-width:100%; }
  .gallery__slide img{ height:210px; }
  .gallery__head{ flex-direction:column; align-items:flex-start; }
}

/* =========================
   HOME: background ringan + soft
   ========================= */
body.page-home{
  /* HAPUS GAMBAR BACKGROUND HOME */
  background-image: none !important;

  /* Latar lebih terang (soft) */
  background: radial-gradient(1200px 600px at 20% 0%,
      rgba(59,130,246,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 20%,
      rgba(34,197,94,.14), transparent 55%),
    linear-gradient(180deg,
      #0b1220 0%,
      #0c1628 35%,
      #0b1323 100%) !important;
}

/* bikin overlay/cover (kalau ada pseudo element) jadi lebih tipis */
body.page-home::before{
  opacity: .18 !important;
}

/* Card sedikit lebih terang supaya mata tidak capek */
body.page-home .card{
  background: rgba(17, 26, 45, .72);
  border-color: rgba(255,255,255,.12);
}

/* Teks muted lebih jelas */
body.page-home .muted{
  color: rgba(226,232,240,.75);
}

.gallery__track{
  display:flex;
  gap:12px;
  transition: transform .45s ease;
  will-change: transform;
}

.gallery__slide{
  flex: 0 0 calc((100% - 24px) / 3);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.gallery__slide img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}

.gallery__slide figcaption{
  padding:10px 12px;
  font-weight:600;
  font-size:14px;
  color:#1f2937;
}

@media(max-width:900px){
  .gallery__slide{
    flex:0 0 100%;
  }
}

.gallery__dots{
  display:flex;
  gap:6px;
}

.gallery__dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#cbd5e1;
  cursor:pointer;
}

.gallery__dot.active{
  background:#22c55e;
}

/* =========================
   FIX: Tombol CTA Daftar Online hilang di mobile
   ========================= */
.openreg__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:stretch;
}

.openreg__cta .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:normal;        /* biar teks boleh turun baris */
  text-align:center;
}

/* Mobile */
@media (max-width: 900px){
  .openreg__cta{
    position:relative;
    z-index:5;
  }
  .openreg__cta .btn{
    width:100%;
  }
}

/* Jika parent ada overflow/height yang memotong */
.openreg,
.openreg__hero{
  overflow:visible !important;
  height:auto !important;
}

/* ===== FIX: tombol "Lihat Jadwal" hilang di mobile ===== */
.home-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.home-cta .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:normal;
}

/* Paksa tombol jadwal selalu tampil */
.home-cta__jadwal{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* Mobile: 2 tombol jadi full width biar gak ketutup */
@media (max-width: 900px){
  .home-cta{
    flex-direction:column;
    align-items:stretch;
  }
  .home-cta .btn{
    width:100% !important;
  }
}

/* Kalau ada elemen yang memotong tombol */
.hero, .left-column{
  overflow:visible !important;
}
