﻿
/* ── Reset ── */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Variables ── */
:root {
  --g900: #0d1f18;
  --g800: #163328;
  --g700: #1e4535;
  --g600: #2a5c45;
  --g500: #3a7d5e;
  --g400: #4ea87e;
  --g300: #7ddba8;
  --g100: #e8f5ef;
  --ink:  #111827;
  --ink2: #374151;
  --muted:#6b7280;
  --bdr:  #e5e7eb;
  --bdr2: #d1d5db;
  --wh:   #ffffff;
  --red:  #dc2626;
  --rbg:  #fff5f5;
  --rbdr: #fca5a5;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
.page-loader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999 !important;
    display: flex !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}
/* ── Base ── */
html {
  height: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--g900);
  min-height: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 24px 16px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Background ── */
.bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background: -webkit-linear-gradient(315deg, #0d1f18 0%, #163328 45%, #1e4535 75%, #0d1f18 100%);
  background: linear-gradient(135deg, #0d1f18 0%, #163328 45%, #1e4535 75%, #0d1f18 100%);
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  -webkit-filter: blur(70px);
  filter: blur(70px);
  opacity: 0.3;
  -webkit-animation: drift 9s ease-in-out infinite alternate;
  animation: drift 9s ease-in-out infinite alternate;
  will-change: transform;
}

.bg-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #2a5c45, transparent 70%);
  top: -120px; left: -120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.bg-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #4ea87e, transparent 70%);
  bottom: -80px; right: -80px;
  -webkit-animation-delay: -4.5s;
  animation-delay: -4.5s;
}

.bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    -webkit-linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    -webkit-linear-gradient(left, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

@-webkit-keyframes drift {
  from { -webkit-transform: scale(1) translate(0, 0); transform: scale(1) translate(0, 0); }
  to   { -webkit-transform: scale(1.12) translate(28px, 18px); transform: scale(1.12) translate(28px, 18px); }
}
@keyframes drift {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(28px, 18px); }
}

/* ── Card wrapper ── */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  -webkit-animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@-webkit-keyframes rise {
  from { opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Logo area ── */
.logo-area {
  text-align: center;
  margin-bottom: 24px;
}

.logo-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  margin-bottom: 13px;
  /* No backdrop-filter — not supported on all browsers */
}

.logo-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}

.logo-tagline {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.36);
  letter-spacing: 0.3px;
}

/* ── Form card ── */
.form-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 34px 32px 30px;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.18);
}

.form-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.form-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── Error alert ── */
.alert-box {
  display: none;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 9px;
  background: var(--rbg);
  border: 1px solid var(--rbdr);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 18px;
  line-height: 1.45;
}

.alert-box.visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.alert-icon { flex-shrink: 0; margin-top: 1px; }

/* ── Fields ── */
.field {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink2);
  margin-bottom: 6px;
}

.input-row {
  position: relative;
}

.field-input {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  background-color: #f9fafb;
  border: 1.5px solid var(--bdr2);
  border-radius: 8px;
  padding: 11px 42px 11px 13px;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  /* Prevent iOS zoom on focus (font-size >= 16px) */
  font-size: 16px;
}

/* Scale text back visually while keeping 16px for iOS */
@media (min-width: 400px) {
  .field-input { font-size: 14px; }
}

.field-input::-webkit-input-placeholder { color: #9ca3af; }
.field-input::-moz-placeholder          { color: #9ca3af; opacity: 1; }
.field-input:-ms-input-placeholder      { color: #9ca3af; }
.field-input::placeholder               { color: #9ca3af; }

.field-input:focus {
  border-color: var(--g600);
  background-color: #ffffff;
  -webkit-box-shadow: 0 0 0 3px rgba(42, 92, 69, 0.1);
  box-shadow: 0 0 0 3px rgba(42, 92, 69, 0.1);
  outline: none;
}

.field-input.has-error {
  border-color: var(--red);
  background-color: var(--rbg);
}

.field-input.has-error:focus {
  -webkit-box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Field icon (email) */
.field-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  line-height: 0;
  -webkit-transition: color 0.15s;
  transition: color 0.15s;
}

/* Password toggle button */
.pw-toggle {
  position: absolute;
  right: 11px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #9ca3af;
  line-height: 0;
  -webkit-transition: color 0.15s;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.pw-toggle:hover  { color: var(--g600); }
.pw-toggle:focus  { color: var(--g600); }

/* Error message */
.field-error {
  display: none;
  font-size: 11.5px;
  color: var(--red);
  margin-top: 5px;
  line-height: 1.4;
}

.field-error.visible { display: block; }

/* Valid state */
.field-input.is-valid {
  border-color: #16a34a;
  background-color: #f0fdf4;
}

.field-input.is-valid:focus {
  -webkit-box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* ── Forgot row ── */
.forgot-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 22px;
}

.forgot-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--g600);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.forgot-link:hover  { text-decoration: underline; }
.forgot-link:focus  { text-decoration: underline; outline: none; }

/* ── Sign in button ── */
.btn-signin {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--g600);
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.1px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-transition: background-color 0.15s, -webkit-transform 0.15s, -webkit-box-shadow 0.15s;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  /* Prevent double-tap zoom on iOS */
  touch-action: manipulation;
}

.btn-signin:hover {
  background-color: var(--g500);
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  -webkit-box-shadow: 0 6px 18px rgba(42, 92, 69, 0.32);
  box-shadow: 0 6px 18px rgba(42, 92, 69, 0.32);
}

.btn-signin:active {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn-signin:focus { outline: 2px solid var(--g400); outline-offset: 2px; }

.btn-signin:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  -webkit-transform: none;
  transform: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* ── Footer ── */
.card-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
}

.card-footer a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

.card-footer a:hover { color: var(--g300); text-decoration: underline; }

/* ── Responsive ── */

/* Large phones & tablets */
@media screen and (max-width: 480px) {
  body { padding: 16px 12px; }
  .form-card { padding: 26px 22px 24px; border-radius: 12px; }
  .logo-icon  { width: 46px; height: 46px; border-radius: 11px; }
  .logo-name  { font-size: 15px; }
  .form-title { font-size: 19px; }
}

/* Very small phones */
@media screen and (max-width: 360px) {
  body { padding: 12px 10px; }
  .form-card { padding: 22px 18px 20px; }
  .logo-icon  { width: 42px; height: 42px; }
  .logo-area  { margin-bottom: 18px; }
}

/* Landscape on small phones */
@media screen and (max-height: 500px) and (orientation: landscape) {
  body { padding: 12px 16px; align-items: flex-start; }
  .logo-area { margin-bottom: 14px; }
  .logo-icon  { width: 36px; height: 36px; margin-bottom: 8px; }
  .logo-name  { font-size: 14px; }
  .logo-tagline { display: none; }
  .form-sub   { margin-bottom: 16px; }
  .field      { margin-bottom: 12px; }
}

/* Tablets & desktop */
@media screen and (min-width: 768px) {
  .card { max-width: 420px; }
}

/* High-DPI / Retina */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .form-card {
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42), 0 4px 14px rgba(0, 0, 0, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42), 0 4px 14px rgba(0, 0, 0, 0.16);
  }
}

/* Windows high contrast / forced colors */
@media (forced-colors: active) {
  .btn-signin { forced-color-adjust: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bg-orb { -webkit-animation: none; animation: none; }
  .card   { -webkit-animation: none; animation: none; opacity: 1; }
  * { -webkit-transition-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.logo-area .logo-icon img {
    height: 34px;
    width: 34px;
}
/*reset 2026-03-13*/


/* ── Theme tokens ── */
:root {
    --green-800: #163328;
    --green-600: #2a5c45;
    --green-500: #3a7d5e;
    --green-400: #4ea87e;
    --green-300: #7ddba8;
    --green-100: #e8f5ef;
    --bg: #f0f4f2;
    --surface: #ffffff;
    --border: #dde5e0;
    --text-1: #0f1923;
    --text-2: #4a5568;
    --text-3: #8a96a8;
    --red: #ef4444;
    --red-bg: #fef2f2;
    --red-border: #fecaca;
    --font: 'Plus Jakarta Sans', sans-serif;
    --ease: cubic-bezier(.4,0,.2,1);
    --t: 0.22s var(--ease);
    --radius: 12px;
    --shadow-card: 0 4px 24px rgba(0,0,0,.09), 0 1px 4px rgba(0,0,0,.05);
}


/* ── Page layout ── */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    position: relative;
    overflow: hidden;
}

    /* Decorative background elements */
    .page::before {
        content: '';
        position: fixed;
        top: -180px;
        left: -180px;
        width: 520px;
        height: 520px;
        background: radial-gradient(circle, rgba(78,168,126,.13) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

    .page::after {
        content: '';
        position: fixed;
        bottom: -160px;
        right: -120px;
        width: 440px;
        height: 440px;
        background: radial-gradient(circle, rgba(22,51,40,.08) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

/* ── Card ── */
.card-reset {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 460px;
    padding: 44px 44px 40px;
    animation: cardIn .45s var(--ease) both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Header ── */
.card-header {
    text-align: center;
    margin-bottom: 34px;
    animation: fadeUp .4s var(--ease) .1s both;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    flex-shrink: 0;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--green-800);
    line-height: 1.1;
}

.brand-sub {
    font-size: 11.5px;
    color: var(--text-3);
    font-weight: 500;
}

.lock-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

    .lock-icon-wrap svg {
        width: 28px;
        height: 28px;
        fill: var(--green-500);
    }

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-1);
    margin-bottom: 8px;
}

.card-sub {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ── Alert banner ── */
.alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff8e6;
    border: 1px solid #f6d860;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 26px;
    animation: fadeUp .4s var(--ease) .15s both;
}

    .alert-banner svg {
        width: 16px;
        height: 16px;
        fill: #c47a00;
        flex-shrink: 0;
        margin-top: 1px;
    }

    .alert-banner p {
        font-size: 13px;
        color: #7a5000;
        line-height: 1.55;
    }

    .alert-banner strong {
        color: #5c3a00;
    }

/* ── Form ── */
.form {
    animation: fadeUp .4s var(--ease) .2s both;
}

.field {
    margin-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 7px;
}

.input-wrap {
    position: relative;
}

    .input-wrap input {
        width: 100%;
        padding: 11px 44px 11px 14px;
        font-family: var(--font);
        font-size: 16px;
        color: var(--text-1);
        background: var(--bg);
        border: 1.5px solid var(--border);
        border-radius: 10px;
        outline: none;
        transition: border-color var(--t), box-shadow var(--t), background var(--t);
        -webkit-appearance: none;
        appearance: none;
    }

        .input-wrap input:focus {
            border-color: var(--green-400);
            background: var(--surface);
            box-shadow: 0 0 0 3px rgba(78,168,126,.12);
        }

        .input-wrap input.error {
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(239,68,68,.1);
        }

        .input-wrap input::placeholder {
            color: var(--text-3);
        }

/* Eye toggle */
.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    transition: color var(--t);
}

    .eye-btn:hover {
        color: var(--text-2);
    }

    .eye-btn svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
        pointer-events: none;
    }

/* Field error msg */
.field-error {
    display: none;
    font-size: 12px;
    color: var(--red);
    margin-top: 6px;
    align-items: center;
    gap: 5px;
}

    .field-error.show {
        display: flex;
    }

    .field-error svg {
        width: 12px;
        height: 12px;
        fill: var(--red);
        flex-shrink: 0;
    }

/* ── Password strength ── */
.strength-wrap {
    margin-top: 10px;
}

.strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transition: background .3s var(--ease);
}

    .strength-bar.s1 {
        background: var(--red);
    }

    .strength-bar.s2 {
        background: #f59e0b;
    }

    .strength-bar.s3 {
        background: #3b82f6;
    }

    .strength-bar.s4 {
        background: var(--green-400);
    }

.strength-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
}

    .strength-label.s1 {
        color: var(--red);
    }

    .strength-label.s2 {
        color: #d97706;
    }

    .strength-label.s3 {
        color: #2563eb;
    }

    .strength-label.s4 {
        color: var(--green-500);
    }

/* ── Requirements checklist ── */
.req-list {
    margin-top: 14px;
    margin-bottom: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-3);
    transition: color .2s;
}

    .req-item.met {
        color: var(--green-500);
    }

.req-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
}

.req-item.met .req-dot {
    background: var(--green-400);
    border-color: var(--green-400);
}

.req-dot svg {
    width: 9px;
    height: 9px;
    fill: #fff;
    display: none;
}

.req-item.met .req-dot svg {
    display: block;
}

/* ── Submit button ── */
.btn-submit {
    width: 100%;
    padding: 13px;
    margin-top: 28px;
    background: var(--green-800);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--t), transform var(--t), box-shadow var(--t);
    position: relative;
    overflow: hidden;
}

    .btn-submit:hover {
        background: var(--green-600);
        box-shadow: 0 4px 16px rgba(22,51,40,.22);
    }

    .btn-submit:active {
        transform: scale(.985);
    }

    .btn-submit:disabled {
        background: var(--border);
        color: var(--text-3);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .btn-submit svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

/* Spinner */
.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Success state ── */
.success-view {
    display: none;
    text-align: center;
    animation: fadeUp .4s var(--ease) both;
}

    .success-view.show {
        display: block;
    }

.form.hidden {
    display: none;
}

.card-header.hidden {
    display: none;
}

.alert-banner.hidden {
    display: none;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pop .4s var(--ease) .1s both;
}

@keyframes pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon svg {
    width: 34px;
    height: 34px;
    fill: var(--green-500);
}

.success-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-1);
    margin-bottom: 10px;
}

.success-msg {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 28px;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--green-800);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--t), box-shadow var(--t);
    text-decoration: none;
}

    .btn-continue:hover {
        background: var(--green-600);
        box-shadow: 0 4px 16px rgba(22,51,40,.22);
    }

    .btn-continue svg {
        width: 15px;
        height: 15px;
        fill: #fff;
    }

/* ── Footer ── */
.page-footer {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    font-size: 12.5px;
    color: var(--text-3);
    text-align: center;
    animation: fadeUp .4s var(--ease) .35s both;
}
.cardSuccess {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 460px;
    padding: 44px 44px 40px;
    animation: cardIn .45s var(--ease) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .card-reset {
        padding: 32px 24px 28px;
        border-radius: 16px;
    }

    .card-title {
        font-size: 20px;
    }

    .req-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .card-reset {
        padding: 26px 18px 24px;
    }

    .brand-name {
        font-size: 16px;
    }
}