@font-face {
   font-family: 'Roboto';
   src: url("/static/fonts/ROBOTO/Roboto-Regular.ttf") format('truetype');
   font-weight: 400;
   font-style: normal;
}
@font-face {
   font-family: 'Roboto';
   src: url("/static/fonts/ROBOTO/Roboto-Medium.ttf") format('truetype');
   font-weight: 500;
   font-style: normal;
}
@font-face {
   font-family: 'Roboto';
   src: url("/static/fonts/ROBOTO/Roboto Bold.ttf") format('truetype');
   font-weight: 700;
}
@font-face {
   font-family: 'Roboto';
   src: url("/static/fonts/ROBOTO/Roboto-Black.ttf") format('truetype');
   font-weight: 900;
   font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
}

:root{
  --color-primario:#017cf5; /* azul claro */
  --color-secundario:#060748; /* azul OSCURO */
  --bg-dark:#050d37; /* fondo oscuro similar a la imagen */
  --accent-color:#ff6b6b;
}

body{
   background:var(--color-primario);
   font-family: 'ITCAvantGardePro-Md', Arial, sans-serif;
}



input {
  background-color: #e8f0fd !important;
  border-radius: 0px!important;
}
input::placeholder{
  font-size:14px;
}
.error{
   color: #dc3545;
}
.auth-card{
  max-width:1100px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.6);
  max-height: 640px;
}

.left-pane{
  padding:50px 50px;
  background:#fff;
}
.left-pane2{
  padding:30px 50px;
  background:#fff;
}
.brand{
  height:48px;
  margin-bottom:18px;
}

.left-pane h2{font-weight:700; margin-bottom:2rem;}

.form-control::placeholder{opacity:.7,}


.right-pane{
  min-height:420px;
  background-size:cover;
  background-position:center;
  position:relative;
}

/* overlay azul suave para que el blanco del texto se vea bien */
.right-pane::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(6,78,255,0.18), rgba(0,200,255,0.22));
  mix-blend-mode:overlay;
}

/* en pantallas pequeñas apilar (imagen debajo) */
@media (max-width:767.98px){
  .right-pane{min-height:260px}
}

/* pequeños ajustes visuales */
.small-note{font-size:.9rem; color:#6b7280}
.logo{
   width: 250px;
   height: 100%;
}
/* Color del check en Bootstrap */
.form-check-input:checked {
  background-color: white;   /* fondo blanco */
  border-color: black;       /* borde negro */
}

.form-check-input:checked[type=checkbox] {
   
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='black' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8.4 8.4a1 1 0 0 1-1.4 0l-4.2-4.2a1 1 0 0 1 1.4-1.4l3.5 3.5 7.7-7.7a1 1 0 0 1 1.4 0z'/%3e%3c/svg%3e");  
}
/*ESTILOS PLANES*/
.plan-logo-img{
  width: 50px;
}
/*BOTONES*/
.btn{
   line-height: 1;
}
/*azul normal*/
.btn-primary{
  background:var(--color-primario);
  border:none;
  color:#fff;
  font-weight:600;
  padding:12px 10px 10px 10px;
  border-radius:28px;
}
.btn-toggle{
   border: none;
   background: transparent;
   /*color: #  222;*/
   font-weight: 600;
   font-size: 1.1rem;
   border-radius: 32px;
   padding: 6px 32px;
   cursor: pointer;
   transition: background 0.2s, color 0.2s;
   width: 200px;
}
.btn-toggle.active, .btn-toggle:hover {
   background: #00e0c6;
   color: #fff;
}
.google-btn{
  border-radius:28px;
  background:#d9d9d9;
  color:#222;
}
.plan-btn:hover {
   transform: translateY(-2px);
}

.fs-14, .error{
   font-size: 14px;
}
/*azul fuerte*/
.btn-secondary{
  background:var(--color-secundario);
  border:none;
  color:#fff;
  font-weight:600;
  padding:12px 10px 10px 10px;
  border-radius:28px;
}

.btn-black{
  background:#000;
  border:none;
  color:#fff;
  font-weight:600;
  padding:12px 10px 10px 10px;
  border-radius:28px;
}

.contenedor-scroll {
  /*max-height: 500px;*/
  height: 90vh;
  overflow-y: auto;    /* scroll vertical solo si hace falta */
  overflow-x: hidden;  /* evita scroll horizontal */
}


.table > :not(caption) > * > * {
  padding: 0.2rem .5rem!important;
}
.top-70{
  top:70%!important;
}

/* Fondo general atractivo */
.login-world-bg {
    background-color: #c8deff;
    background-image:
        radial-gradient(ellipse at 10% 30%, rgba(1, 124, 245, 0.30) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 70%, rgba(6, 7, 72, 0.20) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 10%, rgba(0, 198, 255, 0.18) 0%, transparent 45%);
}

/* Tarjeta dos columnas */
.auth-card {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: min(600px, 90vh);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(1, 124, 245, 0.15),
        0 40px 80px rgba(0, 0, 0, 0.28);
}

/* Columna izquierda — imagen */
.auth-image-pane {
    flex: 1;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    overflow: hidden;
}

/* Blob decorativo superior izquierdo */
.auth-image-pane::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 124, 245, 0.10) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

/* Blob decorativo inferior derecho */
.auth-image-pane::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.10) 0%, transparent 70%);
    bottom: -70px;
    right: -70px;
    pointer-events: none;
}

.auth-image-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.auth-illustration {
    width: 100%;
    max-width: 340px;
    object-fit: contain;
}

.auth-image-tagline {
    color: #7a8fa8;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin: 0;
}

/* Columna derecha — formulario */
.auth-form-pane {
    flex: 0 0 400px;
    background: #fff;
    display: flex;
    align-items: center;
}

/* ── Tablet (< 992px) ── */
@media (max-width: 991.98px) {
    .auth-card {
        max-width: 680px;
    }
    .auth-form-pane {
        flex: 0 0 360px;
    }
    .auth-card-wide {
        max-width: 100%;
    }
    .plan-chips-row {
        flex-wrap: wrap;
    }
    .plan-chip {
        min-width: calc(50% - 6px);
        flex: 1 1 calc(50% - 6px);
    }
    .pago-card-header {
        flex-wrap: wrap;
        gap: 6px;
    }
    .plan-summary-inline {
        width: 100%;
        font-size: 0.8rem;
    }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767.98px) {
    body.login-world-bg {
        align-items: flex-start;
    }
    .auth-card {
        flex-direction: column;
        max-width: 100%;
        min-height: unset;
        border-radius: 20px;
        margin: 0 4px;
    }
    .auth-form-pane {
        flex: 1 1 auto;
        width: 100%;
    }
    /* Login: card centrada verticalmente si hay espacio */
    .min-vh-100.d-flex {
        align-items: flex-start;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    /* Divider centrado en mobile */
    .auth-divider {
        margin: 0 auto 0 0;
    }
    /* Logo más pequeño */
    .auth-form-logo {
        max-height: 38px;
    }
    /* Reducir padding del formulario */
    .auth-form-pane > div {
        padding: 1.5rem 1.25rem !important;
    }
    /* h2 más compacto */
    h2 {
        font-size: 1.3rem !important;
    }
    .auth-card-wide {
        border-radius: 20px;
        max-width: 100%;
    }
    .auth-card-wide > div {
        padding: 1.25rem !important;
    }
    /* Header paso 2 en mobile */
    .auth-card-wide .d-flex.align-items-center.justify-content-between {
        flex-wrap: wrap;
        gap: 10px;
    }
    /* Chips en mobile: uno por fila */
    .plan-chips-row {
        flex-direction: column;
        gap: 8px;
    }
    .plan-chip {
        min-width: 100%;
        flex: 1 1 100%;
    }
    /* Ocultar desc en chips mobile para compactar */
    .plan-chip-desc { display: none; }
    /* Pago card */
    .pago-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .plan-summary-inline {
        font-size: 0.8rem;
    }
    /* Grid de pago: todo en una columna */
    .pago-card form .col-4,
    .pago-card form .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    /* Íconos de tarjetas */
    .fab.fa-cc-visa,
    .fab.fa-cc-mastercard,
    .fab.fa-cc-amex {
        font-size: 1.4rem;
    }
    /* Trial notice */
    .trial-notice {
        flex-direction: column;
        gap: 8px;
    }
    .trial-notice-icon {
        align-self: flex-start;
    }
    /* Indicador pasos */
    .register-steps {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* ── Extra small (< 480px) ── */
@media (max-width: 479.98px) {
    .auth-card-wide > div {
        padding: 1rem !important;
    }
    h2 {
        font-size: 1.25rem !important;
    }
    .auth-form-logo {
        max-height: 36px;
    }
    .plan-chip-price b {
        font-size: 1rem;
    }
    .btn-login {
        font-size: 0.9rem;
        padding: 11px;
    }
}

/* Inputs */
input {
    background-color: #f4f7fb !important;
    border-radius: 0 !important;
    transition: background-color 0.2s, border-color 0.2s;
}

input:focus {
    background-color: #fff !important;
}

.input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(1, 124, 245, 0.15);
}

.input-group-text {
    border-radius: 12px 0 0 12px !important;
    border-color: #e3e8f0;
    background-color: #f4f7fb !important;
    color: #8fa3bf;
    padding: 0 14px;
    transition: background-color 0.2s, color 0.2s;
}

.input-group:focus-within .input-group-text {
    background-color: #fff !important;
    color: #017cf5;
}

.form-control {
    border-radius: 0 12px 12px 0 !important;
    border-color: #e3e8f0;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #1a2235;
}

.form-control:focus {
    box-shadow: none;
    border-color: #e3e8f0;
    outline: none;
}

/* Botón ojo mostrar/ocultar contraseña */
.toggle-password {
    background-color: #f4f7fb !important;
    border: 1px solid #e3e8f0 !important;
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
    color: #8fa3bf;
    padding: 0 12px;
    box-shadow: none !important;
    transition: color 0.2s;
}
.toggle-password:hover {
    color: #0d6efd;
    background-color: #f4f7fb !important;
}
.input-group:focus-within .toggle-password {
    background-color: #fff !important;
}

/* Labels */
.form-label {
    color: #3d4f6a;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Botón login — mismo border-radius que página principal (10px) */
.btn-login {
    background-color: #0d6efd;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.97rem;
    letter-spacing: 0.02em;
    padding: 12px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(0, 123, 255, 0);
}

.btn-login:hover {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.6);
    transform: scale(1.03);
}

.btn-login:active {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

/* Tipografía */
h2 {
    color: #0d1b2e;
    letter-spacing: -0.5px;
    font-size: 1.5rem !important;
}

.text-muted {
    color: #7a8fa8 !important;
    font-size: 0.88rem;
}

/* Link olvidé contraseña */
a.text-muted {
    transition: color 0.2s;
}
a.text-muted:hover {
    color: #017cf5 !important;
}

/* Link registrarse */
a.text-primary {
    color: #017cf5 !important;
    transition: color 0.2s;
}
a.text-primary:hover {
    color: #0056cc !important;
}

/* ── Panel imagen con identidad de marca ── */
.auth-image-branded {
    background: linear-gradient(160deg, #017cf5 0%, #040847 100%) !important;
}
.auth-image-branded::before,
.auth-image-branded::after { display: none; }

.reg-brand-logo {
    max-height: 40px;
    filter: brightness(0) invert(1);
}
.reg-illustration {
    width: 100%;
    max-width: 300px;
    object-fit: contain;
    border-radius: 16px;
}
.reg-tagline {
    color: rgba(255,255,255,0.90);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    letter-spacing: 0.02em;
}
.reg-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.reg-benefits li {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}
.reg-benefits li i {
    color: #00e5b0;
    font-size: 0.9rem;
}

/* ── Chips de plan ── */
.plan-chips-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.plan-chip {
    flex: 1;
    min-width: 180px;
    border: 2px solid #e3e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    position: relative;
    background: #fff;
}
.plan-chip:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.10);
    transform: translateY(-2px);
}
.plan-chip.plan-chip-selected {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
    background: #f0f6ff;
}
.plan-chip.plan-chip-popular {
    border-color: #060748;
}
.plan-chip.plan-chip-selected.plan-chip-popular {
    border-color: #060748;
    box-shadow: 0 0 0 3px rgba(6,7,72,0.12);
    background: #f0f0f8;
}
.plan-chip-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #060748;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.plan-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.plan-chip-icon img { width: 28px; height: 28px; object-fit: contain; }
.plan-chip-blue  { background: #e8f2ff; }
.plan-chip-dark  { background: #eae9f5; }
.plan-chip-black { background: #e8e8e8; }

.plan-chip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.plan-chip-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0d1b2e;
    line-height: 1.2;
}
.plan-chip-desc {
    font-size: 0.72rem;
    color: #7a8fa8;
}
.plan-chip-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d6efd;
    white-space: nowrap;
    text-align: right;
}
.plan-chip-price b { font-size: 1.2rem; }
.plan-chip-price small { font-size: 0.65rem; color: #7a8fa8; font-weight: 400; }

.plan-chip-check {
    color: #e3e8f0;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.plan-chip.plan-chip-selected .plan-chip-check { color: #0d6efd; }
.plan-chip.plan-chip-selected.plan-chip-popular .plan-chip-check { color: #060748; }

/* ── Contenedor general con scroll en mobile ── */
@media (max-width: 767.98px) {
    .d-flex.align-items-center.justify-content-center.min-vh-100 {
        align-items: flex-start !important;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* ── Card de pago ── */
.pago-card {
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    overflow: hidden;
}
.pago-card-header {
    background: linear-gradient(90deg, #0d6efd, #0056cc);
    color: #fff;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.plan-summary-inline {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
}
.plan-summary-inline strong { color: #fff; }
.plan-summary-inline .text-primary { color: #a8d4ff !important; }

/* ── Registro: tarjeta paso 2 (ancha) ── */
.auth-card-wide {
    width: 100%;
    max-width: 1100px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}

/* ── Indicador de pasos ── */
.register-steps {
    display: flex;
    align-items: center;
    gap: 0;
}
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e3e8f0;
    color: #8fa3bf;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-dot.step-active {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13,110,253,0.15);
}
.step-dot.step-done {
    background: #198754;
    color: #fff;
}
.step-line {
    width: 48px;
    height: 3px;
    background: #e3e8f0;
    border-radius: 2px;
}
.step-line.step-line-done {
    background: #198754;
}

/* ── Tarjetas de plan (radio style) ── */
.plan-radio-card {
    border: 2px solid #e3e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
    position: relative;
}
.plan-radio-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
}
.plan-radio-card.plan-selected {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}
.plan-radio-card.plan-popular {
    border-color: #060748;
}
.plan-popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #060748;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}
.plan-radio-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}
.plan-header-blue  { background: linear-gradient(90deg, #e8f2ff, #f4f7fb); }
.plan-header-dark  { background: linear-gradient(90deg, #eae9f5, #f4f4f8); }
.plan-header-black { background: linear-gradient(90deg, #e8e8e8, #f4f4f4); }

.plan-mini-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.plan-radio-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0d1b2e;
    line-height: 1.2;
}
.plan-radio-desc {
    font-size: 0.75rem;
    color: #7a8fa8;
}
.plan-radio-price {
    font-size: 1rem;
    color: #0d6efd;
    font-weight: 600;
}
.plan-radio-price b {
    font-size: 1.4rem;
}
.plan-radio-price span {
    font-size: 0.75rem;
    color: #7a8fa8;
    font-weight: 400;
}
.plan-radio-features {
    list-style: none;
    margin: 0;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plan-radio-features li {
    font-size: 0.8rem;
    color: #3d4f6a;
}
.plan-radio-features i {
    color: #0d6efd;
    font-size: 0.75rem;
}

/* ── Barra resumen plan seleccionado ── */
.plan-summary-bar {
    background: #f4f7fb;
    border: 1px solid #e3e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #3d4f6a;
}

/* ── Barra total de pago ── */
.payment-total-bar {
    background: #f4f7fb;
    border: 1px solid #e3e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
}

/* ── Errores de pago ── */
.input-error {
    display: none;
    color: #dc3545;
    font-size: 0.78rem;
    margin-top: 4px;
}

/* ── Aviso periodo de prueba ── */
.trial-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: #166534;
}
.trial-notice-icon {
    font-size: 1.4rem;
    color: #16a34a;
    margin-top: 2px;
    flex-shrink: 0;
}
.trial-notice strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 2px;
    color: #15803d;
}
.trial-notice p {
    color: #166534;
    font-size: 0.82rem;
    line-height: 1.4;
}

/* ── Barra de fortaleza de contraseña ── */
.pwd-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pwd-bar-track {
    flex: 1;
    height: 5px;
    background: #e3e8f0;
    border-radius: 4px;
    overflow: hidden;
}
.pwd-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}
.pwd-weak   { background-color: #dc3545; }
.pwd-medium { background-color: #fd7e14; }
.pwd-strong { background-color: #198754; }
.pwd-bar-label {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 44px;
}

/* Logo en el formulario */
.auth-form-logo {
    max-height: 48px;
}

/* Divisor decorativo — alineado a la izquierda */
.auth-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #017cf5, #00c6ff);
    border-radius: 2px;
    margin: 0 0 0 0;
}