/**
 * REGISTRATION - Login
 * ====================
 * Estilos específicos para la página de inicio de sesión
 */

/* === BODY Y BACKGROUND === */
body {
    background: url("/static/img/background.280564231b71.jpg") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* === CONTENEDOR PRINCIPAL === */
.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* === PANEL IZQUIERDO (INFORMACIÓN) === */
.login-left {
    background: #E31E24;
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-left h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.login-left p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

/* === PANEL DERECHO (FORMULARIO) === */
.login-right {
    padding: 60px 50px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 40px;
}

/* === FORMULARIO === */
.form-control {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #0066CC;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.input-group-text {
    background-color: transparent;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

/* === BOTÓN DE LOGIN === */
.btn-login {
    background: #E31E24;
    border: none;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    color: white;
    transition: transform 0.2s, background 0.3s;
    width: 100%;
}

.btn-login:hover {
    background: #C01A1F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.4);
}

/* === LOGO === */
.logo-inacap {
    font-size: 48px;
    margin-bottom: 20px;
}

/* === ALERTAS === */
.alert {
    border-radius: 10px;
    border: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .login-left {
        display: none;
    }
    
    .login-right {
        padding: 40px 30px;
    }
}
