/* ============================================================
   MediEnlace · Auth pages — Two-panel brand layout
   (Crear Cuenta + Login)
   ============================================================ */

:root {
  --reg-indigo-900: #1d1240;
  --reg-indigo-700: #2c1c54;
  --reg-indigo: #39256B;
  --reg-indigo-500: #5a4290;
  --reg-indigo-300: #9a8bc0;
  --reg-indigo-100: #ece8f5;

  --reg-blue: #4A76D7;
  --reg-blue-700: #345aad;
  --reg-blue-100: #e5edfb;

  --reg-coral: #EA7B7A;
  --reg-coral-soft: #f4a9a8;

  --reg-green: #2f9e6f;
  --reg-green-100: #e1f3eb;
  --reg-amber: #c98a2b;
  --reg-amber-100: #f6ecd8;

  --reg-paper: #FBFAF7;
  --reg-paper-2: #F3F1EB;
  --reg-line: #E8E4D8;
  --reg-ink-40: #7B7690;
  --reg-ink-60: #4A4560;
  --reg-ink: #1A1530;

  --reg-serif: "Fraunces", Georgia, serif;
  --reg-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Reset scope ---- */
.reg-shell, .reg-shell * { box-sizing: border-box; margin: 0; padding: 0; }
.reg-shell { font-family: var(--reg-sans); color: var(--reg-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---- Layout ---- */
.reg-shell { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

/* ============ PANEL DE MARCA ============ */
.reg-brand {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 12% 8%, var(--reg-indigo-700) 0%, var(--reg-indigo) 46%, var(--reg-indigo-900) 100%);
  color: var(--reg-paper);
  padding: 56px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.reg-brand .organics { position: absolute; inset: 0; pointer-events: none; }
.reg-brand .arc { position: absolute; border-radius: 50%; border-style: solid; border-color: transparent; }
.reg-brand .arc-1 { width: 620px; height: 620px; right: -210px; top: -170px; border-width: 2px; border-color: rgba(154,139,192,.30); }
.reg-brand .arc-2 { width: 460px; height: 460px; right: -120px; top: -90px; border-width: 28px; border-color: rgba(74,118,215,.22); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(28deg); }
.reg-brand .arc-3 { width: 340px; height: 340px; left: -160px; bottom: -120px; border-width: 30px; border-color: rgba(234,123,122,.30); border-left-color: transparent; border-top-color: transparent; }
.reg-brand .blob { position: absolute; width: 280px; height: 280px; right: 8%; bottom: 12%; background: radial-gradient(circle at 35% 35%, rgba(234,123,122,.34), rgba(234,123,122,0) 68%); filter: blur(6px); }

.reg-brand-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.reg-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(251,250,247,.08); border: 1px solid rgba(251,250,247,.18); }
.reg-mark img { width: 30px; height: 30px; object-fit: contain; display: block; }
.reg-wordmark { font-family: var(--reg-serif); font-weight: 600; font-size: 20px; letter-spacing: -.01em; color: var(--reg-paper); }
.reg-wordmark b { color: var(--reg-coral-soft); font-weight: 600; }

.reg-brand-center { position: relative; z-index: 2; max-width: 32ch; }
.reg-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--reg-indigo-300); margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.reg-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--reg-coral); border-radius: 2px; }
.reg-brand-center h1 { font-family: var(--reg-serif); font-weight: 400; font-size: clamp(38px, 4vw, 58px); line-height: 1.04; letter-spacing: -.025em; color: var(--reg-paper); }
.reg-brand-center h1 em { font-style: italic; color: var(--reg-coral-soft); }
.reg-brand-center p { margin-top: 24px; font-size: 17px; line-height: 1.6; color: rgba(251,250,247,.74); max-width: 36ch; }

.reg-brand-perks { position: relative; z-index: 2; margin-top: 30px; display: flex; flex-direction: column; gap: 13px; }
.reg-perk { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(251,250,247,.86); }
.reg-perk svg { width: 20px; height: 20px; color: var(--reg-coral-soft); flex-shrink: 0; }

.reg-brand-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(251,250,247,.62); }
.reg-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--reg-coral); box-shadow: 0 0 0 0 rgba(234,123,122,.55); animation: regPulse 2.4s ease-out infinite; }
@keyframes regPulse { 0% { box-shadow: 0 0 0 0 rgba(234,123,122,.5); } 70% { box-shadow: 0 0 0 12px rgba(234,123,122,0); } 100% { box-shadow: 0 0 0 0 rgba(234,123,122,0); } }
@media (prefers-reduced-motion: reduce) { .reg-pulse { animation: none; } }

/* ============ PANEL DE FORMULARIO ============ */
.reg-form-panel { background: var(--reg-paper); display: flex; align-items: center; justify-content: center; padding: 48px; overflow-y: auto; }
.reg-form-card { width: 100%; max-width: 460px; }
.reg-form-card .reg-logo { height: 34px; margin-bottom: 32px; display: block; }

.reg-kicker { font-size: 13px; font-weight: 500; color: var(--reg-ink-40); letter-spacing: .01em; }
.reg-title { font-family: var(--reg-serif); font-weight: 500; font-size: 32px; line-height: 1.12; letter-spacing: -.02em; color: var(--reg-ink); margin-top: 8px; }
.reg-sub { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--reg-ink-60); }

/* ---- Type selector cards ---- */
.reg-types { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.reg-type-card {
  width: 100%; text-align: left; cursor: pointer; text-decoration: none;
  background: #fff; border: 1.5px solid var(--reg-line); border-radius: 18px;
  padding: 20px 20px; display: flex; align-items: center; gap: 18px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease;
  font-family: var(--reg-sans); color: var(--reg-ink);
}
.reg-type-card:hover { border-color: var(--reg-indigo-300); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(57,37,107,.35); color: var(--reg-ink); text-decoration: none; }
.reg-type-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.reg-type-ico svg { width: 28px; height: 28px; }
.reg-type-ico.paciente { background: var(--reg-indigo-100); color: var(--reg-indigo); }
.reg-type-ico.medico { background: #fbe9e9; color: var(--reg-coral); }
.reg-type-ico.clinica { background: var(--reg-blue-100); color: var(--reg-blue); }
.reg-type-body { flex: 1; min-width: 0; }
.reg-type-name { font-family: var(--reg-serif); font-weight: 600; font-size: 19px; color: var(--reg-ink); letter-spacing: -.01em; display: block; }
.reg-type-desc { font-size: 13.5px; line-height: 1.45; color: var(--reg-ink-60); margin-top: 3px; display: block; }
.reg-type-meta { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.reg-badge { font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.reg-badge.free { background: var(--reg-green-100); color: var(--reg-green); }
.reg-badge.trial { background: var(--reg-amber-100); color: var(--reg-amber); }
.reg-type-arrow { width: 22px; height: 22px; color: var(--reg-ink-40); flex-shrink: 0; transition: transform .18s ease, color .18s ease; }
.reg-type-card:hover .reg-type-arrow { transform: translateX(3px); color: var(--reg-indigo); }

/* ---- Form ---- */
.reg-form-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.reg-form-head .reg-head-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.reg-form-head .reg-head-ico svg { width: 24px; height: 24px; }

.reg-back { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer; font-family: var(--reg-sans); font-size: 13.5px; font-weight: 500; color: var(--reg-ink-40); padding: 0; margin-bottom: 22px; transition: color .15s ease; text-decoration: none; }
.reg-back:hover { color: var(--reg-indigo); text-decoration: none; }
.reg-back svg { width: 16px; height: 16px; }

.reg-form { margin-top: 4px; }
.reg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reg-field { margin-bottom: 16px; }
.reg-field label { display: block; font-size: 13px; font-weight: 500; color: var(--reg-ink-60); margin-bottom: 7px; }
.reg-input-wrap { position: relative; }
.reg-input-wrap > svg.reg-lead { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--reg-ink-40); pointer-events: none; z-index: 1; }
.reg-ctrl {
  width: 100%; font-family: var(--reg-sans); font-size: 15px; color: var(--reg-ink);
  background: #fff; border: 1.5px solid var(--reg-line); border-radius: 13px;
  padding: 14px 15px 14px 44px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.reg-ctrl.no-icon { padding-left: 15px; }
.reg-ctrl::placeholder { color: #b4afbf; }
.reg-ctrl:hover { border-color: #d6d1c4; }
.reg-ctrl:focus { outline: none; border-color: var(--reg-indigo-500); box-shadow: 0 0 0 4px rgba(57,37,107,.10); }
.reg-ctrl.is-invalid { border-color: var(--reg-coral); }
.reg-ctrl.is-invalid:focus { box-shadow: 0 0 0 4px rgba(234,123,122,.15); }

select.reg-ctrl {
  appearance: none; cursor: pointer; color: var(--reg-ink-40);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%237B7690' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 18px; padding-right: 42px;
}
select.reg-ctrl.filled { color: var(--reg-ink); }

.reg-error { font-size: 12px; color: var(--reg-coral); margin-top: 5px; line-height: 1.4; }

/* password toggle */
.reg-pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: none; background: transparent; color: var(--reg-ink-40); cursor: pointer; border-radius: 9px; transition: color .15s ease, background .15s ease; }
.reg-pw-toggle:hover { color: var(--reg-ink-60); background: var(--reg-paper-2); }
.reg-pw-toggle svg { width: 18px; height: 18px; }

/* phone input */
.reg-phone { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.reg-cc { position: relative; }
.reg-cc select {
  width: 100%; font-family: var(--reg-sans); font-size: 15px; color: var(--reg-ink);
  background: #fff; border: 1.5px solid var(--reg-line); border-radius: 13px;
  padding: 14px 28px 14px 14px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%237B7690' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 16px;
}
.reg-cc select:focus { outline: none; border-color: var(--reg-indigo-500); box-shadow: 0 0 0 4px rgba(57,37,107,.10); }

/* intl-tel-input override within reg-shell */
.reg-shell .iti { width: 100%; }
.reg-shell .iti--separate-dial-code .iti__selected-flag { background-color: transparent; border-radius: 13px 0 0 13px; padding-left: 15px; }
.reg-shell .iti .iti__flag-container { z-index: 2; }
.reg-shell .iti input.reg-ctrl { padding-left: 90px; }

/* referral section */
.reg-referral { margin: 4px 0 18px; background: var(--reg-paper-2); border: 1px solid var(--reg-line); border-radius: 14px; padding: 16px; }
.reg-referral-head { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--reg-ink); margin-bottom: 11px; }
.reg-referral-head svg { width: 17px; height: 17px; color: var(--reg-coral); }
.reg-referral input {
  width: 100%; font-family: var(--reg-sans); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--reg-ink);
  background: #fff; border: 1.5px dashed var(--reg-line); border-radius: 11px; padding: 13px 15px;
}
.reg-referral input::placeholder { color: #c2bdcc; letter-spacing: .08em; }
.reg-referral input:focus { outline: none; border-color: var(--reg-coral-soft); border-style: solid; box-shadow: 0 0 0 4px rgba(234,123,122,.10); }
.reg-referral .reg-hint { margin-top: 9px; font-size: 12px; line-height: 1.5; color: var(--reg-ink-40); }
.reg-referral .reg-prefilled { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--reg-green); background: var(--reg-green-100); padding: 3px 8px; border-radius: 999px; margin-left: auto; }

/* consent checkbox */
.reg-accept { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; margin: 4px 0 22px; }
.reg-accept input { position: absolute; opacity: 0; width: 0; height: 0; }
.reg-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--reg-line); background: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; transition: all .15s ease; }
.reg-box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .15s ease; }
.reg-accept input:checked + .reg-box { background: var(--reg-indigo); border-color: var(--reg-indigo); }
.reg-accept input:checked + .reg-box svg { opacity: 1; }
.reg-accept input.is-invalid + .reg-box { border-color: var(--reg-coral); }
.reg-accept-text { font-size: 13.5px; line-height: 1.5; color: var(--reg-ink-60); }
.reg-accept-text a { color: var(--reg-blue); text-decoration: none; font-weight: 500; }
.reg-accept-text a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* CTA button */
.reg-cta {
  width: 100%; font-family: var(--reg-sans); font-size: 15.5px; font-weight: 600;
  color: var(--reg-paper); background: var(--reg-indigo); border: none; border-radius: 999px;
  padding: 16px 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 12px 28px -10px rgba(57,37,107,.55);
  transition: transform .15s ease, background .18s ease, box-shadow .18s ease;
}
.reg-cta:hover { background: var(--reg-indigo-700); transform: translateY(-1px); box-shadow: 0 16px 32px -10px rgba(57,37,107,.6); }
.reg-cta:active { transform: translateY(0); }
.reg-cta:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.reg-cta svg { width: 18px; height: 18px; }

.reg-trial-note { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--reg-ink-40); }
.reg-trial-note svg { width: 15px; height: 15px; color: var(--reg-green); }

.reg-signin { margin-top: 22px; text-align: center; font-size: 14px; color: var(--reg-ink-60); padding-top: 22px; border-top: 1px solid var(--reg-line); }
.reg-signin a { color: var(--reg-blue); font-weight: 600; text-decoration: none; }
.reg-signin a:hover { color: var(--reg-blue-700); text-decoration: underline; text-underline-offset: 3px; }

/* validation alert */
.reg-alert { background: #fef2f2; border: 1px solid rgba(234,123,122,.3); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; }
.reg-alert ul { list-style: none; padding: 0; margin: 0; }
.reg-alert li { font-size: 13px; color: var(--reg-coral); line-height: 1.6; }
.reg-alert li::before { content: "•"; margin-right: 8px; }

.reg-hidden { display: none !important; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .reg-shell { grid-template-columns: 1fr; }
  .reg-brand { padding: 40px 32px; min-height: auto; }
  .reg-brand-perks { display: none; }
  .reg-brand-center { display: none; }
  .reg-brand-foot { display: none; }
  .reg-brand { padding: 28px 32px; }
  .reg-form-panel { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .reg-grid-2 { grid-template-columns: 1fr; }
  .reg-form-panel { padding: 32px 20px; }
  .log-form-panel { padding: 32px 20px; }
}


/* ============================================================
   LOGIN PAGE
   ============================================================ */

/* ---- Shell (reuses reg-shell grid) ---- */

/* ---- Brand panel variant: photo background ---- */
.log-brand {
  position: relative; overflow: hidden;
  background: var(--reg-indigo-900);
  color: var(--reg-paper);
  padding: 56px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.log-brand-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.log-brand-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(29,18,64,.30) 0%, rgba(29,18,64,.05) 30%, rgba(29,18,64,.55) 74%, rgba(29,18,64,.92) 100%),
    linear-gradient(110deg, rgba(57,37,107,.62) 0%, rgba(57,37,107,.18) 52%, rgba(57,37,107,0) 78%);
}
.log-brand-accent {
  position: absolute; left: -160px; bottom: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 30px solid rgba(234,123,122,.22);
  border-left-color: transparent; border-top-color: transparent;
  pointer-events: none;
}

.log-brand-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.log-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; background: rgba(251,250,247,.12);
  border: 1px solid rgba(251,250,247,.22); backdrop-filter: blur(8px);
}
.log-mark img { width: 30px; height: 30px; object-fit: contain; display: block; }
.log-wordmark { font-family: var(--reg-serif); font-weight: 600; font-size: 21px; letter-spacing: -.01em; }
.log-wordmark b { color: var(--reg-coral-soft); font-weight: 600; }

.log-brand-center { position: relative; z-index: 2; max-width: 32ch; }
.log-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(251,250,247,.82); margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  text-shadow: 0 1px 12px rgba(29,18,64,.5);
}
.log-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--reg-coral); border-radius: 2px; }
.log-brand-center h1 {
  font-family: var(--reg-serif); font-weight: 400;
  font-size: clamp(40px, 4.4vw, 62px); line-height: 1.03; letter-spacing: -.025em;
  text-shadow: 0 2px 24px rgba(29,18,64,.45);
}
.log-brand-center h1 em { font-style: italic; color: var(--reg-coral-soft); }
.log-brand-center p {
  margin-top: 22px; font-size: 17px; line-height: 1.6;
  color: rgba(251,250,247,.9); max-width: 36ch;
  text-shadow: 0 1px 14px rgba(29,18,64,.5);
}

.log-brand-foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(251,250,247,.82);
  text-shadow: 0 1px 12px rgba(29,18,64,.5);
}

/* ---- Form panel ---- */
.log-form-panel {
  background: var(--reg-paper);
  display: flex; align-items: center; justify-content: center; padding: 48px;
}
.log-form-card { width: 100%; max-width: 416px; }
.log-form-card .log-logo { height: 38px; margin-bottom: 44px; display: block; }

.log-kicker { font-size: 13px; font-weight: 500; color: var(--reg-ink-40); letter-spacing: .01em; }
.log-title {
  font-family: var(--reg-serif); font-weight: 500; font-size: 33px;
  line-height: 1.12; letter-spacing: -.02em; color: var(--reg-ink); margin-top: 8px;
}
.log-sub { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--reg-ink-60); }

.log-form { margin-top: 34px; }
.log-field { margin-bottom: 20px; }
.log-field label { display: block; font-size: 13px; font-weight: 500; color: var(--reg-ink-60); margin-bottom: 8px; }

.log-input-wrap { position: relative; }
.log-input-wrap > svg.log-lead {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--reg-ink-40); pointer-events: none; z-index: 1;
}
.log-ctrl {
  width: 100%; font-family: var(--reg-sans); font-size: 15px; color: var(--reg-ink);
  background: #fff; border: 1.5px solid var(--reg-line); border-radius: 14px;
  padding: 15px 16px 15px 46px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.log-ctrl::placeholder { color: #b4afbf; }
.log-ctrl:hover { border-color: #d6d1c4; }
.log-ctrl:focus { outline: none; border-color: var(--reg-indigo-500); box-shadow: 0 0 0 4px rgba(57,37,107,.10); }
.log-ctrl.is-invalid { border-color: var(--reg-coral); }

.log-check-icon {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--reg-blue); display: none;
}
.log-field.is-valid .log-check-icon { display: block; }
.log-field.is-valid .log-ctrl { border-color: rgba(74,118,215,.55); }

/* password toggle (reuses reg-pw-toggle) */

/* remember + forgot row */
.log-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 22px 0 28px; flex-wrap: wrap; gap: 8px;
}
.log-remember { display: flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.log-remember input { position: absolute; opacity: 0; width: 0; height: 0; }
.log-remember .reg-box { width: 19px; height: 19px; }
.log-remember span { font-size: 14px; color: var(--reg-ink-60); }
.log-link { font-size: 14px; font-weight: 500; color: var(--reg-blue); text-decoration: none; }
.log-link:hover { color: var(--reg-blue-700); text-decoration: underline; text-underline-offset: 3px; }

/* CTA (reuses .reg-cta) */

/* separator */
.log-or {
  display: flex; align-items: center; gap: 14px;
  margin: 22px 0; font-size: 12.5px; font-weight: 500;
  letter-spacing: .04em; color: var(--reg-ink-40); text-transform: uppercase;
}
.log-or::before, .log-or::after { content: ""; flex: 1; height: 1px; background: var(--reg-line); }

/* Google button */
.log-google {
  width: 100%; font-family: var(--reg-sans); font-size: 15px; font-weight: 600;
  color: var(--reg-ink); background: #fff; border: 1.5px solid var(--reg-line);
  border-radius: 999px; padding: 14px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 11px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease;
  text-decoration: none;
}
.log-google:hover { border-color: #d6d1c4; box-shadow: 0 10px 24px -14px rgba(26,21,48,.45); transform: translateY(-1px); color: var(--reg-ink); text-decoration: none; }
.log-google svg { width: 19px; height: 19px; flex-shrink: 0; }

/* secure badge */
.log-secure {
  margin-top: 26px; display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--reg-ink-40);
  padding-top: 22px; border-top: 1px solid var(--reg-line);
}
.log-secure svg { width: 15px; height: 15px; color: var(--reg-ink-40); flex-shrink: 0; }

.log-signup { margin-top: 16px; font-size: 14px; color: var(--reg-ink-60); }
.log-signup a { color: var(--reg-blue); font-weight: 600; text-decoration: none; }
.log-signup a:hover { color: var(--reg-blue-700); text-decoration: underline; text-underline-offset: 3px; }

.log-staff { margin-top: 8px; font-size: 13px; color: var(--reg-ink-40); }
.log-staff a { color: var(--reg-ink-60); font-weight: 500; text-decoration: none; }
.log-staff a:hover { color: var(--reg-blue); text-decoration: underline; text-underline-offset: 3px; }

/* error alert */
.log-error-alert { color: var(--reg-coral); font-size: 13px; margin-bottom: 12px; }

/* ---- Login responsive ---- */
@media (max-width: 900px) {
  .log-brand { padding: 40px 32px; min-height: 320px; }
  .log-brand-center h1 { font-size: 40px; }
  .log-brand-center { display: none; }
  .log-brand-foot { display: none; }
  .log-brand { padding: 28px 32px; }
  .log-form-panel { padding: 40px 24px; }
}
