/* ============================================================
   Neto Business · Auth (Login + Registro + Recuperar)
   CLEAN CORPORATE LIGHT THEME 2026
   Inspirado en Square / Shopify / Stripe para Comercios en Venezuela
   ============================================================ */

:root {
  --na-ink:        #0F172A;
  --na-ink-2:      #334155;
  --na-navy:       #F8FAFC;
  --na-paper:      #FFFFFF;
  --na-blue:       #059669;
  --na-blue-dark:  #047857;
  --na-blue-soft:  rgba(5, 150, 105, 0.08);
  --na-cyan:       #0284C7;
  --na-cyan-soft:  rgba(2, 132, 199, 0.08);
  --na-line:       #E2E8F0;
  --na-line-subtle:#F1F5F9;
  --na-text:       #0F172A;
  --na-muted:      #64748B;
  --na-radius:     20px;
  --na-radius-sm:  10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: #0F172A !important;
  background: #F8FAFC !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ Public Nav ═══ */
.nb-public-nav, .nb-nav {
  background: linear-gradient(135deg, #047857 0%, #059669 60%, #10B981 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.25) !important;
  backdrop-filter: blur(12px);
}

.nb-nav__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nb-brand img {
  height: 38px !important;
  width: auto !important;
  display: block !important;
  filter: brightness(0) invert(1) !important;
}

.nb-nav .btn-ghost {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.nb-nav .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.30) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.nb-nav .btn-primary {
  background: #FFFFFF !important;
  color: #047857 !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  padding: 8px 20px !important;
  font-size: 13.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.nb-nav .btn-primary:hover {
  background: #F0FDF4 !important;
  color: #065F46 !important;
  transform: translateY(-1px);
}

/* ═══ Layout principal ═══ */
.auth-page {
  min-height: calc(100vh - 72px);
  padding: 32px 24px 64px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  background: #F8FAFC !important;
}

.auth-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ═══ Aside (info compacta) ═══ */
.auth-aside {
  position: sticky;
  top: 96px;
}
.auth-aside__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* — Plan card — */
.auth-plan-card {
  position: relative;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-radius: var(--na-radius);
  padding: 26px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid #E2E8F0 !important;
}

.auth-plan-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.auth-plan-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #059669 !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.auth-plan-card__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #64748B !important;
}
.auth-plan-card__live .dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
}

.auth-plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #0F172A !important;
  margin-bottom: 8px;
}
.auth-plan-card__currency {
  font-size: 24px;
  font-weight: 700;
  color: #059669 !important;
}
.auth-plan-card__amount {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: #0F172A !important;
}
.auth-plan-card__period {
  font-size: 15px;
  font-weight: 600;
  color: #64748B !important;
  margin-left: 4px;
}
.auth-plan-card__lead {
  font-size: 13.5px;
  color: #475569 !important;
  line-height: 1.5;
  margin-bottom: 14px;
}
.auth-plan-card__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.auth-plan-card__bullets span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #334155 !important;
}
.auth-plan-card__bullets span i {
  color: #059669;
}

/* — Trust — */
.auth-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569 !important;
}
.auth-trust__item i {
  color: #059669;
  font-size: 15px;
}

/* ═══ Form Side ═══ */
.auth-form-side {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08) !important;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #059669;
}

.auth-card__head { margin-bottom: 24px; }
.auth-card__kicker, .auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5 !important;
  color: #059669 !important;
  border: 1px solid #A7F3D0 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.auth-card__head h1, .auth-card h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A !important;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.auth-card__head p, .auth-card-sub {
  font-size: 14px;
  color: #475569 !important;
  line-height: 1.55;
}
.auth-card-sub strong { color: #0F172A !important; font-weight: 700; }

/* — Flash Alerts — */
.auth-flash {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid;
}
.auth-flash--danger, .auth-flash.danger   { background: #FEF2F2 !important; color: #991B1B !important; border-color: #DC2626 !important; }
.auth-flash--success, .auth-flash.success { background: #ECFDF5 !important; color: #065F46 !important; border-color: #059669 !important; }
.auth-flash--warning, .auth-flash.warning { background: #FFFBEB !important; color: #92400E !important; border-color: #F59E0B !important; }
.auth-flash--info, .auth-flash.info       { background: #EFF6FF !important; color: #1E40AF !important; border-color: #3B82F6 !important; }

/* — Inputs & Form Controls — */
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.auth-field label {
  font-size: 13px;
  font-weight: 700;
  color: #334155 !important;
  display: block;
}
.auth-field label .opt {
  color: #64748B;
  font-weight: 500;
  font-size: 11.5px;
}
.auth-field small, .auth-input-help {
  font-size: 12px;
  color: #64748B !important;
  line-height: 1.4;
}

.auth-input-wrap, .auth-input {
  position: relative;
}

.auth-input-wrap > i.bi,
.auth-input > i.bi,
.auth-input--inline > i.bi {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  font-size: 16px;
  pointer-events: none;
  transition: color .2s;
  z-index: 3;
}

.auth-input > input,
.auth-input.auth-input--direct,
input.auth-input,
.auth-field select,
.auth-field input[type=text],
.auth-field input[type=email],
.auth-field input[type=password],
.auth-field input[type=tel],
.auth-field input[type=number] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px;
  color: #0F172A !important;
  font-size: 14.5px;
  font-weight: 500;
  font-family: inherit;
  transition: all .2s;
}

.auth-input > i.bi + input,
.auth-input-wrap > i.bi + input,
.auth-input--inline > i.bi + input,
.auth-input-wrap > input,
.auth-input--has-icon > input,
.auth-input > input:not(:first-child) {
  padding-left: 44px !important;
}

.auth-input > input::placeholder,
input.auth-input::placeholder,
.auth-field input::placeholder {
  color: #94A3B8 !important;
}

.auth-input > input:hover,
input.auth-input:hover,
.auth-field input:hover,
.auth-field select:hover {
  border-color: #94A3B8 !important;
}

.auth-input > input:focus,
input.auth-input:focus,
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  background: #FFFFFF !important;
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

.auth-field select option {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

/* Phone input with country select */
.auth-input--phone {
  display: flex;
  gap: 8px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  height: auto;
}

.auth-input--phone > .auth-cc, .auth-cc {
  height: 48px;
  flex: 0 0 auto;
  width: 90px;
  padding: 0 24px 0 12px;
  text-align: left;
  background-color: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px;
  color: #0F172A !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
}

.auth-pwd-toggle, .auth-toggle-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.auth-row, .auth-row-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 16px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.auth-check, .auth-row-extra label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569 !important;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}
.auth-check input[type=checkbox], .auth-row-extra input[type=checkbox] {
  accent-color: #059669;
  width: 16px; height: 16px;
}
.auth-link, .auth-row-extra a {
  color: #059669 !important;
  text-decoration: none;
  font-weight: 700;
}
.auth-link:hover, .auth-row-extra a:hover {
  text-decoration: underline;
}

/* — Buttons — */
.auth-submit, .auth-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: #059669 !important;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;
  transition: all .2s;
  text-decoration: none;
}
.auth-submit:hover, .auth-btn:hover {
  background: #047857 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35) !important;
}

.auth-btn-outline {
  width: 100%; height: 46px;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px;
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; margin-top: 10px;
  transition: all .2s;
}
.auth-btn-outline:hover {
  background: #F8FAFC !important;
  border-color: #94A3B8 !important;
}

/* — Divider — */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

/* ═══ Stepper & Wizard ═══ */
.auth-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #F8FAFC !important;
  border-radius: 12px;
  border: 1px solid #E2E8F0 !important;
}
.auth-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .5;
}
.auth-step.is-active, .auth-step.is-done { opacity: 1; }
.auth-step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF !important;
  border: 2px solid #CBD5E1 !important;
  color: #64748B !important;
  font-weight: 800;
  font-size: 12px;
}
.auth-step.is-active .auth-step__num {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #FFFFFF !important;
}
.auth-step.is-done .auth-step__num {
  background: #0D9488 !important;
  border-color: #0D9488 !important;
  color: #FFFFFF !important;
}
.auth-step__label {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A !important;
}
.auth-step__line {
  flex: 1 1 12px;
  height: 2px;
  background: #E2E8F0;
}

.auth-pane__title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A !important;
}
.auth-pane__title i {
  background: #ECFDF5 !important;
  color: #059669 !important;
}

.auth-back {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #475569 !important;
}
.auth-back:hover {
  border-color: #059669 !important;
  color: #059669 !important;
}

/* ═══ BCV Widget (Login) ═══ */
.bcv-widget__inner {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
  color: #0F172A !important;
  padding: 14px 18px;
}
.bcv-label {
  color: #059669 !important;
  font-weight: 700;
}
.bcv-currency {
  color: #64748B !important;
}
.bcv-value {
  color: #0F172A !important;
  font-weight: 800;
}
.bcv-divider {
  color: #CBD5E1 !important;
}

/* ═══ Success Screen on Registration ═══ */
.auth-success {
  background: #ECFDF5 !important;
  border: 1.5px solid #A7F3D0 !important;
  border-radius: 16px;
  padding: 24px;
  color: #065F46 !important;
  margin-bottom: 20px;
}
.auth-success i {
  font-size: 36px;
  color: #059669;
}
.auth-success__creds {
  background: #FFFFFF !important;
  border: 1px solid #A7F3D0 !important;
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  color: #0F172A !important;
}

/* ═══ Footer ═══ */
.auth-footer {
  margin-top: auto;
  background: #0B132B !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 42px 24px 28px;
  color: #94A3B8;
  position: relative;
  z-index: 2;
}
.auth-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.auth-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.auth-footer-logo {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  display: block;
  filter: brightness(0) invert(1);
}
.auth-footer__brand-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}
.auth-footer__brand-info strong {
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 700;
}
.auth-footer__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8 !important;
  font-size: 13px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}
.auth-footer__links a:hover {
  color: #34D399 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  transform: translateY(-1px);
}
.auth-footer__bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #64748B;
}
.auth-footer__security {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.auth-footer__security span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .auth-aside { display: none; }
}
