/*!
*
* Template: Dashboard Template
* Author: Jorge Paez.design
* Design and Developed by: Jorge Paez.design
* NOTE: Style Master Page - Version 2027.
*
*/
:root {
    --primary-blue: #1b4965; /* Tono azul profundo del logo */
    --bg-light: #f4f7f6;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #e2e8f0 0%, #cbd5e1 100%);
}

.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    zoom: 80%;
}

/* Contenedor del Logo Circular */
.logo-wrapper {
    width: 140px;
    height: 140px;
    margin: -90px auto 20px auto; /* Elevado para estilo moderno */
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.logo-circular {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover; /* Asegura que la imagen llene el círculo */
    border: 2px solid #e2e8f0;
}

h2 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

p.info {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
    position: relative; /* Necesario para posicionar el ojo */
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-sizing: border-box;
    background: #f8fafc;
    transition: 0.3s;
}

    input:focus {
        outline: none;
        border-color: var(--primary-blue);
        background: white;
        box-shadow: 0 0 0 4px rgba(27, 73, 101, 0.1);
    }

/* Estilo del botón del ojo */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    font-size: 1.2rem;
    user-select: none;
    transition: color 0.3s;
}

    .toggle-password:hover {
        color: var(--primary-blue);
    }

/* ------------------------------------ */

.btn-access {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}

    .btn-access:hover {
        background: #13344a;
        transform: translateY(-2px);
    }

.footer-text {
    margin-top: 25px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.error-message {
    background-color: #fee2e2; /* Rojo muy suave */
    color: #dc2626; /* Rojo elegante */
    padding: 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    border: 1px solid #fecaca;
    animation: shake 0.4s ease-in-out; /* Efecto de vibración para captar atención */
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}