:root {
    --primary: #0066cc;          /* Azul principal del logo – fuerte pero no eléctrico */
    --primary-dark: #004c99;     /* Versión más oscura para hover/active */
    --primary-light: #3399ff;    /* Para hover suave o detalles */
    
    --accent: #00aaff;           /* Azul más claro/vivo para highlights si quieres */
    
    --text: #1e293b;             /* Gris oscuro casi negro – mejor legibilidad */
    --text-light: #64748b;       /* Gris medio */
    --bg: #f8f9fa;               /* Fondo muy claro – casi blanco */
    --white: #ffffff;
    
    --shadow: 0 10px 25px -5px rgba(0, 102, 204, 0.12), 0 4px 10px -5px rgba(0, 0, 0, 0.04);
    
    --metallic: #e2e8f0;         /* Para simular el plateado de las pesas si agregas bordes */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    background: var(--white);
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    text-align: center;
}

/* ── Estilos del logo como IMAGEN ── */
.logo-img {
    display: block;
    width: 180px;                  /* tamaño base - ajústalo a tu gusto */
    height: 180px;                 /* ← importante: misma altura que ancho para que sea círculo perfecto */
    max-width: 100%;
    object-fit: contain;           /* mantiene proporciones sin distorsionar */
    margin: 0 auto 1.8rem auto;    /* centrado + espacio abajo */
    border-radius: 50%;            /* ← esto hace que sea circular */
    overflow: hidden;              /* asegura que el contenido no se salga del círculo */
    background-color: #0066cc;     /* opcional: fondo sutil si la imagen tiene bordes transparentes */
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.25)); /* sombra suave opcional */
}

/* Estilos del formulario */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

input {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
}

.contact {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* ── Checkbox "Recordar" ── */
.remember-group {
    text-align: left;
    margin: 1.5rem 0;
}

.remember-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 0.95rem;
    user-select: none;
}

.remember-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: var(--primary); /* color del check */
    cursor: pointer;
}

.remember-label span {
    flex: 1;
}

/* ── Media Queries ── */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .logo-img {
        width: 150px;
        height: 150px;             /* ← mantener proporción 1:1 */
        margin-bottom: 1.5rem;
    }

    .remember-group {
        margin: 1.2rem 0;
    }

    .remember-label {
        font-size: 0.93rem;
    }
}