/* ─────────────────────────────────────────────────────────
   House of A&N  |  login.css
   ───────────────────────────────────────────────────────── */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:          #070709;
  --surface:     rgba(14, 13, 18, 0.82);
  --stroke:      rgba(255, 255, 255, 0.07);
  --stroke-gold: rgba(212, 175, 55, 0.35);
  --text:        rgba(255, 255, 255, 0.90);
  --muted:       rgba(255, 255, 255, 0.45);
  --gold:        #d4af37;
  --gold-bright: #e8c84a;
  --gold-dim:    rgba(212, 175, 55, 0.12);
  --danger-bg:   rgba(220, 53, 69, 0.10);
  --danger-bd:   rgba(220, 53, 69, 0.28);
  --success:     #5ee27a;
  --radius:      18px;
  --radius-sm:   12px;
  --radius-xs:   9px;
  --trans:       0.22s cubic-bezier(.4, 0, .2, 1);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── BACKGROUND CANVAS ───────────────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.55;
}

.bg-glow-top {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.13) 0%, transparent 70%);
  filter: blur(40px);
  animation: glowPulse 7s ease-in-out infinite alternate;
}

.bg-glow-bl {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.07) 0%, transparent 65%);
  filter: blur(60px);
}

.bg-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold) 60%, transparent 100%);
  opacity: 0;
  animation: scanLine 6s ease-in-out infinite;
}

/* ── BACK BUTTON ─────────────────────────────────────────── */
.btn-back {
  position: fixed;
  top: 22px;
  left: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 12px;
  border-radius: 100px;
  background: rgba(10, 9, 14, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color var(--trans), border-color var(--trans), background var(--trans), transform var(--trans), box-shadow var(--trans);
  opacity: 0;
  animation: backBtnEnter 0.5s ease 0.1s forwards;
}

.btn-back:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(10, 9, 14, 0.88);
  transform: translateX(-2px);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.1);
}

.btn-back-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.82rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: background var(--trans), transform var(--trans);
}

.btn-back:hover .btn-back-icon {
  background: rgba(212, 175, 55, 0.2);
  transform: translateX(-1px);
}

.btn-back-label {
  white-space: nowrap;
}

@keyframes backBtnEnter {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── PAGE LAYOUT ─────────────────────────────────────────── */
.login-page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* ── LEFT: BRANDING PANEL ────────────────────────────────── */
.brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 56px;
  position: relative;
  border-right: 1px solid var(--stroke);
}

.brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.brand-vertical {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

.brand-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.brand-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.brand-logo-wrap { margin-bottom: 36px; }

.brand-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--stroke-gold);
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08), 0 24px 48px rgba(0, 0, 0, 0.5);
  transition: transform var(--trans), box-shadow var(--trans);
}

.brand-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.18), 0 30px 60px rgba(0, 0, 0, 0.6);
}

.brand-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.brand-headline em {
  font-style: italic;
  color: var(--gold);
}

.brand-desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 48px;
}

.brand-services {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeSlideRight 0.5s ease forwards;
}

.service-item:nth-child(1) { animation-delay: 0.6s; }
.service-item:nth-child(2) { animation-delay: 0.75s; }
.service-item:nth-child(3) { animation-delay: 0.9s; }

.service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.service-label {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

.brand-footer {
  position: absolute;
  bottom: 32px;
  left: 56px;
  right: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-footer-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.brand-footer-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--stroke), transparent);
  margin: 0 16px;
}

/* ── RIGHT: FORM PANEL ───────────────────────────────────── */
.form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 48px;
  position: relative;
}

/* ── LOGIN CARD ──────────────────────────────────────────── */
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 40px 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: cardEnter 0.55s ease 0.2s forwards;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.5) 50%, transparent 100%);
}

.login-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 80%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(212, 175, 55, 0.03) 50%, transparent 60%);
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

/* ── CARD HEADER ─────────────────────────────────────────── */
.card-header-custom {
  text-align: center;
  margin-bottom: 36px;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  border: 1px solid var(--stroke-gold);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.card-tag i { font-size: 9px; }

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.card-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 300;
}

/* ── GOLD DIVIDER ────────────────────────────────────────── */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stroke);
}

.gold-divider span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ── FORM FIELDS ─────────────────────────────────────────── */
.field-wrap { margin-bottom: 18px; }

.field-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 9px;
}

.field-label .req { color: var(--gold); font-weight: 700; }

.input-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
  overflow: hidden;
}

.input-wrap:focus-within {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08), inset 0 0 20px rgba(212, 175, 55, 0.03);
  background: rgba(0, 0, 0, 0.22);
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.9rem;
  transition: color var(--trans);
}

.input-wrap:focus-within .input-icon {
  color: rgba(212, 175, 55, 0.7);
}

.field-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 14px 12px 14px 0;
  min-width: 0;
}

.field-input::placeholder { color: rgba(255, 255, 255, 0.2); }

.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.28) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.btn-eye {
  background: none;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 14px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--trans);
  flex-shrink: 0;
}

.btn-eye:hover { color: var(--gold); }

.field-error {
  font-size: 0.78rem;
  color: #ff9aaa;
  margin-top: 6px;
  padding-left: 2px;
  display: none;
}

.show-error .field-error   { display: block; }
.show-error .input-wrap    { border-color: rgba(220, 53, 69, 0.45); }

/* ── OPTIONS ROW ─────────────────────────────────────────── */
.options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 24px;
  gap: 12px;
}

.check-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
}

.check-input:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.check-input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: 2px solid #111;
  border-top: none;
  border-left: none;
  transform: rotate(40deg);
}

.check-input:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
  outline: none;
}

.check-label {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.link-gold {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color var(--trans), text-shadow var(--trans);
}

.link-gold:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* ── ALERT ───────────────────────────────────────────────── */
#alerta {
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-size: 0.84rem;
  font-weight: 400;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
  line-height: 1.5;
}

#alerta.d-none { display: none !important; }

#alerta.alert-danger {
  background: var(--danger-bg);
  border-color: var(--danger-bd);
  color: #ffb8c0;
}

#alerta.alert-success {
  background: rgba(94, 226, 122, 0.08);
  border-color: rgba(94, 226, 122, 0.25);
  color: #a8f5bc;
}

#alerta i { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ── SUBMIT BUTTON ───────────────────────────────────────── */
.btn-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #dbb93e 0%, #b8892b 100%);
  color: #0f0d09;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), filter var(--trans);
  box-shadow: 0 8px 32px rgba(184, 137, 43, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-submit:hover::before { left: 160%; }

.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(184, 137, 43, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.04);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(184, 137, 43, 0.2);
}

.btn-submit:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none;
}

.btn-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── REGISTER LINK ───────────────────────────────────────── */
.register-text {
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ── SUCCESS MODAL ───────────────────────────────────────── */
#successModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#successModal.d-none { display: none !important; }

.success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInBd 0.25s ease;
}

.success-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 400px);
  background: linear-gradient(180deg, rgba(20, 18, 28, 0.97), rgba(10, 9, 14, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: dialogPop 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

.success-dialog::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, transparent, rgba(94, 226, 122, 0.4), transparent);
}

.success-icon-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(94, 226, 122, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  animation: ringPulse 2.5s ease-in-out infinite;
}

.success-icon-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(94, 226, 122, 0.1);
}

.success-icon-inner {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 226, 122, 0.15), rgba(94, 226, 122, 0.06));
  border: 2px solid rgba(94, 226, 122, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-inner i {
  font-size: 2rem;
  color: var(--success);
  filter: drop-shadow(0 0 10px rgba(94, 226, 122, 0.5));
}

.success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.success-text {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.success-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.loader-spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes glowPulse {
  from { opacity: 0.7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.07); }
}

@keyframes scanLine {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 0.25; }
  95%  { opacity: 0.1; }
  100% { top: 100vh; opacity: 0; }
}

@keyframes cardEnter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { left: -60%; }
  50%  { left: 120%; }
  100% { left: 120%; }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInBd {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes dialogPop {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 226, 122, 0.12); }
  50%       { box-shadow: 0 0 0 14px rgba(94, 226, 122, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1100px) {
  .brand-panel { padding: 48px 40px; }
  .brand-headline { font-size: 2.6rem; }
  .form-panel { padding: 48px 36px; }
}

/* Tablet portrait: stack vertically */
@media (max-width: 860px) {
  .login-page {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .brand-panel {
    padding: 56px 32px 36px; /* extra top padding for back button */
    border-right: none;
    border-bottom: 1px solid var(--stroke);
    align-items: center;
    text-align: center;
  }

  .brand-panel::before { background: none; }

  .brand-eyebrow { justify-content: center; }

  .brand-vertical { display: none; }

  .brand-logo-wrap { margin-bottom: 24px; }

  .brand-desc { text-align: center; max-width: 480px; margin-bottom: 28px; }

  .brand-services {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
  }

  .brand-footer { display: none; }

  .brand-headline { font-size: 2.2rem; }

  .form-panel { padding: 40px 20px 48px; }

  .login-card { max-width: 480px; padding: 32px 28px; }
}

/* Mobile */
@media (max-width: 540px) {
  .btn-back-label { display: none; }
  .btn-back {
    padding: 9px;
    width: 42px;
    height: 42px;
    justify-content: center;
    border-radius: 50%;
  }
  .btn-back-icon {
    width: 22px;
    height: 22px;
    background: none;
    border: none;
    font-size: 1rem;
  }

  .brand-panel { padding: 28px 20px 24px; }
  .brand-logo  { width: 74px; height: 74px; }
  .brand-headline { font-size: 1.8rem; }
  .brand-desc { font-size: 0.85rem; margin-bottom: 20px; }

  .form-panel { padding: 28px 14px 40px; }

  .login-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .card-title { font-size: 1.75rem; }

  .options-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
}

/* Very small */
@media (max-width: 380px) {
  .login-card { padding: 22px 16px; border-radius: 16px; }
  .card-title { font-size: 1.55rem; }
  .field-input { font-size: 0.85rem; }
  .btn-submit { font-size: 0.77rem; }
}