/**
 * style.css
 * Styling Form Maintenance Data Nasabah
 * Bank Jatim - Capem Lodoyo
 * Tema Warna Resmi: Merah #E31E24 + Putih
 */

/* =============================================
   IMPORT FONT
   ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* =============================================
   CSS VARIABLES - BRAND BANK JATIM
   ============================================= */
:root {
  /* Brand Colors */
  --jatim-red: #E31E24;
  --jatim-deep-red: #B71C1C;
  --jatim-black: #000000;
  --jatim-dark-gray: #2C2C2C;
  --jatim-white: #FFFFFF;

  /* Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F7F7;
  --bg-tertiary: #FAFAFA;

  /* Borders */
  --border-light: #E8E8E8;
  --border-medium: #D0D0D0;
  --border-focus: #E31E24;

  /* Gradient */
  --gradient-red: linear-gradient(90deg, #E31E24 0%, #B71C1C 100%);
  --gradient-btn: linear-gradient(180deg, #E31E24 0%, #C41E1E 100%);

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-red: 0 4px 16px rgba(227, 30, 36, 0.25);

  /* Status Colors */
  --success: #22A06B;
  --success-bg: #E6F7F1;
  --error: #E31E24;
  --error-bg: #FFF0F0;
  --warning: #D97706;
  --info: #2563EB;

  /* Typography */
  --font-main: "Inter", "Segoe UI", Arial, sans-serif;

  /* Spacing */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-secondary);
  color: var(--jatim-dark-gray);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 15px;
}

/* =============================================
   LANDING PAGE
   ============================================= */
@keyframes lp-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-18px) scale(1.04);
  }
}

@keyframes lp-spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes lp-exit {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-40px);
  }
}

.landing-page {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #C0181D 0%, #E31E24 45%, #FF4F53 100%);
  overflow-y: auto;
  padding: 24px 16px;
}

.landing-page.lp-leaving {
  animation: lp-exit 0.45s cubic-bezier(0.4, 0, 1, 1) forwards;
}

/* Lingkaran dekoratif mengambang */
.lp-bg-circles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: #fff;
}

.lp-c1 {
  width: 360px;
  height: 360px;
  top: -80px;
  right: -80px;
  animation: lp-float 7s ease-in-out infinite;
}

.lp-c2 {
  width: 220px;
  height: 220px;
  bottom: -60px;
  left: -60px;
  animation: lp-float 9s ease-in-out infinite 2s;
}

.lp-c3 {
  width: 130px;
  height: 130px;
  bottom: 30%;
  right: 5%;
  animation: lp-float 6s ease-in-out infinite 4s;
}

/* Kontainer utama */
.lp-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  text-align: center;
  color: #fff;
  animation: lp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  padding-top: 32px;
}

/* Logo + Nama Bank */
.lp-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
  animation: lp-fade-up 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-logo-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.lp-logo {
  height: 56px;
  width: auto;
  display: block;
}

.lp-bank-name {
  text-align: left;
}

.lp-bank-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 2px;
}

.lp-bank-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lp-bank-cabang {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 500;
}

/* Info formulir */
.lp-form-info {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  animation: lp-fade-up 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lp-form-desc {
  font-size: 13.5px;
  opacity: 0.9;
  line-height: 1.55;
}

/* Grid trust indicators */
.lp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
  animation: lp-fade-up 0.6s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  transition: background 0.2s;
}

.lp-trust-item:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lp-trust-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.lp-trust-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.lp-trust-item span {
  font-size: 11px;
  opacity: 0.82;
  line-height: 1.4;
}

/* Catatan verifikasi */
.lp-verify-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 255, 0, 0.12);
  border: 1px solid rgba(255, 255, 0, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  text-align: left;
  animation: lp-fade-up 0.6s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-verify-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.lp-verify-note p {
  font-size: 12.5px;
  opacity: 0.95;
  line-height: 1.5;
}

.lp-verify-link {
  color: #ffe066;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tombol Mulai */
.lp-btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 28px;
  background: #fff;
  color: var(--jatim-red);
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  animation: lp-fade-up 0.6s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  margin-bottom: 16px;
}

.lp-btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
  background: #f7f7f7;
}

.lp-btn-start:active {
  transform: translateY(0);
}

.lp-btn-icon {
  font-size: 18px;
  transition: transform 0.2s;
}

.lp-btn-start:hover .lp-btn-icon {
  transform: translateX(4px);
}

/* Footer note */
.lp-footer-note {
  font-size: 11px;
  opacity: 0.6;
  animation: lp-fade-up 0.6s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Mobile landing */
@media (max-width: 480px) {
  .lp-brand {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .lp-bank-name {
    text-align: center;
  }

  .lp-bank-title {
    font-size: 22px;
  }

  .lp-trust-grid {
    grid-template-columns: 1fr;
  }

  .lp-logo {
    height: 48px;
  }
}


/* =============================================
   LAYOUT WRAPPER
   ============================================= */
.page-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 0 var(--space-xl);
}

/* Jarak antara header sticky dan konten utama */
main#form-section,
#success-page {
  padding-top: var(--space-md);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-accent-bar {
  height: 7px;
  background: var(--gradient-red);
}

.header-content {
  padding: 20px var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.header-logo {
  max-height: 70px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
}

.header-subtitle {
  text-align: center;
}

.header-subtitle .cabang {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--jatim-red);
  margin-bottom: 2px;
}

.header-subtitle .form-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--jatim-dark-gray);
}

/* =============================================
   INTRO CARD
   ============================================= */
.intro-card {
  background: var(--bg-primary);
  border-left: 5px solid var(--jatim-red);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0 0;
  box-shadow: var(--shadow-sm);
}

.intro-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.intro-card .intro-meta {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.intro-card .intro-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--jatim-red);
  font-weight: 500;
}

.intro-card .intro-meta span i {
  font-size: 15px;
}

/* =============================================
   FORM CARD (Section Container)
   ============================================= */
.form-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--jatim-red);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
  margin-bottom: var(--space-md);
}

.section-title .step-badge {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--jatim-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =============================================
   FORM GRID
   ============================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* =============================================
   LABELS & INPUTS
   ============================================= */
label {
  font-size: 13px;
  font-weight: 600;
  color: var(--jatim-dark-gray);
}

label .required {
  color: var(--jatim-red);
  margin-left: 2px;
}

label .optional {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--jatim-dark-gray);
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-focus);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.10);
}

input.input-error,
select.input-error,
textarea.input-error {
  border-color: var(--error);
  background: var(--error-bg);
}

input.input-ok,
select.input-ok,
textarea.input-ok {
  border-color: var(--success);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Field hint (helper text) */
.field-hint {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* Error message */
.field-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 2px;
  display: none;
}

.field-error.visible {
  display: block;
}

/* =============================================
   RADIO & CHECKBOX GROUPS
   ============================================= */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 14px;
  color: var(--jatim-dark-gray);
  user-select: none;
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--jatim-red);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

/* =============================================
   DISCLAIMER BOX
   ============================================= */
.disclaimer-box {
  background: #FFF9F9;
  border: 1.5px solid #FFBBBB;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  margin-bottom: var(--space-md);
}

.disclaimer-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--jatim-red);
  margin-bottom: 12px;
}

.disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.disclaimer-box ul li {
  font-size: 14px;
  color: #444;
  padding: 5px 0;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.disclaimer-box ul li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Garis pemisah sebelum checkbox */
.disclaimer-divider {
  border: none;
  border-top: 1.5px solid #FFD0D0;
  margin: 0 0 14px;
}

.disclaimer-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 4px;
}

.disclaimer-checks .checkbox-item {
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #FFD0D0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
}

.disclaimer-checks .checkbox-item:has(input:checked) {
  border-color: var(--success);
  background: var(--success-bg);
}

.disclaimer-checks .checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--success);
}

.disclaimer-checks .checkbox-item span {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

/* =============================================
   SUBMIT BUTTON
   ============================================= */
.btn-submit {
  width: 100%;
  padding: 15px var(--space-lg);
  background: var(--gradient-btn);
  color: var(--jatim-white);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-red);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  background: linear-gradient(180deg, #C41E1E 0%, #961515 100%);
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.40);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: var(--shadow-red);
}

.btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.loading .btn-text {
  opacity: 0.8;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  width: calc(100% - 40px);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  animation: slideIn 0.3s ease;
  position: relative;
  overflow: hidden;
}

.toast.success {
  background: var(--success-bg);
  border-left: 4px solid var(--success);
  color: #1a6644;
}

.toast.error {
  background: var(--error-bg);
  border-left: 4px solid var(--error);
  color: #8B0000;
}

.toast.info {
  background: #EFF6FF;
  border-left: 4px solid var(--info);
  color: #1E40AF;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.toast-msg {
  font-size: 13px;
  opacity: 0.85;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: inherit;
  opacity: 0.5;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
}

.toast-close:hover {
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateX(110%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(110%);
    opacity: 0;
  }
}

.toast.removing {
  animation: slideOut 0.3s ease forwards;
}

/* =============================================
   SUCCESS PAGE
   ============================================= */
#success-page {
  display: none;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto var(--space-md);
}

#success-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 10px;
}

#success-page .ref-box {
  background: var(--bg-secondary);
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  display: inline-block;
  margin: var(--space-sm) 0 var(--space-md);
}

#success-page .ref-box p {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

#success-page .ref-box strong {
  font-size: 18px;
  color: var(--jatim-red);
  font-weight: 700;
  letter-spacing: 1px;
}

#success-page .success-info {
  font-size: 14px;
  color: #666;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.cs-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.cs-contacts a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.30);
}

.cs-contacts a:hover {
  background: #1da851;
  transform: translateY(-1px);
}

/* =============================================
   PROGRESS BAR
   ============================================= */
.progress-bar-wrap {
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin: var(--space-md) 0 0;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-red);
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}

.progress-label {
  font-size: 12px;
  color: #999;
  text-align: right;
  margin-top: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  text-align: center;
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
  border-top: 2px solid var(--border-light);
  margin-top: var(--space-lg);
}

.footer p {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}

.footer a {
  color: var(--jatim-red);
  text-decoration: none;
  font-weight: 500;
}

/* WA link di footer */
.footer-wa-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #25D366;
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}

.footer-wa-link:hover {
  background: #1da851;
  transform: translateY(-1px);
}

.footer-wa-link img.wa-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 640px) {
  .page-wrapper {
    padding-bottom: var(--space-lg);
  }

  /* Tambah jarak bawah header agar tidak tempel di mobile */
  main#form-section,
  #success-page {
    padding-top: 18px;
  }

  .form-card {
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-top: var(--space-sm);
  }

  .header-content {
    padding: 14px var(--space-md) 18px;
  }

  .header-logo {
    max-height: 52px;
  }

  .header-subtitle .cabang {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .header-subtitle .form-title {
    font-size: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .form-group.full-width {
    grid-column: 1;
  }

  .intro-card {
    padding: var(--space-sm) var(--space-md);
    margin-top: 0;
  }

  .intro-card .intro-meta {
    gap: var(--space-sm);
    flex-direction: column;
    gap: 6px;
  }

  .intro-card .intro-meta span {
    font-size: 12px;
  }

  .section-title {
    font-size: 13px;
  }

  /* Disclaimer mobile */
  .disclaimer-box {
    padding: var(--space-sm);
  }

  .disclaimer-checks .checkbox-item {
    padding: 10px 12px;
  }

  .disclaimer-checks .checkbox-item span {
    font-size: 13px;
  }

  .btn-submit {
    font-size: 15px;
    padding: 14px var(--space-md);
  }

  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: 100%;
    width: auto;
  }

  .footer-wa-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}