/*=====================================================
    OPTICSOFT
    REGISTRO.CSS
======================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    width:100%;
    height:100%;

    font-family:'Inter',sans-serif;

    background:#f4f8fc;

    overflow-x:hidden;

}

/*=========================
    FONDO
==========================*/

.background-shapes{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-1;

    background:linear-gradient(135deg,#eef6ff,#ffffff);

}

.shape{

    position:absolute;

    border-radius:50%;

    filter:blur(90px);

    opacity:.35;

}

.shape.one{

    width:420px;
    height:420px;

    background:#14d5c5;

    top:-150px;
    left:-120px;

}

.shape.two{

    width:350px;
    height:350px;

    background:#2d7ff9;

    right:-120px;
    top:120px;

}

.shape.three{

    width:300px;
    height:300px;

    background:#58d2ff;

    bottom:-100px;
    left:35%;

}

/*=========================
    CONTENEDOR
==========================*/

.container{

    width:100%;
    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:70px;

    padding:50px;

}

/*=========================
    PANEL IZQUIERDO
==========================*/

.left-panel{

    width:42%;

    color:#08356f;
    transform: translateY(-60px);

}

.left-panel .logo{

    width:250px;

    margin-bottom:35px;

}

.left-panel h1{

    font-size:50px;

    line-height:1.15;

    font-weight:800;

    margin-bottom:20px;

}

.left-panel p{

    color:#5f6b7a;

    font-size:18px;

    line-height:1.8;

    margin-bottom:35px;

}

/*=========================
    BENEFICIOS
==========================*/

.features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.feature{

    display:flex;

    align-items:center;

    gap:14px;

    padding:18px;

    border-radius:18px;

    background:#ffffff;

    box-shadow:0 12px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.feature:hover{

    transform:translateY(-6px);

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

.feature i{

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:15px;

    color:#fff;

    font-size:22px;

    background:linear-gradient(135deg,#18d8d8,#169cff);

}

.feature span{

    font-weight:700;

    color:#0b3970;

    font-size:16px;

}

/*=========================
    PANEL DERECHO
==========================*/

.right-panel{

    width:58%;

}

.card{

    background:#ffffff;

    border-radius:30px;

    padding:45px;

    box-shadow:0 20px 50px rgba(0,0,0,.10);

}

.card h2{

    font-size:38px;

    color:#0b3970;

    margin-bottom:10px;

}

.subtitle{

    color:#6b7280;

    margin-bottom:35px;

    font-size:16px;

}

/*=========================
    TITULOS
==========================*/

.section-title{

    margin-top:30px;

    margin-bottom:18px;

    font-size:20px;

    color:#0b3970;

    font-weight:700;

    border-left:5px solid #14d5c5;

    padding-left:12px;

}

/*=========================
    GRID
==========================*/

.grid-2{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}
/*=====================================================
    FORMULARIOS
======================================================*/

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:#334155;

}

.input-icon{

    position:relative;

}

.input-icon i:first-child{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#14b8c5;

    font-size:18px;

}

.input-icon input{

    width:100%;

    height:56px;

    padding:0 55px 0 52px;

    border:2px solid #e5e7eb;

    border-radius:14px;

    outline:none;

    background:#fff;

    font-size:15px;

    transition:.30s;

}

.input-icon input:focus{

    border-color:#14d5c5;

    box-shadow:0 0 0 4px rgba(20,213,197,.15);

}

.input-icon input::placeholder{

    color:#9ca3af;

}

/*=========================
    VER CONTRASEÑA
==========================*/

.toggle-password{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    color:#64748b;

    transition:.30s;

}

.toggle-password:hover{

    color:#14b8c5;

}

/*=========================
    SEGURIDAD CONTRASEÑA
==========================*/

.password-strength{

    margin-top:10px;

    margin-bottom:30px;

}

.strength-bar{

    width:100%;

    height:8px;

    border-radius:20px;

    background:#e5e7eb;

    overflow:hidden;

}

.strength-bar span{

    display:block;

    width:0;

    height:100%;

    background:linear-gradient(90deg,#ef4444,#f59e0b,#22c55e);

    transition:.4s;

}

.password-strength small{

    display:block;

    margin-top:8px;

    color:#64748b;

    font-size:13px;

}

/*=========================
    PLANES
==========================*/

.planes{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

    margin-top:15px;

    margin-bottom:30px;

}

.plan{

    cursor:pointer;

}

.plan input{

    display:none;

}

.plan div{

    border:2px solid #e5e7eb;

    border-radius:18px;

    padding:20px;

    background:#fff;

    text-align:center;

    transition:.30s;

}

.plan h4{

    color:#0b3970;

    margin-bottom:8px;

    font-size:18px;

}

.plan p{

    color:#6b7280;

    font-size:14px;

}

.plan:hover div{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(0,0,0,.10);

}

.plan input:checked + div{

    border-color:#14d5c5;

    background:#ecfffd;

    box-shadow:0 10px 30px rgba(20,213,197,.20);

}

/*=========================
    TERMINOS
==========================*/

.terminos{

    margin-bottom:30px;

    font-size:15px;

    color:#475569;

}

.terminos label{

    display:flex;

    align-items:flex-start;

    gap:10px;

    line-height:1.6;

}

.terminos input{

    margin-top:3px;

}

.terminos a{

    color:#0ea5e9;

    text-decoration:none;

    font-weight:600;

}

.terminos a:hover{

    text-decoration:underline;

}

/*=========================
    BOTON
==========================*/

.btn-registrar{

    width:100%;

    height:58px;

    border:none;

    border-radius:16px;

    background:linear-gradient(135deg,#14d5c5,#0891b2);

    color:#fff;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

}

.btn-registrar:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 35px rgba(20,213,197,.30);

}

/*=========================
    LOADER
==========================*/

.loader{

    display:none;

    margin-top:25px;

    text-align:center;

}

.spinner{

    width:42px;

    height:42px;

    margin:auto;

    border:4px solid #e5e7eb;

    border-top:4px solid #14d5c5;

    border-radius:50%;

    animation:girar .8s linear infinite;

}

.loader span{

    display:block;

    margin-top:12px;

    color:#0b3970;

    font-weight:600;

}

@keyframes girar{

    100%{

        transform:rotate(360deg);

    }

}
/*=====================================================
    LOGIN LINK
======================================================*/

.login-link{

    margin-top:30px;

    text-align:center;

    color:#64748b;

    font-size:15px;

}

.login-link a{

    color:#0891b2;

    text-decoration:none;

    font-weight:700;

    transition:.30s;

}

.login-link a:hover{

    color:#14d5c5;

    text-decoration:underline;

}

/*=====================================================
    ANIMACIONES
======================================================*/

.card{

    animation:fadeCard .8s ease;

}

.left-panel{

    animation:fadeLeft .8s ease forwards;

}

@keyframes fadeCard{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translate(-40px,-120px);

    }

    to{

        opacity:1;

        transform:translate(0,-120px);

    }

}

.feature{

    animation:subir .6s ease;

}

@keyframes subir{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*=====================================================
    SCROLL PERSONALIZADO
======================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

::-webkit-scrollbar-thumb{

    background:#14d5c5;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#0891b2;

}

/*=====================================================
    RESPONSIVE
======================================================*/

@media(max-width:1200px){

    .container{

        flex-direction:column;

        padding:30px;

        gap:40px;

    }

    .left-panel,
    .right-panel{

        width:100%;

    }

}

@media(max-width:992px){

    .grid-2{

        grid-template-columns:1fr;

    }

    .planes{

        grid-template-columns:1fr;

    }

    .features{

        grid-template-columns:1fr 1fr;

    }

    .left-panel{

        text-align:center;
        transform: none; /* CORREGIDO: Elimina el desplazamiento negativo en móviles para que no corte el título arriba */
        padding-top: 20px;

    }

    .left-panel .logo{

        margin:auto;
        margin-bottom:25px;

    }

}

@media(max-width:768px){

    .container{

        padding:20px;
        padding-top: 40px; /* CORREGIDO: Añade espacio superior para evitar que el contenido choque arriba */

    }

    .card{

        padding:30px 22px;

    }

    .left-panel h1{

        font-size:36px;

    }

    .left-panel p{

        font-size:16px;

    }

    .features{

        grid-template-columns:1fr;

    }

    .btn-registrar{

        font-size:16px;

    }

}

@media(max-width:480px){

    .card{

        border-radius:20px;

        padding:20px;

    }

    .card h2{

        font-size:28px;

    }

    .section-title{

        font-size:18px;

    }

    .input-icon input{

        height:52px;

        font-size:14px;

    }

    .btn-registrar{

        height:54px;

    }

}

/*=====================================================
    EFECTOS EXTRA
======================================================*/

.input-icon input:hover{

    border-color:#14d5c5;

}

.plan div{

    position:relative;

    overflow:hidden;

}

.plan div::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );

    transition:.7s;

}

.plan:hover div::before{

    left:100%;

}

.btn-registrar:active{

    transform:scale(.98);

}

.feature i{

    transition:.35s;

}

.feature:hover i{

    transform:rotate(10deg) scale(1.15);

}

.logo{

    user-select:none;

}

.logo img{

    max-width:100%;

    display:block;

}

/*=====================================================
    LOADER / SPINNER
======================================================*/
.loader {
    display: none; /* Oculto por defecto */
    margin-top: 25px;
    text-align: center;
}

.spinner {
    width: 42px;
    height: 42px;
    margin: auto;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #14d5c5;
    border-radius: 50%;
    animation: girar .8s linear infinite;
}

.loader span {
    display: block;
    margin-top: 12px;
    color: #0b3970;
    font-weight: 600;
    font-size: 15px;
}

@keyframes girar {
    100% {
        transform: rotate(360deg);
    }
}
/*=====================================================
    FIN DEL ARCHIVO
======================================================*/