/* ============================================================
   applicant.css — applicant portal specifics
   Builds on style.css + platform.css
   ============================================================ */

/* ---------- Auth pages (register / login) ---------- */
.auth-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}
.auth-wrap--wide { max-width: 720px; }

.auth-card {
  background: linear-gradient(145deg, rgba(23,23,27,.75), rgba(16,16,20,.92));
  border: 1px solid rgba(201,169,97,.22);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
}

.auth-head { text-align: center; margin-bottom: 2rem; }
.auth-head__kicker {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: .7rem;
}
.auth-head__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  color: var(--white);
  margin-bottom: .7rem;
}
.auth-head__lead { color: var(--grey); font-size: .9rem; line-height: 1.7; }

.auth-alt {
  text-align: center;
  margin-top: 1.6rem;
  font-size: .86rem;
  color: var(--grey);
}
.auth-alt a { color: var(--gold-bright); }

.auth-steps {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.auth-step { text-align: center; font-size: .72rem; color: var(--grey-2); }
.auth-step__num {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  margin: 0 auto .4rem;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
}

/* ---------- Dashboard ---------- */
.dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.dash-welcome__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: var(--white);
  margin-bottom: .3rem;
}
.dash-welcome__sub { color: var(--grey); font-size: .9rem; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}

.dash-panel {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(23,23,27,.7), rgba(16,16,20,.9));
}
.dash-panel--gold { border-color: rgba(201,169,97,.35); }
.dash-panel__label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: .6rem;
}
.dash-panel__value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: .6rem;
}
.dash-panel__value--ref { font-size: 1.25rem; letter-spacing: .05em; color: var(--gold-bright); }
.dash-panel__note { color: var(--grey); font-size: .84rem; line-height: 1.65; }

.dash-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

/* Status timeline */
.status-flow {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.status-flow__item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  color: var(--grey-2);
}
.status-flow__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}
.status-flow__item.is-done { color: #4ade80; }
.status-flow__item.is-done .status-flow__dot { background: #4ade80; }
.status-flow__item.is-current { color: var(--gold-bright); }
.status-flow__item.is-current .status-flow__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(201,169,97,.16); }
.status-flow__sep { color: var(--grey-2); opacity: .5; }

/* ---------- Payment ---------- */
.fee-display {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(201,169,97,.14), transparent 68%),
    linear-gradient(145deg, rgba(23,23,27,.7), rgba(16,16,20,.92));
  margin-bottom: 1.8rem;
}
.fee-display__label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: .6rem;
}
.fee-display__amount {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  color: var(--gold-bright);
  line-height: 1;
}

.bank-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8,8,10,.6);
  margin-bottom: 1.6rem;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.bank-row:last-child { border-bottom: 0; }
.bank-row__label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.bank-row__value {
  color: var(--white);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}
.bank-row__value--acct {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: .08em;
  color: var(--gold-bright);
}

.bank-warning {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(201,169,97,.35);
  border-radius: var(--radius);
  background: rgba(201,169,97,.07);
  color: var(--gold-bright);
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.disclaimer-box {
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  color: #b9b9be;
  font-size: .85rem;
  line-height: 1.75;
  margin-bottom: 1.6rem;
}

.upload-drop {
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
  background: rgba(201,169,97,.03);
  transition: all .25s var(--ease);
}
.upload-drop:hover { background: rgba(201,169,97,.07); }
.upload-drop input[type="file"] { display: block; width: 100%; color: var(--grey); font-size: .82rem; }
.upload-drop__hint { display: block; margin-top: .6rem; font-size: .74rem; color: var(--grey-2); }

.receipt-preview { margin-top: 1rem; }
.receipt-preview img {
  max-width: 240px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}

/* Payment status banner */
.payment-banner {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(16,16,20,.7);
  margin-bottom: 1.8rem;
}
.payment-banner--pending  { border-color: rgba(234,179,8,.4);  background: rgba(234,179,8,.07); }
.payment-banner--verified { border-color: rgba(34,197,94,.4);  background: rgba(34,197,94,.07); }
.payment-banner--rejected { border-color: rgba(239,68,68,.4);  background: rgba(239,68,68,.07); }
.payment-banner--resubmit_required { border-color: rgba(201,169,97,.45); background: rgba(201,169,97,.07); }
.payment-banner__icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  font-size: 1.1rem;
}
.payment-banner__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .35rem;
}
.payment-banner__text { color: var(--grey); font-size: .87rem; line-height: 1.7; }

/* Locked application notice */
.locked-notice {
  text-align: center;
  padding: 3rem 1.6rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(201,169,97,.1), transparent 70%),
    linear-gradient(145deg, rgba(23,23,27,.7), rgba(16,16,20,.92));
}
.locked-notice__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}
.locked-notice__title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  color: var(--white);
  margin-bottom: .8rem;
}
.locked-notice__text {
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 1.8rem;
  line-height: 1.8;
  font-size: .92rem;
}

/* Audition invitation */
.audition-card {
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(201,169,97,.1), rgba(16,16,20,.92));
  margin-bottom: 1.8rem;
}
.audition-card__head {
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--line-gold);
  background: rgba(201,169,97,.09);
}
.audition-card__kicker {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.audition-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
}
.audition-card__body { padding: 1.4rem 1.5rem; }
.audition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}
.audition-item__label {
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: .3rem;
}
.audition-item__value { color: var(--gold-bright); font-size: .95rem; font-weight: 600; }
.audition-instructions {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: #b9b9be;
  font-size: .88rem;
  line-height: 1.8;
}

/* Application form */
.app-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(16,16,20,.55);
  margin-bottom: 1.6rem;
  overflow: hidden;
}
.app-section__head {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8,8,10,.5);
}
.app-section__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
}
.app-section__note { font-size: .78rem; color: var(--grey-2); margin-top: .2rem; }
.app-section__body { padding: 1.4rem; }

.declaration-text {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  color: #c4c4ca;
  font-size: .88rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.form-errors {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(239,68,68,.4);
  border-radius: var(--radius);
  background: rgba(239,68,68,.08);
  margin-bottom: 1.6rem;
}
.form-errors__title { color: #f87171; font-weight: 700; margin-bottom: .6rem; font-size: .9rem; }
.form-errors ul { list-style: disc; padding-left: 1.2rem; }
.form-errors li { color: #fca5a5; font-size: .84rem; line-height: 1.7; }

/* Office-use block (admin only) */
.office-block {
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  background: rgba(201,169,97,.04);
}
.office-block__title {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.1rem;
}

@media (max-width: 640px) {
  .dash-welcome { flex-direction: column; align-items: flex-start; }
  .dash-actions .btn { width: 100%; justify-content: center; }
  .payment-banner { flex-direction: column; }
  .bank-row { flex-direction: column; gap: .3rem; }
  .bank-row__value { text-align: left; }
}

/* ---------- Print ---------- */
@media print {
  .portal-header, .portal-footer, .no-print, .btn, .flash-messages { display: none !important; }
  .portal-body { padding: 0 !important; }
  body, .portal-page { background: #fff !important; color: #000 !important; }
}
