:root {
    --primary-color: #223659;
    --accent-color: #ea7517;
    --text-color: #515365;
    --bg-light: #ffffff;
    --bg-dark: #223659;
    --input-bg: #f8f9fa;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.contenedor-login {
    width: 100%;
    height: 100vh;
}

.contenido-login {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Lado Izquierdo - Formulario */
.contenido-izq {
    flex: 1;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 12px;
    background: white;
    /* subtle shadow for "premium" feel */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.subtitle-login {
    font-size: 0.95rem;
    color: #888da8;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

.form-login-estilos {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.estilos-inputs-login {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    background-color: var(--input-bg);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    color: var(--text-color);
}

.estilos-inputs-login:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 54, 89, 0.1);
    background-color: #fff;
}

.btn-login-contenedor {
    margin-top: 2rem;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background-color: #2c446e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 54, 89, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* Lado Derecho - Logo/Branding */
.contenido-der {
    flex: 1.2;
    background: linear-gradient(135deg, #223659 0%, #122240 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Add a subtle pattern or overlay to the dark side */
.contenido-der::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.logo-container {
    z-index: 10;
    text-align: center;
}

.logo-container img {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: transform 0.5s ease;
}

.logo-container:hover img {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contenido-der {
        display: none;
    }
    .contenido-izq {
        width: 100%;
    }
}

.alert-danger {
    margin-top: 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
}
