/* Estilos compartidos de las pantallas de autenticación
   (login, recuperación de contraseña). Extraído de login-simple.php. */

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

        html, body {
            height: 100%;
            font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
        }

        .login-root {
            min-height: 100vh;
            display: flex;
            background: linear-gradient(140deg, #312e81 0%, #4f46e5 100%);
        }

        /* Panel izquierdo — decorativo, solo desktop */
        .login-left {
            flex: 1;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }
        @media (min-width: 900px) { .login-left { display: flex; } }

        .login-left-inner {
            text-align: center;
            color: #fff;
            z-index: 1;
        }
        .login-left-inner .big-icon {
            font-size: 6rem;
            opacity: .25;
            line-height: 1;
            margin-bottom: 1.5rem;
        }
        .login-left-inner h1 {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -.5px;
            margin-bottom: .5rem;
        }
        .login-left-inner p {
            font-size: .95rem;
            opacity: .75;
            max-width: 320px;
            line-height: 1.6;
        }
        /* Círculos decorativos */
        .deco-circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255,255,255,.06);
        }
        .deco-circle.c1 { width: 400px; height: 400px; top: -100px; left: -100px; }
        .deco-circle.c2 { width: 250px; height: 250px; bottom: -60px; right: -60px; }
        .deco-circle.c3 { width: 150px; height: 150px; bottom: 100px; left: 40px; }

        /* Panel derecho — formulario */
        .login-right {
            width: 100%;
            max-width: 460px;
            background: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 3rem 2.5rem;
            min-height: 100vh;
        }
        @media (max-width: 899px) {
            .login-right { max-width: 100%; }
        }

        .login-logo {
            width: 56px; height: 56px;
            border-radius: 14px;
            background: linear-gradient(140deg, #4f46e5, #312e81);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 1.25rem;
            box-shadow: 0 4px 16px rgba(28,100,242,.35);
        }
        .login-logo i { color: #fff; font-size: 1.6rem; }

        .login-right h1 {
            font-size: 1.5rem; font-weight: 800;
            letter-spacing: -.4px; color: #111827;
            margin-bottom: .25rem;
        }
        .login-right .subtitle {
            font-size: .8rem; color: #9ca3af;
            margin-bottom: 2rem;
        }

        .login-form { width: 100%; }

        .form-label {
            font-size: .78rem; font-weight: 600;
            color: #374151; margin-bottom: .3rem;
        }
        .input-group-text {
            background: #fff; border-right: none;
            color: #9ca3af;
        }
        .form-control {
            border-left: none;
            font-size: .85rem;
            padding: .55rem .75rem;
        }
        .form-control:focus { box-shadow: 0 0 0 3px #e0e7ff; border-color: #6366f1; }
        .input-group:focus-within .input-group-text {
            border-color: #6366f1;
        }
        .input-group { border-radius: 8px; overflow: hidden; }
        .input-group .input-group-text,
        .input-group .form-control { border-radius: 0; }

        .btn-login {
            background: linear-gradient(140deg, #4f46e5, #3730a3);
            border: none; color: #fff;
            font-weight: 700; font-size: .88rem;
            padding: .65rem 1rem;
            border-radius: 8px;
            width: 100%;
            transition: opacity .15s, transform .1s;
        }
        .btn-login:hover { opacity: .92; color: #fff; }
        .btn-login:active { transform: scale(.99); }

        .lang-bar { margin-top: 2rem; font-size: .78rem; }
        .lang-bar a {
            color: #6b7280; text-decoration: none;
            padding: .25rem .5rem; border-radius: 4px;
            transition: background .12s;
        }
        .lang-bar a:hover { background: #f3f4f6; color: #111; }

        .footer-note {
            margin-top: 2.5rem;
            font-size: .72rem;
            color: #d1d5db;
            text-align: center;
        }
