/* --- login.css (Restaurado + Ícono Nuevo) --- */

/* Estilos Generales (Tus estilos originales) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1d5994;
    /* Tu fondo azul original */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-page {
    display: flex;
    width: 90%;
    max-width: 1000px;
    height: 600px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-image {
    flex: 1;
    background: url('../assets/num.jpg') no-repeat center center/cover;
    position: relative;
}

.image-overlay {
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.login-form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: #ffffff;
}

.login-container {
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 25px;
    color: #34495e;
    font-size: 2em;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    /* Borde simple original */
    border-radius: 5px;
    box-sizing: border-box;
    /* Importante para que no se salga */
    font-size: 1em;
}

button[type="submit"] {
    background-color: #1f5c9a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #16406b;
}

.error-message {
    color: #e74c3c;
    margin-top: 15px;
    font-weight: bold;
}

/* --- AQUÍ ESTÁ LO NUEVO: El Símbolo Llamativo --- */
.login-symbol {
    width: 80px;
    height: 80px;
    /* Degradado azul institucional para que resalte */
    background: linear-gradient(135deg, #1f5c9a 0%, #0d3c66 100%);
    border-radius: 50%;
    /* Círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    /* Centrado */

    /* Sombra azul suave para efecto 3D */
    box-shadow: 0 8px 20px rgba(31, 92, 154, 0.4);

    /* Borde blanco para separarlo limpio del fondo */
    border: 4px solid #fff;
    outline: 2px solid #1f5c9a;
    /* Un segundo borde fino azul */
}

.login-symbol i {
    font-size: 35px;
    color: #ffffff;
    /* Ícono blanco */
}

/* Responsividad Original */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
        height: auto;
    }

    .login-image {
        height: 200px;
        order: -1;
    }

    .login-form-container {
        padding: 30px;
    }
}