* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f0f2f5;
            padding: 24px;
        }

        .contenedor-principal {
            display: flex;
            flex-direction: column;
            background: #ffffff;
            border-radius: 28px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
            width: 640px;
            max-width: 100%;
            overflow: hidden;
        }

        /* ===== BANNER SUPERIOR - IMAGEN COMPLETA ===== */
        .banner-superior {
            width: 100%;
            display: block;
        }

        .banner-superior img {
            width: 100%;
            height: auto;   
            display: block; 
        }

        /* ===== ZONA DEL FORMULARIO ===== */
        .zona-formulario {
            padding: 40px 48px 44px;
            display: flex;
            flex-direction: column;
        }

        .zona-formulario h1 {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 4px;
            text-align: center;
        }

        .zona-formulario p.subtitulo {
            color: #888;
            font-size: 14px;
            margin-bottom: 26px;
            text-align: center;
        }

        /* ===== FORMULARIO ===== */
        form {
            width: 100%;
        }

        .grupo-input {
            margin-bottom: 14px;
        }

        .grupo-input input[type="email"],
        .grupo-input input[type="password"] {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e8ecf1;
            border-radius: 12px;
            font-size: 15px;
            background: #f8fafc;
            transition: all 0.3s ease;
            outline: none;
            color: #1a1a2e;
        }

        .grupo-input input:focus {
            border-color: #093eb6;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(9, 62, 182, 0.10);
        }

        /* ===== CONTENEDOR DE CONTRASEÑA CON OJO ===== */
        .password-wrapper {
            position: relative;
            width: 100%;
        }

        .password-wrapper input {
            width: 100%;
            padding: 14px 48px 14px 16px;
            border: 2px solid #e8ecf1;
            border-radius: 12px;
            font-size: 15px;
            background: #f8fafc;
            transition: all 0.3s ease;
            outline: none;
            color: #1a1a2e;
        }

        .password-wrapper input:focus {
            border-color: #093eb6;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(9, 62, 182, 0.10);
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 18px;
            color: #b0b8c4;
            padding: 6px;
            transition: color 0.3s ease;
            z-index: 2;
        }

        .toggle-password:hover {
            color: #093eb6;
        }

        .toggle-password:focus {
            outline: none;
        }

        .toggle-password.hidden {
            display: none;
        }

        /* ===== BOTÓN INGRESAR ===== */
        .btn-login {
            width: 100%;
            padding: 14px;
            background: #093eb6;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 8px;
        }

        .btn-login:hover {
            background: #062b7e;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(9, 62, 182, 0.35);
        }

        .btn-login:active {
            transform: scale(0.98);
        }

        .mensaje-error {
            color: #dc3545;
            font-size: 13px;
            margin-bottom: 14px;
            text-align: center;
            background: #fff0f0;
            padding: 10px;
            border-radius: 10px;
            border: 1px solid #fcc;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 480px) {
            .zona-formulario {
                padding: 30px 24px 34px;
            }

            .zona-formulario h1 {
                font-size: 24px;
            }

            .btn-login {
                font-size: 15px;
                padding: 13px;
            }
        }