/* Mary Mei applicant form — gold accent on hub-dark palette */

.applicant-body {
  background: #23252d;
  color: #e8eaf0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  padding-bottom: 3rem;
}

.applicant-header {
  background: #1a1a2e;
  position: relative;
  overflow: hidden;
}
.applicant-header .back-link {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #d4af37;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  transition: background 200ms ease, color 200ms ease;
}
.applicant-header .back-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #e6c34d;
}
.applicant-header::before,
.applicant-header::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
}
.applicant-header::before { top: -50px; left: -50px; width: 200px; height: 200px; }
.applicant-header::after  { bottom: -40px; right: -30px; width: 160px; height: 160px; background: rgba(212, 175, 55, 0.06); }
.applicant-header-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
}
.applicant-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}
.applicant-header .eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: #d4af37;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.applicant-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.applicant-form section { margin-bottom: 0.5rem; }
.applicant-form hr {
  border: none;
  border-top: 1px solid #3a3d47;
  margin: 2rem 0;
}
.section-title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #d4af37;
  margin: 0 0 1.25rem;
}

.field { display: block; margin-bottom: 1.4rem; border: 0; padding: 0; }
fieldset.field { min-width: 0; }
.field-label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #e8eaf0;
  margin-bottom: 7px;
}
.field-label .req { color: #e07070; margin-left: 2px; }
.hint { display: block; font-size: 12px; color: #7c8090; margin-top: 7px; }

.applicant-form input[type="text"],
.applicant-form input[type="tel"],
.applicant-form input[type="number"],
.applicant-form select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  background: #1c1e26;
  color: #e8eaf0;
  border: 1px solid #42454f;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  /* Restore native select arrow (base styles.css hides it for product UI) */
  background-image: none;
}
.applicant-form select { appearance: auto; padding-right: 14px; }
.applicant-form input::placeholder { color: #5e6270; }
.applicant-form input:focus,
.applicant-form select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

.radio-group, .check-group { display: flex; flex-direction: column; gap: 10px; }
.radio-group label, .check-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: #d0d3db; cursor: pointer;
}
.radio-group input, .check-group input {
  width: 17px; height: 17px; flex-shrink: 0; accent-color: #d4af37;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #1a1a2e;
  color: #d4af37;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #d4af37;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s;
  margin-top: 1.5rem;
}
.submit-btn:hover { background: #22244a; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-error {
  color: #e07070;
  font-size: 14px;
  margin-top: 1rem;
  text-align: center;
}

#toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  background: #d4af37;
  color: #1a1a2e;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
