:root {
  --primary: #2b927d;
  --primary-dark: #197461;
  --primary-soft: #e8f5f1;
  --red: #f3202b;
  --orange: #ffad16;
  --bg: #f6f8f7;
  --text: #253238;
  --muted: #76838f;
  --line: #e7ecea;
  --shadow: 0 18px 45px rgba(29, 77, 66, 0.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}
a {
  color: var(--primary);
}
.navbar {
  border-bottom: 1px solid rgba(34, 95, 81, 0.07);
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.navbar-brand span {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1.22;
}
.navbar-brand strong {
  letter-spacing: 0.01em;
}
.navbar-brand small {
  color: var(--muted);
  font-size: 0.78rem;
}
.nav-link {
  font-weight: 600;
  color: #495954 !important;
}
.nav-link:hover {
  color: var(--primary) !important;
}
.btn {
  border-radius: 11px;
  font-weight: 700;
}
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(43, 146, 125, 0.18);
}
.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
}
.hero {
  padding: 88px 0 92px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 173, 22, 0.08);
  right: -180px;
  top: -170px;
}
.hero:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(43, 146, 125, 0.07);
  left: -180px;
  bottom: -200px;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.045em;
  max-width: 760px;
}
.hero h1 span {
  color: var(--primary);
}
.hero .lead {
  font-size: 1.2rem;
  max-width: 690px;
  color: #4b5d58;
}
.hero-law {
  max-width: 680px;
  color: var(--muted);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.hero-kicker .red {
  background: var(--red);
}
.hero-kicker .orange {
  background: var(--orange);
}
.hero-kicker .green {
  background: var(--primary);
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  color: #52615d;
}
.hero-points i {
  color: var(--primary);
  margin-right: 5px;
}
.hero-visual {
  min-height: 530px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-stage {
  width: 320px;
  height: 320px;
  border-radius: 36px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 25px 70px rgba(31, 90, 77, 0.12);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 3;
}
.hero-logo {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.shape {
  position: absolute;
  display: block;
  z-index: 1;
}
.shape-red {
  width: 125px;
  height: 125px;
  background: var(--red);
  left: 5px;
  top: 70px;
  border-radius: 0 60px 0 60px;
}
.shape-orange {
  width: 85px;
  height: 85px;
  background: var(--orange);
  right: 30px;
  top: 22px;
  border-radius: 50%;
}
.shape-green-one {
  width: 150px;
  height: 150px;
  background: var(--primary);
  right: -10px;
  bottom: 75px;
  border-radius: 70px 0 70px 0;
}
.shape-green-two {
  width: 105px;
  height: 105px;
  background: var(--primary);
  left: 25px;
  bottom: 55px;
  border-radius: 0 55px 0 55px;
  opacity: 0.95;
}
.tracking-card,
.form-card,
.success-card,
.tracking-search,
.tracking-result,
.panel-card,
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-tracking-card {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  left: -5px;
  width: 310px;
  padding: 20px;
}
.mini-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 800;
}
.status-orb {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff2d9;
  color: #d98500;
}
.progress-bar {
  background: var(--primary);
}
.section {
  padding: 72px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title span,
.page-heading span,
.tracking-search span,
.eyebrow {
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.section-title h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.section-title p {
  color: var(--muted);
}
.service-flow {
  background: linear-gradient(180deg, #f8faf9, #f3f7f5);
}
.step-card {
  height: 100%;
  padding: 24px 16px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  text-align: center;
  transition: 0.22s;
  box-shadow: 0 8px 20px rgba(38, 84, 74, 0.04);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-weight: 800;
  font-size: 1.15rem;
}
.rsud-step small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.quick-track-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.quick-track-card:before {
  content: "";
  position: absolute;
  width: 9px;
  inset: 0 auto 0 0;
  background: linear-gradient(
    var(--red) 0 33%,
    var(--orange) 33% 66%,
    var(--primary) 66%
  );
}
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.form-container {
  max-width: 980px;
}
.page-heading {
  max-width: 760px;
  margin: 0 auto 35px;
}
.form-steps {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-bottom: 22px;
}
.form-steps span {
  white-space: nowrap;
  padding: 9px 14px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #e3e8e6;
  font-size: 0.85rem;
}
.form-steps .active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: #bfe3d8;
}
.form-card {
  padding: 26px;
  margin-bottom: 18px;
}
.form-card h4 {
  margin-bottom: 20px;
}
.form-control,
.form-select {
  border-radius: 11px;
  padding: 0.72rem 0.9rem;
  border-color: #dce3e0;
}
.form-control:focus,
.form-select:focus {
  border-color: #8bc8bb;
  box-shadow: 0 0 0 0.22rem rgba(43, 146, 125, 0.12);
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.success-card {
  max-width: 800px;
  margin: auto;
  padding: 42px;
}
.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e7f6f1;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}
.request-number {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin: 20px;
}
.qr-box svg {
  max-width: 170px;
}
.tracking-search {
  max-width: 760px;
  margin: auto;
  padding: 35px;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
}
.empty-state i {
  font-size: 4rem;
  color: #b5c1bd;
}
.tracking-result {
  max-width: 900px;
  margin: auto;
  padding: 32px;
}
.timeline {
  position: relative;
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 0 28px 28px;
  border-left: 2px solid #dce9e4;
}
.timeline-item .dot {
  position: absolute;
  left: -8px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
}
.timeline-item p {
  margin: 0.4rem 0 0;
}
.login-page {
  min-height: 100vh;
  background: #f0f6f4;
  display: grid;
  place-items: center;
  padding: 20px;
}
.login-shell {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 75px rgba(16, 58, 47, 0.16);
}
.login-brand {
  background: #f7fbf9;
  color: var(--text);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.login-brand:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--red);
  left: -40px;
  bottom: 35px;
  border-radius: 0 58px 0 58px;
}
.login-brand:after {
  content: "";
  position: absolute;
  width: 105px;
  height: 105px;
  background: var(--orange);
  right: -30px;
  top: 42px;
  border-radius: 50%;
}
.login-brand img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.login-brand h2,
.login-brand p {
  position: relative;
  z-index: 2;
}
.login-brand h2 {
  font-size: 1.35rem;
  font-weight: 850;
}
.login-brand p {
  color: var(--primary-dark);
  font-weight: 700;
}
.login-panel {
  padding: 62px 50px;
}
.login-panel h3 {
  font-weight: 850;
}
.admin-body {
  background: #f4f7f6;
}
.admin-shell {
  min-height: 100vh;
}
.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 20px;
  z-index: 1040;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.sidebar-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.admin-sidebar nav {
  display: grid;
  gap: 6px;
}
.admin-sidebar nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #46534f;
  padding: 12px 14px;
  border-radius: 11px;
  font-weight: 600;
}
.admin-sidebar nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.admin-main {
  margin-left: 260px;
}
.admin-header {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 26px;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.admin-header:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--red) 0 7%,
    var(--orange) 7% 14%,
    var(--primary) 14% 100%
  );
  opacity: 0.9;
}
.admin-content {
  padding: 28px;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.page-title h1 {
  font-size: 1.7rem;
  margin: 0;
  font-weight: 800;
}
.page-title p {
  margin: 4px 0 0;
  color: var(--muted);
}
.stat-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card strong {
  font-size: 1.9rem;
}
.stat-card small {
  color: var(--muted);
}
.panel-card {
  padding: 22px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.detail-grid > div {
  display: flex;
  flex-direction: column;
}
.detail-grid .full {
  grid-column: 1/-1;
}
.detail-grid small {
  color: var(--muted);
}
.file-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.badge {
  border-radius: 999px;
}
.mail-status-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fbfdfc;
}
.logo-preview {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 10px;
}
@media (max-width: 991.98px) {
  .hero {
    padding: 60px 0;
  }
  .hero-visual {
    min-height: 470px;
  }
  .logo-stage {
    width: 280px;
    height: 280px;
  }
  .hero-tracking-card {
    left: 15px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-brand {
    padding: 35px;
  }
  .login-brand img {
    width: 150px;
    height: 150px;
  }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
  }
  .admin-sidebar.open {
    transform: none;
  }
  .admin-main {
    margin-left: 0;
  }
  .quick-track-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 575.98px) {
  .navbar-brand strong {
    font-size: 0.75rem;
  }
  .navbar-brand small {
    font-size: 0.68rem;
  }
  .brand-logo {
    width: 45px;
    height: 45px;
  }
  .hero h1 {
    font-size: 2.55rem;
  }
  .hero-visual {
    min-height: 420px;
  }
  .logo-stage {
    width: 235px;
    height: 235px;
  }
  .shape-red {
    width: 90px;
    height: 90px;
  }
  .shape-orange {
    width: 65px;
    height: 65px;
  }
  .shape-green-one {
    width: 110px;
    height: 110px;
  }
  .shape-green-two {
    width: 80px;
    height: 80px;
  }
  .hero-tracking-card {
    width: 280px;
    bottom: 10px;
  }
  .form-card,
  .tracking-search,
  .tracking-result,
  .success-card {
    padding: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid .full {
    grid-column: auto;
  }
  .admin-content {
    padding: 18px;
  }
  .login-panel {
    padding: 36px 26px;
  }
}

/* ===== Visual refinement - RSUD logo palette ===== */
:root {
  --primary: #26917a;
  --primary-dark: #197461;
  --primary-soft: #eaf6f2;
  --primary-faint: #f2f9f7;
  --red: #ed1c24;
  --red-soft: #fff0f1;
  --orange: #ffa515;
  --orange-soft: #fff7e7;
  --bg: #f2f6f4;
  --surface: #ffffff;
  --text: #253238;
  --muted: #71817b;
  --line: #dfe9e5;
  --shadow: 0 16px 42px rgba(25, 116, 97, 0.09);
  --shadow-soft: 0 8px 24px rgba(25, 116, 97, 0.07);
}
body {
  background: linear-gradient(180deg, #f4f8f6 0, #f7f9f8 100%);
}
.public-navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(38, 145, 122, 0.1);
  box-shadow: 0 5px 20px rgba(23, 83, 70, 0.05);
  backdrop-filter: blur(10px);
}
.brand-logo-shell,
.footer-logo-shell,
.sidebar-logo-shell {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 7px 18px rgba(25, 116, 97, 0.08);
}
.brand-logo-shell {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  padding: 4px;
}
.brand-logo-shell .brand-logo {
  width: 100%;
  height: 100%;
}
.footer-logo-shell {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  padding: 5px;
}
.footer-logo-shell .footer-logo {
  width: 100%;
  height: 100%;
}
.nav-link {
  padding: 0.65rem 0.85rem !important;
  border-radius: 10px;
}
.nav-link:hover {
  background: var(--primary-soft);
}
.hero {
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(255, 165, 21, 0.1),
      transparent 25%
    ),
    radial-gradient(
      circle at 8% 90%,
      rgba(38, 145, 122, 0.12),
      transparent 31%
    ),
    linear-gradient(180deg, #ffffff 0, #f7fbf9 100%);
}
.hero:before {
  background: rgba(255, 165, 21, 0.09);
}
.hero:after {
  background: rgba(38, 145, 122, 0.08);
}
.logo-stage {
  border: 1px solid rgba(38, 145, 122, 0.16);
  box-shadow: 0 28px 70px rgba(25, 116, 97, 0.15);
}
.logo-stage:after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(38, 145, 122, 0.14);
  border-radius: 28px;
  pointer-events: none;
}
.hero-tracking-card {
  border-top: 4px solid var(--orange);
}
.service-flow {
  background: linear-gradient(180deg, #edf7f3 0, #f7f9f8 100%);
}
.quick-track-section {
  background: linear-gradient(180deg, #f7f9f8 0, #f1f6f4 100%);
}
.quick-track-card {
  border-color: #d9e8e3;
  background: linear-gradient(110deg, #fff 0, #fafdfc 68%, #f0f9f6 100%);
}
.site-footer {
  background: #fff;
}

/* Guide */
.guide-section .rsud-step {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 22px 18px;
}
.guide-section .rsud-step:after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(38, 145, 122, 0.06);
}
.guide-section .rsud-step .step-number {
  margin: 0 0 14px;
}
.guide-section .rsud-step strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.guide-section .rsud-step p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.guide-detail-grid {
  margin-top: 28px !important;
}
.guide-info-card {
  height: 100%;
  display: flex;
  gap: 15px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.guide-info-card .guide-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.guide-info-card h5 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 7px;
}
.guide-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.guide-green .guide-icon {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.guide-orange .guide-icon {
  background: var(--orange-soft);
  color: #c57a00;
}
.guide-red .guide-icon {
  background: var(--red-soft);
  color: var(--red);
}
.guide-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d9e8e3;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.guide-help:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: linear-gradient(
    var(--red) 0 33%,
    var(--orange) 33% 66%,
    var(--primary) 66%
  );
}
.guide-help h4 {
  font-weight: 800;
  margin: 0.3rem 0 0.4rem;
}

/* Request form */
.request-page-section {
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(38, 145, 122, 0.08),
      transparent 22%
    ),
    radial-gradient(
      circle at 92% 20%,
      rgba(255, 165, 21, 0.08),
      transparent 20%
    ),
    #f3f7f5;
}
.form-intro-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(110deg, #eaf6f2, #f8fcfa);
  border: 1px solid #cae5dd;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(38, 145, 122, 0.05);
}
.form-intro-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 14px rgba(38, 145, 122, 0.1);
}
.form-intro-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.form-steps {
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(25, 116, 97, 0.04);
}
.form-steps span {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #6c7b76;
}
.form-steps span b {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #edf2f0;
  color: #71817b;
  font-size: 0.72rem;
}
.form-steps .active {
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px #c8e6dd;
  color: var(--primary-dark);
}
.form-steps .active b {
  background: var(--primary);
  color: #fff;
}
.form-section-card {
  padding: 0;
  overflow: hidden;
  border-color: #dce8e4;
}
.form-section-card > .row,
.form-section-card > label,
.form-section-card > textarea,
.form-section-card > .choice-list,
.form-section-card > .choice-grid,
.form-section-card > .agreement-box,
.form-section-card > .submit-request-btn,
.form-section-card > .form-security-note {
  margin-left: 26px;
  margin-right: 26px;
}
.form-section-card > .row {
  margin-bottom: 26px;
}
.form-section-card > label {
  display: block;
}
.form-section-card > textarea {
  width: calc(100% - 52px);
  margin-bottom: 26px;
}
.form-section-card > .choice-list,
.form-section-card > .choice-grid {
  margin-bottom: 26px;
}
.form-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(90deg, #fbfdfc, #f2f9f7);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.form-section-heading h4 {
  margin: 0 0 2px;
  font-size: 1.08rem;
  font-weight: 800;
}
.form-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.section-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.76rem;
  box-shadow: 0 8px 18px rgba(38, 145, 122, 0.18);
}
.section-badge.orange {
  background: var(--orange);
  color: #5f4100;
}
.section-badge.red {
  background: var(--red);
}
.section-heading-icon {
  margin-left: auto;
  color: var(--primary);
  font-size: 1.35rem;
}
.section-heading-icon.orange {
  color: #d48400;
}
.section-heading-icon.red {
  color: var(--red);
}
.choice-grid {
  display: grid;
  gap: 12px;
}
.choice-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choice-grid.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choice-card,
.check-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dde7e3;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s;
  position: relative;
}
.choice-card:hover,
.check-option:hover {
  border-color: #9ccfc2;
  background: #fbfefd;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(38, 145, 122, 0.07);
}
.choice-card input,
.check-option input {
  flex: 0 0 auto;
}
.choice-card > span:last-child,
.check-option > span:last-child {
  display: flex;
  flex-direction: column;
}
.choice-card strong,
.check-option strong {
  font-size: 0.92rem;
}
.choice-card small,
.check-option small {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}
.choice-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.choice-list {
  display: grid;
  gap: 10px;
}
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #7f918b;
}
.input-icon-wrap .form-control {
  padding-left: 40px;
}
.agreement-box {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #f7faf9;
  border: 1px solid var(--line);
  cursor: pointer;
}
.agreement-box span {
  display: flex;
  flex-direction: column;
}
.agreement-box small {
  color: var(--muted);
  margin-top: 3px;
}
.confirm-card {
  padding-bottom: 26px;
}
.submit-request-btn {
  width: calc(100% - 52px) !important;
}
.form-security-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 12px;
  margin-bottom: 0;
}
.form-security-note i {
  color: var(--primary);
  margin-right: 4px;
}
.modern-alert {
  display: flex;
  border: 0;
  border-left: 5px solid var(--red);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

/* Admin */
.admin-body {
  background: linear-gradient(180deg, #eff5f2 0, #f6f8f7 100%);
}
.admin-sidebar {
  background: linear-gradient(180deg, #ffffff 0, #f8fbfa 100%);
  border-right: 1px solid #dce8e4;
  box-shadow: 8px 0 28px rgba(23, 83, 70, 0.04);
}
.sidebar-brand {
  padding: 4px 0 20px;
  margin-bottom: 18px;
}
.sidebar-logo-shell {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  padding: 5px;
  flex: 0 0 55px;
}
.sidebar-logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sidebar-brand span:last-child {
  line-height: 1.2;
}
.sidebar-brand small {
  color: var(--muted);
  font-weight: 600;
}
.sidebar-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: #96a39f;
  font-weight: 800;
  padding: 0 12px 7px;
}
.admin-sidebar nav a {
  position: relative;
}
.admin-sidebar nav a i {
  width: 22px;
  text-align: center;
}
.admin-sidebar nav a.active {
  background: linear-gradient(90deg, #e5f4ef, #f2faf7);
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--primary);
}
.admin-sidebar nav a.active i {
  color: var(--primary);
}
.sidebar-footer-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  border: 1px solid #dce8e4;
  background: #fff;
  border-radius: 15px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(25, 116, 97, 0.05);
}
.sidebar-footer-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.sidebar-footer-card strong,
.sidebar-footer-card small {
  display: block;
}
.sidebar-footer-card strong {
  font-size: 0.84rem;
}
.sidebar-footer-card small {
  font-size: 0.7rem;
  color: var(--muted);
}
.admin-header {
  height: 82px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 0 30px;
}
.admin-header-title {
  display: flex;
  flex-direction: column;
}
.admin-header-title strong {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.admin-header-title small {
  color: var(--muted);
  font-size: 0.74rem;
}
.admin-role-pill {
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.admin-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line) !important;
  box-shadow: 0 5px 14px rgba(25, 116, 97, 0.05);
}
.admin-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}
.admin-content {
  padding: 30px;
}
.admin-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  color: var(--primary);
  font-weight: 850;
}
.page-title h1 {
  margin-top: 4px;
}
.page-title p {
  max-width: 760px;
}
.stat-card-modern {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-height: 106px;
  padding: 18px;
}
.stat-card-modern:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--stat-accent, var(--primary));
}
.stat-card-modern:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  right: -30px;
  top: -35px;
  background: color-mix(
    in srgb,
    var(--stat-accent, var(--primary)) 10%,
    transparent
  );
}
.stat-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--stat-accent, var(--primary)) 12%, white);
  color: var(--stat-accent, var(--primary));
  font-size: 1.18rem;
}
.stat-content {
  display: flex;
  flex-direction: column;
}
.stat-card-modern strong {
  font-size: 1.65rem;
  line-height: 1.1;
}
.stat-card-modern span {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 4px;
}
.panel-card {
  border-color: #dde8e4;
  box-shadow: 0 12px 32px rgba(25, 116, 97, 0.065);
}
.panel-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.panel-card-heading > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.panel-card-heading strong,
.panel-card-heading small {
  display: block;
}
.panel-card-heading small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}
.panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.panel-icon.orange {
  background: var(--orange-soft);
  color: #c77b00;
}
.panel-icon.red {
  background: var(--red-soft);
  color: var(--red);
}
.chart-panel {
  min-height: 100%;
}
.modern-table thead th,
.report-table thead th {
  background: #f2f8f5;
  color: #47615a;
  border-bottom-color: #d9e7e2;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.modern-table tbody td,
.report-table tbody td {
  border-color: #edf2f0;
}
.btn-soft-primary {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid #cde8e0;
}
.btn-soft-primary:hover {
  background: var(--primary);
  color: #fff;
}
.report-filter-card {
  padding: 20px;
}
.report-average {
  padding: 10px 13px;
  border-radius: 12px;
  background: #f4f8f6;
  color: #4e625c;
}
.report-table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
}
.report-table {
  margin: 0;
  font-size: 0.82rem;
  min-width: 1900px;
}
.report-long-text {
  min-width: 190px;
  max-width: 260px;
  white-space: normal;
}
.delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.empty-state-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.empty-state-inline i {
  font-size: 2rem;
  color: #aebdb8;
}
.empty-state-inline strong {
  color: var(--text);
}

@media (max-width: 991.98px) {
  .guide-help {
    flex-direction: column;
    align-items: flex-start;
  }
  .choice-grid.three-cols {
    grid-template-columns: 1fr;
  }
  .admin-content {
    padding: 22px;
  }
  .sidebar-footer-card {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .choice-grid.two-cols {
    grid-template-columns: 1fr;
  }
  .form-section-card > .row,
  .form-section-card > label,
  .form-section-card > textarea,
  .form-section-card > .choice-list,
  .form-section-card > .choice-grid,
  .form-section-card > .agreement-box,
  .form-section-card > .submit-request-btn,
  .form-section-card > .form-security-note {
    margin-left: 18px;
    margin-right: 18px;
  }
  .form-section-card > textarea,
  .submit-request-btn {
    width: calc(100% - 36px) !important;
  }
  .form-section-heading {
    padding: 17px 18px;
  }
  .guide-help {
    padding: 24px 22px;
  }
  .dashboard-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* === Refinement 12-09-2026: privacy, data delivery, objection === */
body {
  font-family:
    "Manrope",
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  letter-spacing: -0.006em;
}
.form-control,
.form-select,
.btn {
  font-family: inherit;
}
.page-heading h1,
.form-section-heading h4,
.panel-card h5,
.tracking-result h2 {
  letter-spacing: -0.025em;
}

.privacy-action-box {
  margin: 0 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d5e6e0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5fbf9, #ecf7f3);
}
.privacy-action-box > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.privacy-action-box strong {
  font-size: 1rem;
}
.privacy-action-box small {
  color: var(--muted);
  margin-top: 3px;
}
.privacy-action-icon,
.privacy-modal-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 18px rgba(38, 145, 122, 0.18);
}
.privacy-modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(19, 67, 57, 0.22);
}
.privacy-modal-header {
  background: linear-gradient(135deg, #f4fbf8, #edf7f3);
  border-bottom: 1px solid #dde9e5;
  padding: 20px 24px;
}
.privacy-modal-header h5 {
  font-size: 1rem;
  font-weight: 800;
  color: #183b33;
}
.privacy-modal-header small {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.privacy-notice-body {
  padding: 26px 28px;
  color: #344841;
  line-height: 1.75;
}
.privacy-notice-body p {
  margin-bottom: 15px;
}
.privacy-notice-body ol {
  padding-left: 1.3rem;
  margin-bottom: 18px;
}
.privacy-notice-body li {
  padding: 3px 0;
}
.privacy-signature {
  display: flex;
  flex-direction: column;
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  background: #f6faf8;
  border-radius: 0 12px 12px 0;
}
.privacy-signature span {
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: 3px;
}
.privacy-consent-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #bfdcd3;
  border-radius: 14px;
  background: #ecf8f4;
  cursor: pointer;
}
.privacy-consent-box span {
  display: flex;
  flex-direction: column;
}
.privacy-consent-box small {
  color: #5e746c;
  margin-top: 3px;
}
.privacy-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5ece9;
  background: #fbfdfc;
}

.upload-by-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
}
.objection-admin-card {
  padding: 15px 16px;
  border: 1px solid #e5e9e7;
  border-radius: 14px;
  background: #fbfcfc;
  margin-top: 10px;
}
.objection-admin-card:first-of-type {
  margin-top: 0;
}

.data-delivery-card {
  background: linear-gradient(145deg, #ffffff, #f7fcfa);
  border-color: #cfe5de;
}
.data-delivery-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.data-receipt-notice {
  border: 0;
  border-left: 4px solid var(--primary);
  background: #edf8f4;
  color: #345c51;
}
.received-stamp {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  background: #eaf7f2;
  border-radius: 12px;
  color: var(--primary-dark);
}
.received-stamp i {
  font-size: 1.15rem;
}
.tracking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid #dfe8e5;
  border-radius: 16px;
  background: #f8fbfa;
}
.tracking-action-copy {
  display: flex;
  flex-direction: column;
}
.tracking-action-copy small {
  color: var(--muted);
  margin-top: 3px;
}
.tracking-objection-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid #f2ddaa;
  color: #69501a;
}
.tracking-objection-note > i {
  font-size: 1.3rem;
  color: #d58c00;
}
.tracking-objection-note > div {
  display: flex;
  flex-direction: column;
}
.tracking-objection-note small {
  margin-top: 2px;
}

.objection-container {
  max-width: 900px;
}
.objection-form-card {
  padding: 0;
  overflow: hidden;
}
.objection-heading {
  margin-bottom: 8px;
}
.objection-reasons {
  display: grid;
  gap: 9px;
}
.objection-reason-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid #dde6e3;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s;
}
.objection-reason-option:hover {
  border-color: #9ccfc2;
  background: #f9fcfb;
}
.objection-reason-option input {
  margin-top: 0.2rem;
}
.objection-reason-option span {
  font-weight: 600;
  color: #374a44;
}

@media (max-width: 767.98px) {
  .privacy-action-box {
    margin: 0 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .privacy-action-box .btn {
    width: 100%;
  }
  .privacy-notice-body {
    padding: 20px;
  }
  .tracking-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .tracking-actions .d-flex {
    width: 100%;
  }
  .tracking-actions .btn {
    flex: 1 1 auto;
  }
  .privacy-modal-header {
    padding: 17px 18px;
  }
  .privacy-modal-footer {
    padding: 14px 18px;
  }
}

/* === Layanan Khusus Disabilitas / Rekaman Suara === */
.voice-service-section {
  margin: 28px 0 34px;
  padding: 30px;
  border: 1px solid #d7e8e2;
  border-radius: 24px;
  background: linear-gradient(135deg, #eaf6f2 0%, #f8f4e9 52%, #fdeeee 100%);
  box-shadow: 0 18px 45px rgba(25, 116, 97, 0.08);
}
.voice-service-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 24px;
}
.voice-service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid #d6e7e1;
}
.voice-service-heading h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #173d34;
}
.voice-service-heading p {
  margin: 0;
  color: #526a62;
  font-size: 1rem;
  line-height: 1.7;
}
.voice-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #e2eae7;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(25, 116, 97, 0.075);
}
.voice-card-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 17px;
}
.voice-card-title h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 3px;
  color: #1d3f36;
}
.voice-card-title p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.voice-card-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.15rem;
}
.voice-card-icon.orange {
  background: var(--orange-soft);
  color: #c67c00;
}
.voice-video-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #17231f;
}
.voice-help-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #f7faf9;
  color: #53675f;
  font-size: 0.8rem;
}
.voice-help-note i {
  color: var(--primary);
  margin-top: 1px;
}
.voice-mini-form {
  padding: 14px;
  border: 1px solid #e2eae7;
  border-radius: 14px;
  background: #f9fbfa;
}
.voice-mini-form .form-label {
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.voice-mini-form .form-control,
.voice-mini-form .form-select {
  min-height: 44px;
}
.voice-agreement {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.82rem;
  color: #3d514a;
  cursor: pointer;
}
.voice-agreement input {
  margin-top: 0.15rem;
}
.voice-recorder-zone {
  text-align: center;
  padding: 22px 10px 18px;
}
.voice-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  color: #5d6d68;
}
.voice-status .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9eaca7;
}
.voice-status.recording {
  color: #b6242a;
}
.voice-status.recording .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(237, 28, 36, 0.09);
  animation: voicePulse 1.1s infinite;
}
.voice-timer {
  font-size: 2.15rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  color: #173d34;
  margin: 10px 0 14px;
  font-variant-numeric: tabular-nums;
}
.voice-record-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 8px solid #e4f1ed;
  background: linear-gradient(145deg, #31a388, #197461);
  color: #fff;
  font-size: 2.1rem;
  box-shadow: 0 12px 26px rgba(25, 116, 97, 0.22);
  transition: 0.2s;
  display: inline-grid;
  place-items: center;
}
.voice-record-btn:hover,
.voice-record-btn:focus-visible {
  transform: translateY(-2px);
  outline: 4px solid rgba(255, 165, 21, 0.28);
  outline-offset: 3px;
}
.voice-record-btn.recording {
  background: linear-gradient(145deg, #f05257, #c91820);
  border-color: #fce1e2;
}
.voice-record-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #3d514a;
  margin-top: 9px;
}
.voice-preview {
  padding: 15px;
  border: 1px solid #d6e6e1;
  border-radius: 14px;
  background: #f7fbf9;
}
.voice-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.voice-preview-head > div {
  display: flex;
  flex-direction: column;
}
.voice-preview-head small {
  color: var(--muted);
  margin-top: 2px;
}
.voice-preview-head i {
  font-size: 1.45rem;
  color: var(--primary);
}
.voice-preview-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.voice-preview-actions .btn {
  flex: 1;
  min-height: 44px;
}
.voice-send-btn {
  margin-top: 14px;
  min-height: 50px;
  font-weight: 850;
}
.voice-upload-state {
  margin-top: 14px;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: #edf8f4;
  color: var(--primary-dark);
  font-weight: 750;
}
.voice-upload-state .spinner-border {
  margin-right: 7px;
}
.voice-recorder-card button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@keyframes voicePulse {
  50% {
    box-shadow: 0 0 0 12px rgba(237, 28, 36, 0.035);
  }
}
@media (max-width: 991.98px) {
  .voice-service-section {
    padding: 22px;
  }
  .voice-record-btn {
    width: 96px;
    height: 96px;
  }
}
@media (max-width: 575.98px) {
  .voice-service-section {
    margin-left: -4px;
    margin-right: -4px;
    padding: 18px 14px;
    border-radius: 19px;
  }
  .voice-card {
    padding: 17px;
  }
  .voice-preview-actions {
    flex-direction: column;
  }
  .voice-record-btn {
    width: 90px;
    height: 90px;
  }
  .voice-service-heading p {
    font-size: 0.92rem;
  }
}
.voice-admin-card {
  border-color: #e7d8a8;
  background: linear-gradient(145deg, #fff, #fffcf3);
}
.admin-audio-player {
  min-height: 48px;
  border-radius: 12px;
}
.voice-transcript-box {
  padding: 15px 16px;
  border: 1px solid #e4eae8;
  border-radius: 13px;
  background: #f8faf9;
}
.voice-transcript-box > small {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 850;
  color: var(--primary-dark);
}

.voice-no-form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 4px;
  padding: 13px 14px;
  border: 1px solid #cfe7df;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3fbf8, #eef7f4);
  color: #38564d;
  font-size: 0.88rem;
  line-height: 1.55;
}
.voice-no-form-note i {
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 1px;
  flex: 0 0 auto;
}
.voice-no-form-note span {
  font-weight: 650;
}
.voice-recorder-zone {
  margin-top: 6px;
}

/* ==========================================================
   STATISTIK PERMOHONAN INFORMASI
========================================================== */

.statistik-permohonan {
  padding: 85px 0;
  background: #f6f8f7;
  font-family: "Manrope", sans-serif;
}

.statistik-title {
  text-align: center;
  margin-bottom: 35px;
}

.statistik-title h2 {
  margin: 0;
  color: #17241d;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.statistik-title p {
  margin: 9px 0 0;
  color: #7a847e;
  font-size: 13px;
  font-weight: 600;
}

/* PANEL UTAMA */

.statistik-panel {
  max-width: 1220px;
  margin: 0 auto;

  padding: 0 35px 35px;

  background: #fff;
  border: 1px solid rgba(19, 77, 48, 0.06);
  border-radius: 28px;

  box-shadow:
    0 5px 15px rgba(20, 70, 45, 0.025),
    0 25px 65px rgba(20, 70, 45, 0.07);

  overflow: hidden;
}

/* ==========================================================
   SUMMARY
========================================================== */

.statistik-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  padding: 48px 0 42px;
}

.summary-item {
  position: relative;
  text-align: center;
  padding: 0 20px;
}

.summary-item:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 12%;
  right: 0;

  width: 1px;
  height: 76%;

  background: #edf0ee;
}

/* ICON */

.summary-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 13px;

  border-radius: 15px;

  font-size: 21px;
}

.icon-informasi {
  color: #08a878;
  background: #e8faf4;
}

.icon-selesai {
  color: #168fe0;
  background: #eaf6fe;
}

.icon-keberatan {
  color: #e9a20b;
  background: #fff6df;
}

.icon-ditolak {
  color: #ed4d64;
  background: #fff0f2;
}

/* ANGKA */

.summary-number {
  color: #17191d;

  font-size: 58px;
  line-height: 1;
  font-weight: 800;

  letter-spacing: -3px;
}

.summary-label {
  margin-top: 10px;

  color: #666d69;

  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

/* ==========================================================
   DIVIDER
========================================================== */

.statistik-divider {
  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    #e7ebe8 15%,
    #e7ebe8 85%,
    transparent
  );
}

/* ==========================================================
   CHART HEADER
========================================================== */

.chart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 28px 5px 15px;
}

.chart-small {
  color: #168253;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1.5px;
}

.chart-heading h3 {
  margin: 4px 0;

  color: #183a2a;

  font-size: 21px;
  font-weight: 800;

  letter-spacing: -0.5px;
}

.chart-heading p {
  margin: 0;

  color: #818a85;

  font-size: 11px;
  font-weight: 600;
}

/* ==========================================================
   LEGEND
========================================================== */

.statistik-legend {
  display: flex;
  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 10px;

  margin: 5px 0 15px;
}

.statistik-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 7px 11px;

  background: #f7f9f8;
  border: 1px solid #edf0ee;
  border-radius: 50px;

  color: #515954;

  font-size: 10px;
  font-weight: 700;
}

.legend {
  display: inline-block;

  width: 9px;
  height: 9px;

  border-radius: 3px;
}

.legend.informasi {
  background: #08d79b;
}

.legend.selesai {
  background: #1598e5;
}

.legend.keberatan {
  background: #f3b51b;
}

.legend.ditolak {
  background: #f34e68;
}

/* ==========================================================
   CHART
========================================================== */

.chart-wrapper {
  position: relative;

  width: 100%;
  height: 390px;

  padding-top: 5px;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 991px) {
  .statistik-summary {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 0;
  }

  .summary-item:nth-child(2)::after {
    display: none;
  }

  .summary-number {
    font-size: 50px;
  }
}

@media (max-width: 576px) {
  .statistik-permohonan {
    padding: 55px 12px;
  }

  .statistik-title h2 {
    font-size: 26px;
  }

  .statistik-panel {
    padding: 0 15px 25px;
    border-radius: 20px;
  }

  .statistik-summary {
    padding: 35px 0;
    gap: 30px 0;
  }

  .summary-item {
    padding: 0 10px;
  }

  .summary-icon {
    width: 42px;
    height: 42px;

    font-size: 18px;
  }

  .summary-number {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .summary-label {
    font-size: 11px;
  }

  .chart-heading h3 {
    font-size: 18px;
  }

  .chart-wrapper {
    height: 310px;
  }
}
/* =========================================================
   USERWAY - KIRI BAWAH
========================================================= */

body .uwy.userway_p5,
body .uwy {
  top: auto !important;
  right: auto !important;

  left: 18px !important;
  bottom: 18px !important;

  position: fixed !important;

  z-index: 999999 !important;
}

/* =========================================================
   BANTUAN SUARA RSUD
========================================================= */

.rsud-voice-reader {
  position: fixed;

  right: 22px;
  top: 55%;

  transform: translateY(-50%);

  width: 58px;
  height: 58px;

  padding: 0;

  border: 3px solid #ffffff;
  border-radius: 50%;

  background: #087a61;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 25px;

  cursor: pointer;

  z-index: 99990;

  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.22);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* ICON */

.rsud-voice-reader > i {
  position: relative;

  z-index: 2;

  line-height: 1;
}

/* HOVER */

.rsud-voice-reader:hover {
  background: #05664f;

  transform: translateY(-50%) scale(1.08);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* FOCUS KEYBOARD */

.rsud-voice-reader:focus-visible {
  outline: 4px solid rgba(8, 122, 97, 0.25);
  outline-offset: 4px;
}

/* =========================================================
   SAAT SEDANG MEMBACA
========================================================= */

.rsud-voice-reader.sedang-membaca {
  background: #e14b3f;
}

.rsud-voice-reader.sedang-membaca:hover {
  background: #c83c32;
}

/* =========================================================
   TOOLTIP
========================================================= */

.rsud-voice-label {
  position: absolute;

  right: 70px;
  top: 50%;

  transform: translateY(-50%);

  padding: 8px 13px;

  background: #17251e;
  color: #ffffff;

  border-radius: 7px;

  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;

  white-space: nowrap;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

/* PANAH TOOLTIP */

.rsud-voice-label::after {
  content: "";

  position: absolute;

  top: 50%;
  right: -5px;

  width: 10px;
  height: 10px;

  background: #17251e;

  transform: translateY(-50%) rotate(45deg);
}

/* TAMPILKAN TOOLTIP */

.rsud-voice-reader:hover .rsud-voice-label,
.rsud-voice-reader:focus .rsud-voice-label {
  opacity: 1;

  visibility: visible;
}

/* =========================================================
   ANIMASI SAAT MEMBACA
========================================================= */

.rsud-voice-reader.sedang-membaca::before {
  content: "";

  position: absolute;

  width: 100%;
  height: 100%;

  border: 2px solid rgba(225, 75, 63, 0.4);

  border-radius: 50%;

  animation: rsudVoicePulse 1.5s infinite;
}

@keyframes rsudVoicePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .rsud-voice-reader {
    right: 14px;

    top: 50%;

    width: 50px;
    height: 50px;

    font-size: 21px;
  }

  .rsud-voice-label {
    right: 60px;

    font-size: 10px;
  }
}
