/* css/login.css */

/* ================= ESTILOS BASE ================= */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #202124;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

h2 {
    color: #003366; /* Azul Institucional Oscuro */
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 24px;
}

p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* ================= INPUTS ================= */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 16px;
}

input {
    width: 100%;
    padding: 12px 15px 12px 45px; /* Espacio para el icono */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fafafa;
}

input:focus {
    border-color: #00509E;
    box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.1);
    background-color: #fff;
}

/* ================= BOTONES ================= */
.btn-login {
    background-color: #003366;
    color: white;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 50px; /* Estilo redondeado */
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,51,102, 0.3);
}

.btn-login:hover {
    background-color: #004080;
    transform: translateY(-2px);
}

.btn-login:active {
    transform: scale(0.98);
}
/* Botón Ojo */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #00509E;
}
/* Enlaces secundarios (Volver, Olvidé pass) */
.secondary-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.secondary-link:hover {
    color: #00509E;
    text-decoration: underline;
}

.footer {
    margin-top: 30px;
    color: #888;
    font-size: 13px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
    body { padding: 15px; }
    .container { padding: 30px 20px; }
    input { font-size: 16px; padding-top: 14px; padding-bottom: 14px; }
}