@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --navy: #0b2545;
  --blue: #134074;
  --mist: #8da9c4;
  --canvas: #eef4f8;
  --teal: #2a9d8f;
  --alert: #d90429;
  --ink: #16263a;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
[data-theme="slate"] {
  --navy: #17202a;
  --blue: #34495e;
  --canvas: #e5e7eb;
  --ink: #18212b;
}
[data-theme="dark"] {
  --navy: #08111f;
  --blue: #1f4d73;
  --canvas: #0f1722;
  --ink: #e7eef5;
}
h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
}
a {
  color: inherit;
}
.auth-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px 20px;
  background: var(--navy);
}
.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1586201375761-83865001e31c?auto=format&fit=crop&w=2200&q=85")
    center / cover;
  opacity: 0.78;
}
.auth-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(11, 37, 69, 0.78),
    rgba(0, 0, 0, 0.72)
  );
}
.auth-content {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  animation: fadeIn 0.4s ease both;
}
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  border-radius: 18px;
}
.compliance-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--navy);
}
.compliance-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 23, 43, 0.95) 0%,
      rgba(8, 29, 54, 0.82) 42%,
      rgba(8, 29, 54, 0.56) 100%
    ),
    url("https://cdn1.katadata.co.id/media/images/thumb/2020/07/07/2020_07_07-14_12_28_fa46ad884a14762dbbe48be44915d781_960x640_thumb.jpg")
      center / cover;
  transform: scale(1.02);
}
.compliance-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(42, 157, 143, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(238, 244, 248, 0.04), rgba(6, 23, 43, 0.22));
  pointer-events: none;
}
.compliance-page {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 64px 0;
}
.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
}
.compliance-hero {
  color: white;
}
.compliance-kicker {
  margin: 0;
  color: var(--mist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.compliance-hero h1 {
  margin: 12px 0 14px;
  max-width: 580px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}
.compliance-hero p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}
.compliance-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 560px;
}
.compliance-metric {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}
.compliance-metric strong {
  display: block;
  color: white;
  font-size: 24px;
  line-height: 1;
}
.compliance-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.35;
}
.compliance-document {
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}
.compliance-document h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}
.compliance-document p {
  margin: 0;
  color: #526579;
  font-size: 15px;
  line-height: 1.7;
}
.compliance-document article + article {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #d8e2eb;
}
.compliance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.compliance-link,
.compliance-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.compliance-link {
  background: var(--blue);
  color: white;
}
.compliance-secondary {
  border: 1px solid #cdd9e3;
  color: var(--blue);
}
.auth-input:not([type="checkbox"]),
.settings-input {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #cdd9e3;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  outline: none;
}
.auth-input:focus,
.settings-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(19, 64, 116, 0.12);
}
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
}
.btn-teal {
  background: var(--teal);
}
.fade-in {
  animation: fadeIn 0.4s ease both;
}
.drawer {
  animation: slideInRight 0.28s ease both;
}
.expired-alert {
  animation: pulseGlow 2.2s ease-in-out infinite;
}
.collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.collapsible.open {
  max-height: 500px;
}
.toggle {
  position: relative;
  width: 46px;
  height: 26px;
  appearance: none;
  border-radius: 99px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.toggle:checked {
  background: var(--teal);
}
.toggle:checked::after {
  transform: translateX(20px);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(217, 4, 41, 0);
  }
  50% {
    box-shadow: 0 0 15px rgba(217, 4, 41, 0.4);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 900px) {
  .compliance-page {
    padding: 36px 0;
  }
  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .compliance-metrics {
    grid-template-columns: 1fr;
  }
}
