/* Altitude Burma Profiles — brand UI, native to the dark My Account theme.
   Palette: near-black #0A0A0B, creme #F6F0E6, gold #C9A227.
   Sharp corners everywhere. Motion respects prefers-reduced-motion. */

/* ---------- Login tabs (Email / Phone) ---------- */
.abm-auth-tabs {
  display: flex;
  margin: 0 0 1.25rem;
  border: 1px solid #3a352c;
  background: #141311;
}
.abm-auth-tab {
  flex: 1;
  padding: 0.7rem 1rem;
  background: transparent;
  border: 0;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b9ae97;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.abm-auth-tab.active { background: #c9a227; color: #0a0a0b; }
.abm-auth-tab:not(.active):hover { background: #1e1c17; color: #f6f0e6; }

.abm-phone-pane { animation: abm-fade-in 0.35s ease; }
.abm-phone-pane label { color: #f6f0e6; font-weight: 600; display: block; margin-bottom: 0.35rem; }
.abm-phone-pane input[type="tel"],
.abm-phone-pane input[type="text"] {
  width: 100%; padding: 0.65rem 0.8rem;
  background: #141311; border: 1px solid #3a352c; color: #f6f0e6; border-radius: 0;
}
.abm-phone-pane input:focus { border-color: #c9a227; box-shadow: 0 0 0 2px rgba(201,162,39,.25); outline: none; }
.abm-otp-msg { min-height: 1.4em; font-size: 0.9rem; color: #b9ae97; }
.abm-otp-msg.abm-ok { color: #8fd0a0; }
.abm-otp-msg.abm-err { color: #e08d7e; }

.abm-btn-gold {
  background: #c9a227 !important;
  border: 1px solid #c9a227 !important;
  color: #0a0a0b !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.abm-btn-gold:hover {
  background: #e4c65b !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}

/* ---------- Profile / onboarding (dark) ---------- */
.abm-profile-wrap { max-width: 720px; }
.abm-profile-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  margin: 0 0 0.4rem;
  color: #f6f0e6;
}
.abm-profile-sub { color: #b9ae97; margin: 0 0 1.75rem; font-size: 0.98rem; line-height: 1.65; }
.abm-notice { padding: 0.75rem 1rem; margin-bottom: 1.25rem; border: 1px solid; border-radius: 0; }
.abm-notice-success { background: rgba(46,125,79,.16); border-color: #2e7d4f; color: #8fd0a0; }

.abm-profile-form .abm-fieldset {
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.4rem 1.25rem 1rem;
  margin: 0 0 1.4rem;
}
.abm-profile-form .abm-legend {
  margin: 0 0 1.1rem;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c9a227;
  font-weight: 700;
}
.abm-profile-form label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: #f6f0e6; font-size: 0.92rem; }
.abm-profile-form p { margin: 0 0 1rem; }
.abm-profile-form input[type="text"],
.abm-profile-form input[type="email"],
.abm-profile-form input[type="tel"] {
  width: 100%;
  padding: 0.65rem 0.8rem;
  background: #141311;
  border: 1px solid #3a352c;
  color: #f6f0e6;
  border-radius: 0;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.abm-profile-form input::placeholder { color: #6f6656; }
.abm-profile-form input:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
  outline: none;
}
.abm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.abm-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) {
  .abm-grid-2, .abm-grid-3 { grid-template-columns: 1fr; }
  .abm-profile-form .abm-fieldset { padding: 1.1rem 1rem 0.75rem; }
}
.abm-field-hint { color: #b9ae97; font-size: 0.88rem; margin: 0 0 1rem; line-height: 1.6; }
.abm-allergen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem 0.6rem;
  margin-bottom: 1rem;
}
.abm-check {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #3a352c;
  background: #141311;
  color: #f6f0e6;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-weight: 500 !important;
  font-size: 0.92rem;
  margin: 0 !important;
}
.abm-check:hover { border-color: #c9a227; }
.abm-check input[type="checkbox"] { accent-color: #c9a227; width: 1.05rem; height: 1.05rem; flex: none; }
.abm-check:has(input:checked) { border-color: #c9a227; background: rgba(201, 162, 39, 0.14); }
.abm-verified {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.55rem;
  background: #c9a227;
  color: #0a0a0b;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- Live allergen warnings (adaptive: dark or light surfaces) ---------- */
.abm-allergen-warn {
  border: 1px solid #c9a227;
  border-left-width: 4px;
  background: rgba(201, 162, 39, 0.12);
  color: inherit;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
  border-radius: 0;
  animation: abm-fade-in 0.4s ease;
}
.abm-allergen-warn strong,
.abm-allergen-warn a { color: #c9a227; }
.abm-allergen-warn.abm-card-warn {
  margin: 0.6rem 0 0;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
}
.abm-checkout-note { margin-bottom: 1rem; }

@keyframes abm-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .abm-auth-tab, .abm-btn-gold, .abm-check, .abm-profile-form input { transition: none; }
  .abm-phone-pane, .abm-allergen-warn { animation: none; }
  .abm-btn-gold:hover { transform: none; }
}
