/* ===== PÁGINA DE REGISTRO ===== */

/* Contenedor de login con hero y formulario lado a lado */
.login-container {
    display: flex;
    align-items: stretch;
    gap: 30px;
    max-width: 1400px;
    margin: 80px auto;
    padding: 60px 40px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.login-container .hero-section {
    flex: 1;
    margin-bottom: 0;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(2,6,23,0.15);
}

.login-container .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.1) 0%, rgba(59,130,246,0.05) 100%);
    z-index: 1;
}

.login-container .hero-section h1,
.login-container .hero-section p {
    position: relative;
    z-index: 2;
}

/* Contenedor de la sección de formulario */
.form-section {
    flex: 1;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Caja principal del formulario de registro */
.registro-form {
    width: 100%;
    padding: 50px 40px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(2,6,23,0.12);
    border: 1px solid rgba(255,255,255,0.8);
}

/* Título de la sección de registro */
.form-section h1 {
    text-align: left;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Párrafo descriptivo de la sección */
.form-section > p {
    text-align: left;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Estilos para los campos del formulario de registro */
.form-group { 
    margin-bottom: 22px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 10px; 
    color: #1e293b; 
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder {
    color: #cbd5e1;
}

/* Efecto focus en campos */
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.form-group input:hover:not(:focus) {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

/* Checkbox especial */
.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    cursor: pointer;
    accent-color: #2563eb;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.form-group.checkbox a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.form-group.checkbox a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Botón de envío del formulario de registro */
.btn-submit { 
    width: 100%; 
    padding: 16px 18px; 
    border-radius: 12px; 
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); 
    color: #fff; 
    border: none; 
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.btn-submit:hover { 
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37,99,235,0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Enlace a login */
.login-link {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.login-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Ajustes responsivos */

@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
        gap: 20px;
        margin: 40px auto;
    }

    .login-container .hero-section {
        min-height: 350px;
    }

    .registro-form {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 40px 16px;
        margin: 30px 0;
        border-radius: 15px;
    }

    .form-section h1 {
        font-size: 28px;
    }

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

@media (max-width: 560px) {
    .login-container {
        padding: 30px 12px;
        margin: 20px 0;
        gap: 20px;
    }

    .form-section h1 {
        font-size: 24px;
    }

    .form-section > p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .registro-form {
        padding: 24px 16px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .btn-submit {
        padding: 14px 16px;
        font-size: 15px;
    }
}
