/* ===== VIDANATURA — CSS unificado (Login + Registro) ===== */
/* Sirve para index.html (.login-wrapper) y registro.html (.reg-wrapper).
   Base compartida + diferencias scopeadas por wrapper. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --olive:   #45ac34;
  --lime:    #7ed321;
  --forest:  #115628;
  --deep:    #0d2e15;
  --cream:   #f5f2ec;
  --text:    #1a1a1a;
  --muted:   #6b7a5c;
  --border:  rgba(69,172,52,0.25);
  --glass:   rgba(255,255,255,0.72);
  --shadow:  0 32px 64px rgba(13,46,21,0.18);
  --radius:  20px;
  --error:   #c0392b;
  --error-bg:rgba(192,57,43,0.07);
  --success: #45ac34;
  --gold:    #f2c94c;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--deep);
  color: var(--text);
  min-height: 100vh;
}

/* ════════════════════════════════════════
   LAYOUT SPLIT  (común a login y registro)
════════════════════════════════════════ */
.login-wrapper,
.reg-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ════════════════════════════════════════
   LEFT — Brand panel  (común)
════════════════════════════════════════ */
.panel-nature {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  background: linear-gradient(160deg, var(--forest) 0%, #16401e 35%, var(--deep) 100%);
}

/* Registro: panel fijo mientras el formulario hace scroll */
.reg-wrapper .panel-nature {
  position: sticky;
  top: 0;
  height: 100vh;
}

/* ── Foto del panel ──
   IMPORTANTE: la imagen NO se declara en este CSS.
   Se inserta en el Blade con <img class="panel-photo" src="{{ asset('...') }}">
   asi el asset() de Laravel sigue funcionando y el CSS queda libre de rutas. */
.panel-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* llena TODO el panel, sin bordes vacios */
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Velo verde sobre la foto (contraste + identidad de marca) */
.photo-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Suave: la foto ya trae su propio tratamiento verde.
     Si usas una foto SIN tratar, sube estas opacidades. */
  background:
    linear-gradient(180deg,
      rgba(13,46,21,0.10) 0%,
      rgba(13,46,21,0.00) 30%,
      rgba(17,86,40,0.45) 78%,
      rgba(13,46,21,0.72) 100%);
}

.panel-nature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.panel-nature::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(126,211,33,0.15);
  animation: slowSpin 30s linear infinite;
  z-index: 0;
}

.circle-deco { position: absolute; border-radius: 50%; border: 1px solid rgba(126,211,33,0.12); z-index: 0; }
.circle-deco.c1 { width: 300px; height: 300px; top: 60px; right: -60px; animation: slowSpin 20s linear infinite reverse; }
.circle-deco.c2 { width: 700px; height: 700px; top: -200px; right: -250px; animation: slowSpin 45s linear infinite; }

.leaf-blob { position: absolute; border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; background: radial-gradient(ellipse at 30% 40%, rgba(69,172,52,0.22), transparent 70%); z-index: 0; }
.leaf-blob.l1 { width: 400px; height: 400px; top: 5%; left: -100px; }

/* Aros decorativos: blancos y por encima de la foto (como el mockup).
   Si tu imagen YA trae los aros dibujados, activa esta linea para no duplicarlos:
   .panel-nature::after, .circle-deco { display: none; } */
.panel-nature::after,
.circle-deco { z-index: 2; border-color: rgba(255,255,255,0.28); }
.panel-nature::after { top: -180px; right: -180px; width: 620px; height: 620px; }
.circle-deco.c1 { width: 380px; height: 380px; top: 40px; right: -110px; }
.circle-deco.c2 { width: 820px; height: 820px; top: -280px; right: -300px; }
.leaf-blob { z-index: 2; }
.leaf-blob.l2 { width: 260px; height: 260px; bottom: 20%; right: -60px; background: radial-gradient(ellipse, rgba(126,211,33,0.18), transparent 65%); }

.panel-content { position: relative; z-index: 3; animation: fadeUp 0.9s ease both; }

/* Brand */
.brand-mark { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 3rem; }
.reg-wrapper .brand-mark { margin-bottom: 2.5rem; }

.brand-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--lime), var(--olive));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.brand-icon svg { width: 24px; height: 24px; fill: #fff; }

/* Logo VDN (imagen desde el Blade) */
.brand-logo {
  height: 3.2rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}
.login-wrapper .brand-mark { margin-bottom: 1.75rem; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream);
}

/* Tagline */
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem; line-height: 1.12; font-weight: 300;
  color: var(--cream); margin-bottom: 1.5rem;
}
.reg-wrapper .hero-tagline { font-size: 2.9rem; margin-bottom: 1.25rem; }
.hero-tagline em { font-style: italic; color: var(--lime); }

/* Titular en mayusculas y todo en crema (login y registro) */
.login-wrapper .hero-tagline,
.reg-wrapper .hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(13,46,21,0.35);
  margin-bottom: 1.25rem;
}
.login-wrapper .hero-tagline { font-size: 2.9rem; }
.reg-wrapper .hero-tagline  { font-size: 2.5rem; }
.hero-tagline em { font-style: normal; color: var(--cream); }

.hero-sub {
  font-size: 0.9rem; font-weight: 300;
  color: rgba(245,242,236,0.6); line-height: 1.7;
  max-width: 340px; margin-bottom: 2.5rem;
}
.login-wrapper .hero-sub,
.reg-wrapper .hero-sub {
  color: rgba(245,242,236,0.92);
  max-width: 400px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(13,46,21,0.45);
}
.reg-wrapper .hero-sub { font-size: 0.88rem; margin-bottom: 2rem; }

/* Steps indicator — solo registro */
.steps-indicator { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2.5rem; }
.step-item { display: flex; align-items: center; gap: 12px; opacity: 0.45; transition: opacity 0.3s; }
.step-item.active { opacity: 1; }
.step-item.done { opacity: 0.7; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(126,211,33,0.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 0.72rem; font-weight: 600; color: rgba(245,242,236,0.6);
  transition: all 0.3s;
}
.step-item.active .step-dot { background: var(--gold); border-color: var(--gold); color: var(--deep); box-shadow: 0 0 16px rgba(242,201,76,0.45); }
.step-item.done .step-dot { background: rgba(242,201,76,0.2); border-color: rgba(242,201,76,0.5); color: var(--gold); }
.step-item .step-dot { border-color: rgba(255,255,255,0.45); color: rgba(245,242,236,0.85); }
.step-label { font-size: 0.85rem; font-weight: 300; color: rgba(245,242,236,0.85); letter-spacing: 0.04em; text-shadow: 0 1px 8px rgba(13,46,21,0.5); }
.step-item.active .step-label { color: var(--cream); font-weight: 400; }
.step-item { opacity: 0.6; }
.step-item.active { opacity: 1; }

/* Pills */
.tag-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px;
  border: 1px solid rgba(126,211,33,0.35);
  font-size: 0.78rem; color: rgba(245,242,236,0.75);
  letter-spacing: 0.04em; backdrop-filter: blur(6px);
  background: rgba(126,211,33,0.08);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* Pills claras con punto dorado (login y registro) */
.login-wrapper .pill,
.reg-wrapper .pill {
  background: rgba(245,242,236,0.16);
  border-color: rgba(245,242,236,0.35);
  color: var(--cream);
  padding: 7px 18px;
}
.pill-dot { background: var(--gold); }

/* ════════════════════════════════════════
   RIGHT — Form panel
════════════════════════════════════════ */
.panel-form {
  background: var(--cream);
  display: flex;
  justify-content: center;
  position: relative;
}

/* Login: tarjeta centrada en pantalla, sin scroll */
.login-wrapper .panel-form {
  align-items: center;
  padding: 2.5rem;
  overflow: hidden;
}

/* Registro: contenido alineado arriba, con scroll propio */
.reg-wrapper .panel-form {
  align-items: flex-start;
  padding: 3rem 2.5rem;
  overflow-y: auto;
  min-height: 100vh;
}

/* Decoración orgánica */
.form-deco {
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 60% 40% 50% 60% / 55% 50% 60% 45%;
  background: linear-gradient(135deg, rgba(69,172,52,0.12), rgba(17,86,40,0.08));
  pointer-events: none;
  z-index: 0;
}
.login-wrapper .form-deco.fd2 { bottom: -60px; left: -60px; top: auto; right: auto; width: 200px; height: 200px; }

/* Registro: la decoración superior queda fija al hacer scroll */
.reg-wrapper .form-deco { position: fixed; }
.reg-wrapper .form-deco.fd2 { position: absolute; bottom: -60px; left: 50%; top: auto; right: auto; width: 200px; height: 200px; }

/* ── Form card ── */
.form-card {
  width: 100%;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.9s 0.15s ease both;
}
.login-wrapper .form-card { max-width: 420px; }
.reg-wrapper .form-card { max-width: 520px; padding: 0.5rem 0 3rem; }

/* Header */
.form-header { margin-bottom: 2.5rem; }
.reg-wrapper .form-header { margin-bottom: 2rem; }

.form-eyebrow {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 0.5rem;
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 400;
  color: var(--deep); line-height: 1.1;
  margin-bottom: 0.5rem;
}
.reg-wrapper .form-title { margin-bottom: 0.4rem; }

.form-sub { font-size: 0.85rem; color: var(--muted); }

/* ── Progress bar — solo registro ── */
.progress-bar-wrap { margin-bottom: 2rem; }
.progress-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.progress-text { font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }
.progress-pct { font-size: 0.72rem; font-weight: 600; color: var(--olive); }
.progress-track { height: 3px; background: rgba(69,172,52,0.15); border-radius: 10px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--olive), var(--lime));
  border-radius: 10px;
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* ── Section titles — solo registro ── */
.section-title {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(69,172,52,0.2);
  display: flex; align-items: center; gap: 8px;
}
.section-title svg { width: 13px; height: 13px; }
.section-sep { height: 1.5rem; }

/* ── Field grid — solo registro ── */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.fields-grid .full { grid-column: 1 / -1; }

/* ── Field group ── */
.field-group { position: relative; }
/* Login apila los campos con margen; registro usa el grid (gap) */
.login-wrapper .field-group { margin-bottom: 1.25rem; }

label.field-label {
  display: block;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.45rem;
}
.reg-wrapper label.field-label { font-size: 0.7rem; letter-spacing: 0.08em; margin-bottom: 0.4rem; }

.field-label .required { color: var(--olive); margin-left: 2px; font-size: 0.75rem; }

.input-wrap { position: relative; }

.input-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  transition: color 0.2s;
  display: flex;
}
.reg-wrapper .input-icon { left: 14px; }

/* Input base */
.field-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid rgba(69,172,52,0.3);
  border-radius: 12px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--deep);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.reg-wrapper .field-input { padding: 12px 14px 12px 40px; border-radius: 11px; font-size: 0.88rem; }

.field-input::placeholder { color: #b5bda8; }

.field-input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(69,172,52,0.12);
}
.reg-wrapper .field-input:focus { box-shadow: 0 0 0 4px rgba(69,172,52,0.1); }

.field-input:focus + .input-icon,
.input-wrap:focus-within .input-icon { color: var(--olive); }

/* Select — solo registro */
.field-select {
  width: 100%;
  padding: 12px 36px 12px 40px;
  border: 1.5px solid rgba(69,172,52,0.3);
  border-radius: 11px;
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--deep);
  outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b7a5c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field-select:focus { border-color: var(--olive); box-shadow: 0 0 0 4px rgba(69,172,52,0.1); }

/* Password toggle */
.toggle-pwd {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; color: var(--muted);
  padding: 4px; display: flex;
  transition: color 0.2s;
}
.reg-wrapper .toggle-pwd { right: 12px; }
.toggle-pwd:hover { color: var(--olive); }

/* ── Validación — solo registro ── */
.field-input.is-valid, .field-select.is-valid {
  border-color: var(--success);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 12 2 2 4-4' stroke='%2345ac34' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.field-input.is-invalid, .field-select.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 4px var(--error-bg);
}
.field-error { font-size: 0.7rem; color: var(--error); margin-top: 4px; display: none; align-items: center; gap: 4px; }
.field-error.visible { display: flex; }

/* ── Password strength — solo registro ── */
.pwd-strength { margin-top: 6px; }
.strength-bar { display: flex; gap: 3px; margin-bottom: 4px; }
.strength-seg { flex: 1; height: 3px; border-radius: 10px; background: rgba(69,172,52,0.15); transition: background 0.3s; }
.strength-seg.s1 { background: #c0392b; }
.strength-seg.s2 { background: #e67e22; }
.strength-seg.s3 { background: var(--lime); }
.strength-seg.s4 { background: var(--forest); }
.strength-text { font-size: 0.68rem; color: var(--muted); }

/* ── Remember & forgot — solo login ── */
.field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; }

.check-label { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); cursor: pointer; }
.check-label input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(69,172,52,0.4);
  border-radius: 5px; background: #fff;
  cursor: pointer; position: relative;
  transition: background 0.2s, border-color 0.2s; flex-shrink: 0;
}
.check-label input[type="checkbox"]:checked { background: var(--olive); border-color: var(--olive); }
.check-label input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}

.forgot-link { font-size: 0.82rem; color: var(--olive); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.forgot-link:hover { color: var(--forest); }

/* ── Terms checkbox — solo registro ── */
.terms-wrap {
  margin: 1.5rem 0 0.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(69,172,52,0.06);
  border: 1px solid rgba(69,172,52,0.18);
}
.terms-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.terms-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; min-width: 20px;
  border: 1.5px solid rgba(69,172,52,0.4);
  border-radius: 6px; background: #fff;
  cursor: pointer; position: relative;
  transition: background 0.2s, border-color 0.2s; margin-top: 1px;
}
.terms-check input:checked { background: var(--olive); border-color: var(--olive); }
.terms-check input:checked::after {
  content: ''; position: absolute; left: 5px; top: 2px;
  width: 7px; height: 11px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.terms-text { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.terms-text a {
  color: var(--forest); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(17,86,40,0.3); padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.terms-text a:hover { color: var(--olive); border-color: var(--olive); }

/* ── Submit ── */
.btn-natura {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--olive) 0%, var(--forest) 100%);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(17,86,40,0.3);
}
.reg-wrapper .btn-natura { margin-top: 1.5rem; }

.btn-natura::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--lime), var(--olive));
  opacity: 0; transition: opacity 0.3s;
}
.btn-natura:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(17,86,40,0.38); }
.btn-natura:hover::before { opacity: 1; }
.btn-natura:active { transform: translateY(0); }
.btn-natura span { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ── Divider + social — solo login ── */
.divider { display: flex; align-items: center; gap: 12px; margin: 1.5rem 0; color: #c9d4b8; font-size: 0.78rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(69,172,52,0.2); }

.social-row { display: flex; gap: 12px; }
.btn-social {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px;
  border: 1.5px solid rgba(69,172,52,0.25);
  border-radius: 12px; background: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--deep);
  cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-social:hover { border-color: var(--olive); background: rgba(69,172,52,0.06); transform: translateY(-1px); }
.btn-social svg { width: 18px; height: 18px; }

/* ── Enlaces a la otra página ── */
.signup-row, .login-row { text-align: center; font-size: 0.84rem; color: var(--muted); }
.signup-row { margin-top: 1.75rem; }
.login-row { margin-top: 1.5rem; }
.signup-link, .login-link {
  color: var(--forest); font-weight: 600;
  text-decoration: none; margin-left: 4px;
  transition: color 0.2s;
}
.signup-link:hover, .login-link:hover { color: var(--olive); }

/* ── Trust strip (común) ── */
.trust-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(69,172,52,0.15);
}
.trust-item { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: #99a88a; letter-spacing: 0.04em; }
.trust-item svg { width: 13px; height: 13px; }

/* ── Animaciones ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 960px) {
  .login-wrapper, .reg-wrapper { grid-template-columns: 1fr; }

  .reg-wrapper .panel-nature {
    position: relative; height: auto;
    padding: 2.5rem 2rem 2.5rem;
    min-height: auto;
  }
  .reg-wrapper .hero-tagline { font-size: 2.2rem; }
  .steps-indicator { flex-direction: row; gap: 1rem; }
  .step-label { display: none; }
}

@media (max-width: 900px) {
  .login-wrapper .panel-nature { padding: 2.5rem 2rem 2rem; min-height: 45vh; }
  .login-wrapper .hero-tagline { font-size: 2.4rem; }
}

@media (max-width: 600px) {
  .fields-grid { grid-template-columns: 1fr; }
  .fields-grid .full { grid-column: 1; }
  .reg-wrapper .panel-form { padding: 2rem 1.25rem; }
  .reg-wrapper .form-title { font-size: 2rem; }

  /* Ocultar panel de marca del login en teléfono */
  .login-wrapper .panel-nature { display: none; }
}

@media (max-width: 480px) {
  .login-wrapper .panel-form { padding: 1.5rem; }
  .login-wrapper .form-title { font-size: 2rem; }
  .login-wrapper .hero-tagline { font-size: 1.9rem; }
}

/* ════════════════════════════════════════
   MODAL — Recuperar contraseña (Bootstrap 5)
   Hereda colores y tipografía del login.
════════════════════════════════════════ */
.modal-recuperar .modal-content {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Backdrop con tinte verde profundo */
.modal-backdrop.recuperar-backdrop {
  background-color: var(--deep);
}
.modal-backdrop.recuperar-backdrop.show { opacity: 0.55; }

/* Header */
.modal-recuperar .modal-header {
  border-bottom: 1px solid rgba(69,172,52,0.18);
  padding: 1.5rem 1.75rem 1.25rem;
  align-items: flex-start;
}

/* Fila: ícono + textos a la derecha */
.modal-recuperar .modal-head-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-recuperar .modal-badge {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--lime), var(--olive));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-recuperar .modal-badge svg { width: 22px; height: 22px; stroke: #fff; }

.modal-recuperar .modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 400;
  color: var(--deep); line-height: 1.15;
}

.modal-recuperar .modal-sub {
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.5; margin-top: 0.25rem;
}

/* Botón cerrar tintado */
.modal-recuperar .btn-close {
  --bs-btn-close-color: var(--forest);
  filter: none;
  opacity: 0.6;
  background-color: transparent;
}
.modal-recuperar .btn-close:hover { opacity: 1; }

/* Body */
.modal-recuperar .modal-body {
  padding: 1.5rem 1.75rem;
}

/* Espaciado de campos dentro del modal (fuera de .login-wrapper) */
.modal-recuperar .field-group { margin-bottom: 1rem; position: relative; }
.modal-recuperar .field-group:last-child { margin-bottom: 0; }

/* Footer */
.modal-recuperar .modal-footer {
  border-top: 1px solid rgba(69,172,52,0.18);
  padding: 1.25rem 1.75rem 1.75rem;
  flex-direction: column;
  gap: 0.85rem;
}
.modal-recuperar .modal-footer .btn-natura { margin-top: 0; }

.modal-recuperar .modal-back {
  font-size: 0.84rem; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.modal-recuperar .modal-back:hover { color: var(--forest); }