@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


:root{
  --bg:#0b1020;
  --card:#111a33;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.56);
  --text:#eef2ff;
  --line:rgba(255,255,255,.10);
  --pri:#5b7cfa;
  --pri2:#3b5bdb;
  --ok:#1bd96a;
  --warn:#ffcc66;
  --err:#ff5d5d;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --r:18px;
  --r2:22px;
}

*{box-sizing:border-box}
html,body{height:100%}

/* Ornamen rumah/desain: fixed, halus, tidak mengganggu konten */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* SVG rumah (outline) + grid halus */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700' viewBox='0 0 1200 700'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='2'%3E%3Cpath d='M210 420 L360 300 L510 420'/%3E%3Cpath d='M250 420 V560 H470 V420'/%3E%3Crect x='300' y='470' width='60' height='90'/%3E%3Crect x='390' y='460' width='60' height='60'/%3E%3Cpath d='M760 430 L900 320 L1040 430'/%3E%3Cpath d='M800 430 V570 H1000 V430'/%3E%3Crect x='860' y='480' width='70' height='90'/%3E%3Crect x='950' y='470' width='60' height='60'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'%3E%3Cpath d='M0 90 H1200 M0 180 H1200 M0 270 H1200 M0 360 H1200 M0 450 H1200 M0 540 H1200 M0 630 H1200'/%3E%3Cpath d='M120 0 V700 M240 0 V700 M360 0 V700 M480 0 V700 M600 0 V700 M720 0 V700 M840 0 V700 M960 0 V700 M1080 0 V700'/%3E%3C/g%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-size: cover;
  opacity: .35;
  filter: blur(.2px);
}

/* pastikan semua konten di atas background */
.topbar, main, .footer{
  position: relative;
  z-index: 1;
}


body{
  margin:0;
  font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue";
  color:var(--text);

  /* background fixed */
  background-attachment: fixed;
  background-color: var(--bg);

  /* layer 1: gradient glow */
  background-image:
    radial-gradient(1100px 600px at 20% 10%, rgba(91,124,250,.28), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(27,217,106,.18), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(255,204,102,.10), transparent 55%);

  /* biar smooth */
  background-repeat: no-repeat;
  background-size: cover;
}

a{color:#b7c5ff; text-decoration:none}
a:hover{text-decoration:underline}

.container{width:min(1100px,92%); margin:0 auto}
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(10,16,34,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; font-weight:800}
.brand a{color:var(--text); text-decoration:none}
.badge{
  font-size:12px; color:rgba(255,255,255,.9);
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  padding:6px 10px; border-radius:999px;
}
.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.pill{
  font-size:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  padding:8px 10px;
  border-radius:999px;
  color:rgba(255,255,255,.86);
}

.btn{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:650;
}
.btn:hover{background:rgba(255,255,255,.10)}
.btn-primary{
  background: linear-gradient(135deg, var(--pri), var(--pri2));
  border-color: rgba(91,124,250,.45);
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-ghost{background:transparent}
.wfull{width:100%}

main{padding:22px 0 44px}
.footer{border-top:1px solid var(--line); padding:18px 0; color:var(--muted2)}
.footer-inner{display:flex; justify-content:space-between; align-items:center}

.hero{margin-top:10px}
.hero-card{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}


@media (max-width: 900px){
  .hero-card{grid-template-columns:1fr}
}
.hero-left{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: var(--r2);
  padding:22px;
  box-shadow: var(--shadow);
}
.hero-right .summary{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: var(--r2);
  padding:18px;
  box-shadow: var(--shadow);
}


.hero-left,
.summary,
.panel,
.card,
.mini-card{
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.05);
}


h1{margin:0 0 8px; font-size:34px; letter-spacing:-.02em}
h2{margin:0; font-size:22px}
h3{margin:0; font-size:16px}
.muted{color:var(--muted)}
.small{font-size:13px}
.tiny{font-size:12px; color:var(--muted2)}
.big{font-size:22px; font-weight:800; letter-spacing:.02em}

.notice{
  margin:14px 0;
  padding:12px 14px;
  border:1px solid rgba(91,124,250,.35);
  background: rgba(91,124,250,.10);
  border-radius: 14px;
}
.bullets{margin:14px 0 0; padding-left:18px; color:var(--muted)}
.bullets li{margin:6px 0}

.panel{
  margin-top:16px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: var(--r2);
  padding:18px;
  box-shadow: var(--shadow);
}
.panel-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
  flex-wrap:wrap;
}
.legend{display:flex; align-items:center; gap:10px; color:var(--muted)}
.dot{width:10px; height:10px; border-radius:50%;}
.dot-booked{background: rgba(27,217,106,.8)}
.dot-hold{background: rgba(255,204,102,.85)}

.summary-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:10px}
.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.86);
}

label{display:block; margin:10px 0 6px; color:rgba(255,255,255,.86); font-size:13px}
input, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(8,12,26,.65);
  color: var(--text);
  outline:none;
}
input:focus, select:focus{border-color: rgba(91,124,250,.55)}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.value{padding:10px 0; font-weight:800}
.line{height:1px; background:var(--line); margin:12px 0}
.row{display:flex; flex-direction:column; gap:10px}
.row-between{display:flex; justify-content:space-between; align-items:center; margin-top:10px; gap:10px}
.gap{gap:10px}

.auth{min-height: calc(100vh - 80px); display:flex; align-items:center; justify-content:center; padding:40px 0}
.card{
  width:min(520px, 92%);
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: var(--r2);
  padding:22px;
  box-shadow: var(--shadow);
}

.alert{padding:12px 14px; border-radius:14px; margin:12px 0}
.alert-error{border:1px solid rgba(255,93,93,.35); background: rgba(255,93,93,.12)}
.alert-ok{border:1px solid rgba(27,217,106,.35); background: rgba(27,217,106,.12)}

.table-wrap{overflow:auto; border-radius:16px; border:1px solid var(--line)}
.table{width:100%; border-collapse:collapse; min-width:900px}
.table th,.table td{padding:12px 12px; border-bottom:1px solid var(--line); text-align:left}
.table th{font-size:12px; color:rgba(255,255,255,.72); letter-spacing:.04em; text-transform:uppercase}

.status{
  display:inline-flex; padding:6px 10px;
  border-radius:999px; font-size:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
}
.s-paid{border-color:rgba(27,217,106,.35); background:rgba(27,217,106,.12)}
.s-temp,.s-unpaid{border-color:rgba(255,204,102,.35); background:rgba(255,204,102,.12)}
.s-expired{border-color:rgba(255,93,93,.35); background:rgba(255,93,93,.12)}

.search{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.search input{min-width:260px}

.cards{display:grid; grid-template-columns:repeat(4, 1fr); gap:12px}
@media (max-width: 900px){ .cards{grid-template-columns:repeat(2,1fr)} }
.mini-card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:14px;
}
.mini-card .k{font-size:12px; color:rgba(255,255,255,.72); letter-spacing:.06em}
.mini-card .v{font-size:28px; font-weight:900; margin-top:6px}

.calendar{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(0,0,0,.12);
}

/* FullCalendar theming */
.fc{
  --fc-border-color: rgba(255,255,255,.12);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(255,255,255,.05);
  --fc-today-bg-color: rgba(91,124,250,.12);
  color: var(--text);
}
.fc .fc-toolbar-title{font-weight:900}
.fc .fc-button{
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.fc .fc-button:hover{background:rgba(255,255,255,.10)}
.fc .fc-button-primary:not(:disabled).fc-button-active{
  background: linear-gradient(135deg, var(--pri), var(--pri2));
  border-color: rgba(91,124,250,.45);
}
.fc .fc-timegrid-slot{height:2.6em}
.fc .fc-event{
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  padding:4px 6px;
  font-size:12px;
}
.fc .fc-event[data-status="PAID"]{background: rgba(27,217,106,.22)}
.fc .fc-event[data-status="UNPAID"],
.fc .fc-event[data-status="TEMP"]{background: rgba(255,204,102,.18)}

/* Modal */
.modal{
  position:fixed; inset:0; display:none;
  background: rgba(0,0,0,.55);
  align-items:center; justify-content:center;
  padding:18px;
}
.modal.show{display:flex}
.modal-box{
  width:min(520px, 96%);
  background: rgba(18,26,54,.96);
  border:1px solid var(--line);
  border-radius: 22px;
  padding:18px;
  box-shadow: var(--shadow);
}
.modal-actions{display:flex; gap:10px; justify-content:flex-end; margin-top:12px}

.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.mini-faq{margin-top:16px; display:grid; gap:10px}
.mini-faq .q{font-weight:800}

/* ===== Mobile header fix ===== */
@media (max-width: 768px){
  .topbar-inner{padding:10px 0}
  .brand{gap:8px}
  .nav{
    gap:8px;
    justify-content:flex-end;
  }
  .nav a{font-size:13px}
  .btn{padding:8px 10px; border-radius:12px}
  .pill{padding:7px 10px}
  /* supaya login/daftar tidak bikin header jadi 2 baris tinggi banget */
  .nav{flex-wrap:nowrap}
  .nav a, .nav .btn, .nav .pill{white-space:nowrap}
}

.logo{height:28px; width:auto; display:inline-block; vertical-align:middle}
.brand-title{vertical-align:middle}
@media (max-width:768px){
  .logo{height:24px}
  .brand-title{font-size:14px}
}

/* ===== HERO contrast booster ===== */
.hero-left, .summary{
  background: rgba(10,16,34,.72) !important;   /* lebih gelap */
  border: 1px solid rgba(255,255,255,.14) !important;
}

.hero-left h1{
  color: rgba(255,255,255,.96);
  letter-spacing: -.02em;
}

.muted{color: rgba(255,255,255,.78)}

/* panel + card juga sedikit lebih gelap biar teks nyaman */
.panel, .card, .mini-card{
  background: rgba(10,16,34,.62);
}

.hero-left{
  position:relative;
  overflow:hidden;
}
.hero-left::after{
  content:"";
  position:absolute;
  inset:-40px;
  background: radial-gradient(600px 240px at 20% 15%, rgba(91,124,250,.25), transparent 60%),
              radial-gradient(540px 220px at 80% 30%, rgba(27,217,106,.18), transparent 55%);
  opacity:.9;
  pointer-events:none;
}
.hero-left > *{position:relative; z-index:1}

