
/* ==========================================
   COMBOS EKSEL
   REGISTRO PROFESIONAL DE CLIENTES
   AZUL - BLANCO - ROJO
========================================== */

/* PAGINA PRINCIPAL */

.registro-pagina {
    padding-top: 55px;
    padding-bottom: 85px;
}

/* DISTRIBUCION */

.registro-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(7, 59, 131, 0.10);
}

/* PANEL DE PRESENTACION */

.registro-presentacion {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 55px 45px;
    background: linear-gradient(
        145deg,
        #073b83 0%,
        #1259aa 65%,
        #0a3670 100%
    );
    color: #ffffff;
}

.registro-presentacion::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -150px;
    right: -150px;
    border: 45px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.registro-presentacion::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    bottom: -130px;
    left: -100px;
    background: rgba(229, 43, 57, 0.18);
    border-radius: 50%;
    pointer-events: none;
}

.registro-presentacion-contenido {
    position: relative;
    z-index: 1;
    width: 100%;
}

.registro-marca {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 30px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.registro-icono-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 40px 0 25px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    font-size: 50px;
}

.registro-presentacion h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 37px);
    font-weight: 900;
    line-height: 1.25;
}

.registro-presentacion-contenido > p {
    margin: 0;
    color: #e0ecff;
    font-size: 14px;
    line-height: 1.9;
}

/* BENEFICIOS */

.registro-beneficios {
    display: grid;
    gap: 17px;
    margin-top: 35px;
}

.registro-beneficio {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.registro-beneficio > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 50%;
    color: #073b83;
    font-size: 13px;
    font-weight: 900;
}

.registro-beneficio p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.7;
}

.registro-presentacion-nota {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 40px;
    padding: 17px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 12px;
}

.registro-presentacion-nota > span {
    font-size: 22px;
}

.registro-presentacion-nota p {
    margin: 0;
    color: #e0ecff;
    font-size: 12px;
    line-height: 1.7;
}

/* PANEL DEL FORMULARIO */

.registro-formulario-panel {
    min-width: 0;
    padding: 45px 48px;
}

.registro-formulario-encabezado {
    margin-bottom: 30px;
}

.registro-formulario-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: #eaf2ff;
    border-radius: 15px;
    font-size: 29px;
}

.registro-formulario-etiqueta {
    display: block;
    margin-bottom: 9px;
    color: #e52b39;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.registro-formulario-encabezado h2 {
    margin: 0 0 12px;
    color: #073b83;
    font-size: 29px;
    font-weight: 900;
}

.registro-formulario-encabezado p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

/* FORMULARIO */

.registro-formulario {
    display: grid;
    gap: 21px;
}

.registro-campo {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.registro-campo label {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}

.registro-obligatorio {
    color: #e52b39;
    font-weight: 900;
}

.registro-campo input,
.registro-campo select,
.registro-campo textarea {
    width: 100%;
    min-height: 49px;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.registro-campo input:focus,
.registro-campo select:focus,
.registro-campo textarea:focus {
    border-color: #1259aa;
    box-shadow: 0 0 0 4px rgba(18, 89, 170, 0.12);
}

.registro-campo input::placeholder {
    color: #94a3b8;
}

/* AYUDA DE DJANGO */

.registro-ayuda {
    color: #64748b;
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.registro-ayuda ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.registro-ayuda li {
    margin-bottom: 5px;
}

.registro-ayuda p {
    margin: 0;
}

/* ERRORES */

.registro-error-general {
    padding: 14px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.7;
}

.registro-error-general p {
    margin: 0;
}

.registro-error-general p + p {
    margin-top: 8px;
}

.registro-error {
    margin: 0;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.6;
}

/* BOTON CREAR CUENTA */

.registro-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 51px;
    margin-top: 7px;
    padding: 13px 20px;
    background: #073b83;
    border: 1px solid #073b83;
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.registro-boton:hover {
    background: #e52b39;
    border-color: #e52b39;
    transform: translateY(-2px);
}

.registro-aviso {
    margin: -5px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

/* INICIAR SESION */

.registro-login {
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.registro-login p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 13px;
}

.registro-login a {
    color: #073b83;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.registro-login a:hover {
    color: #e52b39;
    text-decoration: underline;
}

.registro-volver {
    margin-top: 24px;
    text-align: center;
}

.registro-volver a {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.registro-volver a:hover {
    color: #073b83;
}

/* TABLETS */

@media (max-width: 900px) {

    .registro-layout {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .registro-presentacion {
        padding: 35px 28px;
    }

    .registro-formulario-panel {
        padding: 35px 28px;
    }

    .registro-presentacion h1 {
        font-size: 28px;
    }
}

/* CELULARES */

@media (max-width: 650px) {

    .registro-pagina {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    .registro-layout {
        grid-template-columns: 1fr;
        border-radius: 15px;
    }

    .registro-presentacion {
        padding: 30px 24px;
    }

    .registro-icono-principal {
        width: 65px;
        height: 65px;
        margin: 20px 0 17px;
        border-radius: 16px;
        font-size: 34px;
    }

    .registro-presentacion h1 {
        font-size: 27px;
    }

    .registro-presentacion-contenido > p {
        font-size: 13px;
    }

    .registro-beneficios {
        gap: 11px;
        margin-top: 22px;
    }

    .registro-beneficio p {
        font-size: 12px;
    }

    .registro-presentacion-nota {
        margin-top: 25px;
    }

    .registro-formulario-panel {
        padding: 32px 23px;
    }

    .registro-formulario-encabezado h2 {
        font-size: 26px;
    }

    .registro-campo input,
    .registro-campo select,
    .registro-campo textarea {
        font-size: 16px;
    }
}

/* ACCESIBILIDAD */

.registro-boton:focus-visible,
.registro-login a:focus-visible,
.registro-volver a:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .registro-boton,
    .registro-campo input,
    .registro-campo select,
    .registro-campo textarea {
        transition: none;
    }
}
