    /* Estilos para la página de autenticación (login/register) */
    .info-message {
        position: fixed;
        top: 45px;
        left: 0;
        right: 0;
        padding: 1rem 1.5rem;
        margin: 0 auto;
        border-radius: 5px;
        font-size: 1.05rem;
        font-weight: bold;
        max-width: 500px;
        text-align: center;
        box-shadow: 0 4px 15px black;
        letter-spacing: 0.5px;
        z-index: 1000;
        background: #1e1e1e;
        color: white;
        z-index: 1002;
    }

    .info-message-OK {
        background: #27ae60;
    }

    .info-message-error {
        background: #a42322;
    }

    .info-message-warning {
        background: #ffd54f;
    }

    /* CONTENEDOR PRINCIPAL (más cuadrado, menos Apple) */
    .auth-wrapper {
        position: relative;
        z-index: 1;

        width: 90%;
        max-width: 500px;
        padding: 28px 24px 32px;

        background: #1e1e1e;
        border-radius: 5px; /* menos redondeado */

        box-shadow: 0 8px 28px rgba(0,0,0,0.7);

        transform: translateY(50px);
        margin-top: 55px;
    }

    .title {
        text-align: center;
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }
    .auth-wrapper p {
        margin-bottom: 2rem;
        font-size: 16px;
        text-align: center;
        color: #ccc;
    }

    /* INTERRUPTOR DESLIZANTE (estilo web moderno, no Apple) */
    .switch-container {
        position: relative;
        width: 100%;
        height: 42px;
        background: #2a2a2a;
        border-radius: 5px;
        display: flex;
        align-items: center;
        padding: 3px;
        margin-bottom: 24px;
    }

    .switch-btn {
        flex: 1;
        text-align: center;
        z-index: 2;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        font-weight: 500;
    }

    /* Botón deslizante */
    .switch-slider {
        position: absolute;
        width: 50%;
        height: 100%;
        background: #d62828; /* rojo moderno */
        border-radius: 5px;
        transition: transform 0.25s ease;
    }

    /* FORMULARIOS */
    .formAuth {
        display: none;
    }

    .formAuth.active {
        display: block;
    }

    .field {
        margin-bottom: 16px;
    }

    .field label {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 6px;
        display: block;
        font-weight: 500;
    }

    .field input {
        width: 100%;
        padding: 11px 12px;
        border-radius: 5px;
        border: none;
        background: #2a2a2a;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        outline: none;
    }

    .field input::placeholder {
        color: rgba(255,255,255,0.6);
    }

    .field input:focus {
        border-color: #d62828;
    }

    .btn {
        width: 100%;
        padding: 12px;
        border-radius: 5px;
        border: none;
        background: #d62828;
        font-size: 18px;
        font-weight: bold;
        font-weight: 600;
        cursor: pointer;
        margin-top: 6px;
        color: #fff;
        letter-spacing: 0.3px;
    }

    .btn:hover {
        background: #b71f1f;
    }

    @media (max-width: 900px) {
        .info-message {
            width: 90%;
        }
    }