:root {
    --primary-color: #0056b3;
    --accent-color: #007bff;
}

body {
    /* Fondo con overlay oscuro para resaltar la tarjeta blanca */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('img/fondo_login.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    /* CENTRADO TOTAL */
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    
    font-family: 'Source Sans Pro', sans-serif;
}

.container {
    width: 100%;
}

.auth-card {
    border: none;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    /* Ajuste de sombra para dar profundidad */
    box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-container img {
    max-width: 180px; /* Tamaño controlado del logo CodePe */
}

.form-control {
    border-right: none;
    height: 45px;
}

.input-group-text {
    background-color: #fff;
    border-left: none;
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #003d7a;
    transform: translateY(-1px);
}

.btn-outline-primary-custom {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.help-box {
    background-color: #f8f9fa;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .image-column { display: none; }
    .auth-card { margin: 10px; }
}