:root {
  --gradify-navy: #001d6e;
  --gradify-red: #e12a45;
  --text-main: #0f172a;
  --text-soft: #6b7280;
  --card-bg: #ffffff;
  --bg-page: #edf2ff;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(
    circle at top left,
    #f4f6ff 0,
    #e3ebff 40%,
    #dde7ff 100%
  );
  color: var(--text-main);
}

/* Page layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 32px;
}

/* Header */

.header {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0, #f3f6ff 40%, #eef3ff 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-pill {
  width: 64px;
  height: 64px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0;
}

.header-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--gradify-navy);
}

.header-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* Main & cards */

.main {
  width: 100%;
  max-width: 880px;
  margin: 22px auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Chip header */

.card-header-block {
  margin-bottom: 10px;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef2ff;
}

.card-chip-icon {
  font-size: 14px;
}

.card-chip-text {
  font-weight: 700;
  font-size: 14px;
  color: var(--gradify-navy);
}

.card-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gradify-navy);
}

.card-subsubtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

.card-note {
  margin: 12px 0 0; /* jarak 12px dari button ke teks bawah */
  font-size: 12px;
  color: var(--text-soft);
}

/* Buttons */

.primary-button {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  transition: 0.18s ease-out;
}

.primary-button.full {
  width: 100%;
}

.primary-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 0;
}

/* Status strip */

.status-strip {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  background: #eff6ff;
  color: #1d4ed8;
}

/* Footer */

.footer {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* Responsive */

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}
