:root {
  --status-green:#12a530;
  --status-green-dark:#087d2a;
  --status-navy:#07162f;
  --status-muted:#69778d;
  --status-line:#dfe8e2;
  --status-blue:#2563eb;
  --status-amber:#d97706;
  --status-red:#dc2626;
}

.status-page { background:#f7faf8; color:var(--status-navy); }
.status-site-header { position:relative !important; z-index:50; }

.status-hero {
  padding:64px 0 54px;
  text-align:center;
  background:
    radial-gradient(circle at 85% 15%, rgba(74,222,128,.16), transparent 24%),
    linear-gradient(135deg,#fff,#effbf2);
}
.status-hero .container { max-width:820px; }
.status-eyebrow {
  display:inline-flex;
  padding:8px 13px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:999px;
  background:#fff;
  color:var(--status-green-dark);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.status-hero h1 {
  margin:16px 0 0;
  font-size:clamp(42px,6vw,68px);
  line-height:1;
  letter-spacing:-.05em;
}
.status-hero p {
  max-width:660px;
  margin:18px auto 0;
  color:var(--status-muted);
  font-size:13px;
  line-height:1.7;
}

.status-shell { padding:44px 0 90px; }
.status-container { max-width:900px; }

.status-card {
  padding:32px;
  border:1px solid var(--status-line);
  border-radius:30px;
  background:#fff;
  box-shadow:0 20px 60px rgba(15,23,42,.08);
}
.status-card[hidden] { display:none !important; }

.status-loading { text-align:center; }
.status-spinner {
  width:42px;
  height:42px;
  margin:0 auto 14px;
  border:4px solid #e6eee8;
  border-top-color:var(--status-green);
  border-radius:50%;
  animation:statusSpin .8s linear infinite;
}
@keyframes statusSpin { to { transform:rotate(360deg); } }

.status-kicker {
  color:var(--status-green);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

#statusPhoneAuth h2,
#statusNoApplication h2,
.status-loading h2 {
  margin:10px 0 0;
  font-size:28px;
}
#statusPhoneAuth > p,
#statusNoApplication p,
.status-loading p {
  max-width:620px;
  margin:10px 0 0;
  color:var(--status-muted);
  font-size:11px;
  line-height:1.7;
}

.status-auth-form {
  display:grid;
  gap:14px;
  margin-top:22px;
}
.status-auth-form[hidden] { display:none !important; }

.status-auth-form label {
  display:grid;
  gap:7px;
}
.status-auth-form label > span {
  color:#1e293b;
  font-size:10px;
  font-weight:800;
}
.status-auth-form input {
  width:100%;
  min-height:48px;
  padding:0 13px;
  border:1px solid #d7e1da;
  border-radius:13px;
  outline:none;
  font-size:11px;
}
.status-auth-form input:focus {
  border-color:#34c759;
  box-shadow:0 0 0 3px rgba(52,199,89,.10);
}

.status-phone-field {
  display:grid;
  grid-template-columns:68px 1fr;
  border:1px solid #d7e1da;
  border-radius:13px;
  overflow:hidden;
}
.status-phone-field b {
  display:grid;
  place-items:center;
  background:#f5faf6;
  border-right:1px solid #e5e9e6;
  font-size:11px;
}
.status-phone-field input {
  border:0;
  border-radius:0;
  box-shadow:none !important;
}

.status-auth-alert {
  margin-top:18px;
  padding:13px 15px;
  border:1px solid #fecaca;
  border-radius:14px;
  color:#991b1b;
  background:#fef2f2;
  font-size:10px;
}
.status-auth-alert.success {
  border-color:#bbf7d0;
  color:#166534;
  background:#f0fdf4;
}
.status-auth-alert[hidden] { display:none !important; }

.status-main-icon {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  border-radius:18px;
  color:#fff;
  font-size:25px;
  font-weight:900;
}
.status-main-icon.neutral { background:#334155; }
#statusNoApplication { text-align:center; }
#statusNoApplication p { margin-left:auto; margin-right:auto; }

.status-topline {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
}
.status-topline h2 {
  margin:8px 0 0;
  font-size:34px;
  letter-spacing:-.035em;
}
.status-badge {
  padding:9px 13px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  white-space:nowrap;
}
.status-badge.pending { color:#92400e; background:#fff7ed; }
.status-badge.approved { color:#166534; background:#dcfce7; }
.status-badge.correction { color:#1d4ed8; background:#dbeafe; }
.status-badge.rejected { color:#991b1b; background:#fee2e2; }

.status-message {
  margin:15px 0 0;
  color:var(--status-muted);
  font-size:12px;
  line-height:1.7;
}
.status-decision-note {
  margin-top:18px;
  padding:15px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#f8fbff;
}
.status-decision-note[hidden] { display:none !important; }
.status-decision-note strong { display:block; font-size:11px; }
.status-decision-note p {
  margin:5px 0 0;
  color:#5f6d80;
  font-size:10px;
  line-height:1.6;
}

.status-timeline {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:28px;
}
.timeline-item {
  padding:15px;
  border:1px solid #e3e9e5;
  border-radius:17px;
  background:#fbfdfb;
}
.timeline-item > span {
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#64748b;
  background:#edf2ef;
  font-size:10px;
  font-weight:900;
}
.timeline-item strong { display:block; margin-top:10px; font-size:10px; }
.timeline-item small {
  display:block;
  margin-top:4px;
  color:#7b8797;
  font-size:8px;
  line-height:1.45;
}
.timeline-item.complete {
  border-color:#bbf7d0;
  background:#f0fdf4;
}
.timeline-item.complete > span {
  color:#fff;
  background:var(--status-green);
}
.timeline-item.active {
  border-color:#fde68a;
  background:#fffbeb;
}
.timeline-item.active > span {
  color:#fff;
  background:var(--status-amber);
}
.timeline-item.rejected {
  border-color:#fecaca;
  background:#fef2f2;
}
.timeline-item.rejected > span {
  color:#fff;
  background:var(--status-red);
}

.status-details {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:26px;
}
.status-details > div {
  padding:15px;
  border:1px solid #e3e9e5;
  border-radius:16px;
  background:#fbfdfb;
}
.status-details span {
  display:block;
  color:#8490a2;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.status-details strong {
  display:block;
  margin-top:6px;
  font-size:11px;
  word-break:break-word;
}

.status-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:24px;
}
.status-primary,
.status-secondary {
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px;
  border-radius:14px;
  font-size:10px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}
.status-primary {
  border:0;
  color:#fff;
  background:linear-gradient(135deg,#087f2b,#31bd2e);
}
.status-secondary {
  border:1px solid #d7e1da;
  color:var(--status-navy);
  background:#fff;
}
.status-security {
  margin-top:20px;
  padding:13px 14px;
  border:1px solid #dbeafe;
  border-radius:14px;
  color:#516075;
  background:#f8fbff;
  font-size:9px;
  line-height:1.55;
}

@media (max-width:720px) {
  .status-hero { padding:42px 0; }
  .status-card { padding:20px 15px; border-radius:22px; }
  .status-topline { flex-direction:column; align-items:flex-start; }
  .status-topline h2 { font-size:28px; }
  .status-timeline { grid-template-columns:1fr; }
  .status-details { grid-template-columns:1fr; }
  .status-actions { display:grid; grid-template-columns:1fr; }
}


/* =========================================================
   CORRECTION -> ANB MOBILE APP
   ========================================================= */
.correction-app-action {
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:16px;
  margin-top:16px;
  padding:16px;
  border:1px solid #bfdbfe;
  border-radius:17px;
  background:linear-gradient(145deg,#eff6ff,#f8fbff);
}

.correction-app-action[hidden] {
  display:none !important;
}

.correction-app-action > div > span {
  display:block;
  color:#2563eb;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
}

.correction-app-action > div > strong {
  display:block;
  margin-top:4px;
  color:#0f172a;
  font-size:11px;
}

.correction-app-action > div > small {
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:8px;
  line-height:1.5;
}

/* Modal */
body.anb-modal-open {
  overflow:hidden;
}

.anb-app-modal[hidden] {
  display:none !important;
}

.anb-app-modal {
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:20px;
}

.anb-app-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(2,12,27,.66);
  backdrop-filter:blur(5px);
}

.anb-app-modal-dialog {
  position:relative;
  z-index:1;
  width:min(92vw,620px);
  max-height:min(88vh,760px);
  overflow-y:auto;
  padding:28px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:26px;
  background:#fff;
  box-shadow:0 30px 90px rgba(2,12,27,.28);
}

.anb-app-modal-close {
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:11px;
  color:#334155;
  background:#f1f5f9;
  font-size:22px;
  cursor:pointer;
}

.anb-app-modal-kicker {
  display:inline-block;
  color:#0a9b34;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
}

.anb-app-modal-dialog h2 {
  max-width:520px;
  margin:10px 40px 0 0;
  color:#07162f;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.03em;
}

.anb-app-modal-dialog > p {
  margin:12px 0 0;
  color:#64748b;
  font-size:11px;
  line-height:1.7;
}

.anb-app-steps {
  display:grid;
  gap:10px;
  margin-top:20px;
}

.anb-app-steps > div {
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:13px;
  border:1px solid #e2e8f0;
  border-radius:15px;
  background:#f8fafc;
}

.anb-app-steps > div > span {
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:10px;
  color:#fff;
  background:#12a530;
  font-size:9px;
  font-weight:900;
}

.anb-app-steps p {
  margin:0;
}

.anb-app-steps strong {
  display:block;
  color:#0f172a;
  font-size:10px;
}

.anb-app-steps small {
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:8px;
  line-height:1.45;
}

.anb-app-modal-note {
  margin-top:16px;
  padding:13px 14px;
  border:1px solid #bbf7d0;
  border-radius:14px;
  color:#166534;
  background:#f0fdf4;
  font-size:9px;
  line-height:1.55;
}

.anb-app-modal-done {
  width:100%;
  margin-top:18px;
}

@media (max-width:680px) {
  .correction-app-action {
    grid-template-columns:1fr;
  }

  .correction-app-action .status-primary {
    width:100%;
  }

  .anb-app-modal-dialog {
    padding:22px 16px 18px;
    border-radius:22px;
  }

  .anb-app-modal-dialog h2 {
    margin-right:36px;
    font-size:24px;
  }
}
