  :root {
            --login-primary: #526f83;
            --login-primary-hover: #3f596b;
            --login-text: #263746;
            --login-muted: #71808c;
            --login-border: #dce3e8;
            --login-background: #f2f5f7;
            --login-white: #ffffff;
        }

        * {
            box-sizing: border-box;
        }

        html,
        body {
            min-height: 100%;
            margin: 0;
        }

        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 28px 16px;
            background:
                radial-gradient(
                    circle at top left,
                    #e4edf2 0,
                    transparent 42%
                ),
                var(--login-background);
            color: var(--login-text);
            font-family: Arial, Helvetica, sans-serif;
        }

        .login-pagina {
            width: 100%;
            max-width: 440px;
            margin: auto;
        }

        /* CABECERA */

        .login-cabecera {
            margin-bottom: 24px;
            text-align: center;
        }

        .login-logo {
            display: inline-flex;
            width: 360px;
            height: 89px;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            border-radius: 3px;
            background: var(--login-primary);
            color: #fff;
            font-size: 25px;
            font-weight: 800;
            letter-spacing: -2px;
            box-shadow: none;
        }

        .login-marca {
            margin: 0;
            color: var(--login-text);
            font-size: 27px;
            font-weight: 800;
            letter-spacing: 2px;
        }

        .login-submarca {
            margin: 8px 0 0;
            color: var(--login-muted);
            font-size: 13px;
            letter-spacing: .3px;
        }

        /* TARJETA */

        .login-tarjeta {
            padding: 34px;
            border: 1px solid rgba(220, 227, 232, .9);
            border-radius: 15px;
            background: var(--login-white);
            box-shadow: 0 16px 45px rgba(38, 55, 70, .08);
        }

        .login-titulo {
            margin: 0;
            font-size: 23px;
            font-weight: 700;
            letter-spacing: -.4px;
        }

        .login-descripcion {
            margin: 9px 0 27px;
            color: var(--login-muted);
            font-size: 13px;
            line-height: 1.6;
        }

        /* CAMPOS */

        .login-campo {
            margin-bottom: 19px;
        }

        .login-etiqueta {
            display: block;
            margin-bottom: 8px;
            color: #354957;
            font-size: 12px;
            font-weight: 700;
        }

        .login-input {
            display: block;
            width: 100%;
            height: 47px;
            padding: 0 13px;
            border: 1px solid var(--login-border);
            border-radius: 7px;
            outline: none;
            background: #fff;
            color: var(--login-text);
            font-family: inherit;
            font-size: 14px;
            transition:
                border-color .2s ease,
                box-shadow .2s ease;
        }

        .login-input::placeholder {
            color: #a0abb3;
        }

        .login-input:focus {
            border-color: var(--login-primary);
            box-shadow: 0 0 0 3px rgba(82, 111, 131, .12);
        }

        /* OPCIONES */

        .login-opciones {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin: 4px 0 24px;
            font-size: 12px;
        }

        .login-recordar {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: var(--login-muted);
            cursor: pointer;
        }

        .login-recordar input {
            width: 15px;
            height: 15px;
            margin: 0;
            accent-color: var(--login-primary);
        }

        .login-enlace {
            color: var(--login-primary);
            font-weight: 600;
            text-decoration: none;
        }

        .login-enlace:hover {
            color: var(--login-primary-hover);
            text-decoration: underline;
        }

        /* BOTÓN */

        .login-boton {
            display: flex;
            width: 100%;
            min-height: 48px;
            align-items: center;
            justify-content: center;
            padding: 12px 18px;
            border: 0;
            border-radius: 7px;
            background: var(--login-primary);
            color: #fff;
            cursor: pointer;
            font-family: inherit;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: .2px;
            transition:
                background .2s ease,
                transform .2s ease,
                box-shadow .2s ease;
        }

        .login-boton:hover {
            background: var(--login-primary-hover);
            box-shadow: 0 5px 14px rgba(63, 89, 107, .18);
        }

        .login-boton:active {
            transform: translateY(1px);
        }

        .login-boton:focus-visible {
            outline: 3px solid rgba(82, 111, 131, .3);
            outline-offset: 3px;
        }

        /* MENSAJE OPCIONAL DE ERROR PHP */

        .login-error {
            margin-bottom: 19px;
            padding: 12px 14px;
            border: 1px solid #f0cccc;
            border-radius: 7px;
            background: #fff5f5;
            color: #a52e35;
            font-size: 12px;
            line-height: 1.5;
        }

        /* PIE DE PÁGINA */

        .login-pie {
            margin-top: 24px;
            color: #89959e;
            font-size: 11px;
            line-height: 1.7;
            text-align: center;
        }

        .login-pie strong {
            color: #667783;
            font-weight: 700;
        }

        .login-seguridad {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 12px;
            color: #71808c;
            font-size: 11px;
        }

        .login-seguridad svg {
            width: 14px;
            height: 14px;
        }

        /* MÓVILES */

        @media (max-width: 480px) {
            body {
                padding: 20px 14px;
            }

            .login-cabecera {
                margin-bottom: 20px;
            }

            .login-logo {
                width: 58px;
                height: 58px;
                border-radius: 15px;
                font-size: 22px;
            }

            .login-marca {
                font-size: 24px;
            }

            .login-tarjeta {
                padding: 25px 21px;
                border-radius: 12px;
            }

            .login-titulo {
                font-size: 21px;
            }

            .login-opciones {
                align-items: flex-start;
                flex-wrap: wrap;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                transition: none !important;
            }
        }
