body {
            min-height: 100vh;
            margin: 0;
            padding: 0;
            /* background: linear-gradient(135deg, #142850 80%, #27496d 100%); */
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-image 1s ease-in-out;
        }
        .login-card {
            background: rgba(255,255,255,0.75);
            border-radius: 18px;
            box-shadow: 0 6px 32px rgba(20,40,80,0.18);
            padding: 40px 36px 32px 36px;
            max-width: 350px;
            width: 100%;
            text-align: center;
            backdrop-filter: blur(8px);
        }
        .login-card h2 {
            color: #142850;
            margin-bottom: 24px;
            font-size: 2rem;
            font-weight: 700;
        }
        .login-card label {
            display: block;
            color: #27496d;
            font-weight: 500;
            margin-bottom: 6px;
            text-align: left;
        }
        .login-card input[type="text"],
        .login-card input[type="password"] {
            width: 100%;
            padding: 10px 12px;
            margin-bottom: 18px;
            border: 1px solid #b0bed9;
            border-radius: 7px;
            font-size: 1rem;
            background: #f4f6fa;
            color: #142850;
        }
        .login-card button {
            width: 100%;
            background: #142850;
            color: #fff;
            border: none;
            border-radius: 7px;
            padding: 12px 0;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            margin-top: 8px;
        }
        .login-card button:hover {
            background: #27496d;
        }
        .login-card .error {
            color: #d32f2f;
            margin-bottom: 16px;
            padding: 12px;
            border-radius: 8px;
            background: rgba(211, 47, 47, 0.1);
            border: 1px solid rgba(211, 47, 47, 0.3);
            font-weight: 500;
        }
        .login-card .error.blocked {
            color: #ef6c00;
            background: rgba(239, 108, 0, 0.1);
            border: 1px solid rgba(239, 108, 0, 0.3);
        }
        .login-card .error.warning {
            color: #f57c00;
            background: rgba(245, 124, 0, 0.1);
            border: 1px solid rgba(245, 124, 0, 0.3);
        }
        
        /* Estilos para el campo de contraseña con ojito */
        .password-container {
            position: relative !important;
            display: block !important;
            width: 100% !important;
            margin-bottom: 0 !important;
        }
        
        .password-container input[type="password"],
        .password-container input[type="text"] {
            width: 100% !important;
            padding: 10px 40px 10px 12px !important;
            margin-bottom: 18px !important;
            border: 1px solid #b0bed9 !important;
            border-radius: 7px !important;
            font-size: 1rem !important;
            background: #f4f6fa !important;
            color: #142850 !important;
            box-sizing: border-box !important;
        }
        
        .toggle-password {
            position: absolute !important;
            right: 15px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            cursor: pointer !important;
            color: #999 !important;
            font-size: 16px !important;
            z-index: 100 !important;
            user-select: none !important;
            line-height: 1 !important;
            pointer-events: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            border: none !important;
            background: none !important;
            outline: none !important;
        }
        
        .toggle-password:hover {
            color: #142850 !important;
        }
