/* =========================================================================
   PORTAL PUBLIK — modern frontend styles (cek tagihan)
   ========================================================================= */

body, html {
  margin: 0;
  padding: 0;
  background: #f4f6fb;
  font-family: 'Poppins', 'Source Sans Pro', sans-serif;
}

a { text-decoration: none !important; }

/* ---------- Navbar ---------- */
.portal-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e7ecf5;
  box-shadow: 0 2px 12px rgba(23, 41, 79, .06);
}
.portal-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #27334c;
  font-weight: 600;
  font-size: 16px;
}
.portal-brand img { height: 40px; border-radius: 8px; }
.portal-link {
  color: #5b6cff;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #eef0ff;
}
.portal-link:hover { background: #e0e5ff; color: #4a56d9; }

/* ---------- Hero ---------- */
.portal-hero {
  background: linear-gradient(135deg, #4f5cf0 0%, #5b6cff 45%, #8b5cf6 100%);
  text-align: center;
  padding: 64px 20px 72px;
  position: relative;
  overflow: hidden;
}
.portal-hero::before,
.portal-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
}
.portal-hero::before { width: 340px; height: 340px; top: -140px; right: -80px; }
.portal-hero::after { width: 300px; height: 300px; bottom: -160px; left: -90px; }
.portal-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.portal-hero h1 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
}
.portal-hero p {
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  margin: 0;
  font-weight: 400;
}

/* ---------- Section content ---------- */
#sec-cari {
  max-width: 1100px;
  margin: -34px auto 40px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

/* ---------- Row status colors ---------- */
.table .row-lunas { color: #16a34a; font-weight: 500; }
.table .row-belum { color: #dc2626; font-weight: 500; }

/* ---------- Footer ---------- */
.portal-footer {
  border-top: 1px solid #e7ecf5;
  background: #fff;
  text-align: center;
  padding: 18px 20px;
}
.portal-footer p { margin: 0; font-size: 13px; color: #63718f; }

@media (max-width: 767px) {
  .portal-hero h1 { font-size: 24px; }
  .portal-hero { padding: 48px 16px 56px; }
  .portal-brand span { font-size: 14px; }
}