@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

    /* 🔥 Fuente global para todo */
    * {
        font-family: 'Audiowide', sans-serif !important;
    }

    body {
        margin: 0;
        background-image: url(https://nt-neontech.shop/img/fondo.jpg?v=22);
        background-size: cover;
        background-position: center;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* ESTA ES LA CLAVE PARA QUE SE VEA IGUAL */
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(5px); /* efecto limpio */
        z-index: -1;
    }

    .glass-box {
        width: 380px;
        padding: 69px 35px;
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(18px);
        border-radius: 20px;
        border: 1px solid #00ff0a;
        position: relative;
        color: #fff;
    }

    .glass-box {
        position: relative;
        z-index: 10000;
    }

    .title-tab {
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 255, 8, 0.795);
        padding: 10px 28px;
        font-size: 18px;
        font-weight: 500;
        color: #333;

        /* ESTA ES LA PARTE QUE FALTABA  */
        border-radius: 12px 12px 25px 25px; 
        border: 1px solid rgba(255,255,255,0.35);

        /* SUAVIZA MÁS EL EFECTO */
        box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    }

    .input-box {
        width: auto;
        background: #ffffff26;
        border-radius: 50px;
        padding: 12px 20px;
        margin: 15px 0;
        display: flex;
        align-items: center;
        border: 1px solid #00ff0a;
    }

    .input-box input {
        width: 100%;
        border: none;
        background: transparent;
        outline: none;
        font-size: 14px;
        color: #00ff0a;
    }

    .input-box i {
        margin-left: 10px;
        font-size: 16px;
        opacity: 0.8;
        color: #00ff0a;
    }

    input[type="checkbox" i] {
        background-color: initial;
        cursor: default;
        appearance: auto;
        box-sizing: border-box;
        margin: 3px 3px 3px 4px;
        padding: initial;
        border: initial;
    }

    .input-box input::placeholder {
        color: #ffffff; /* blanco suave, por ejemplo */
        opacity: 1;
    }

    .options {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        margin-top: 5px;
        color: #ffffff;
    }

    .options span {
        cursor: pointer;
        color: #ffffff;
        opacity: 0.9;
    }

    .btn-login {
        width: 100%;
        padding: 12px;
        background: #00ff0a;
        border-radius: 50px;
        border: none;
        color: #333;
        font-size: 15px;
        margin: 18px 0;
        cursor: pointer;
        transition: 0.2s;
        font-weight: 500;
    }

    .btn-login:hover {
        background: #8bf58e;
    }

    .bottom-text {
        text-align: center;
        font-size: 14px;
        opacity: 0.8;
    }

    .bottom-text span {
        cursor: pointer;
        color: #00ff0a;
        opacity: 0.9;
    }

    .auth-alert {
        margin-top: 10px;
        margin-bottom: 15px;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 13px;
    }

        .auth-alert.error {
        background: rgba(255, 0, 0, 0.18);
        border: 1px solid rgba(255, 0, 0, 0.5);
        color: #ffb3b3;
    }

        .auth-alert.success {
        background: rgba(0, 255, 8, 0.18);
        border: 1px solid rgba(0, 255, 8, 0.6);
        color: #c5ffc7;
    }

        .bottom-text a {
        text-decoration: none;
    }

    /* Checkbox Recuérdame */
    .options {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        margin-top: 5px;
        color: #ffffff;
        align-items: center;
    }

    .options a {
        text-decoration: none !important;
        color: #ffffff;
        opacity: 0.9;
    }

    .options a:hover {
        opacity: 1;
    }
    .remember-label {
        display: flex;
        align-items: center;
        gap: 3px;
        cursor: pointer;
    }

    /* Quitamos el estilo feo por defecto y creamos uno custom */
    .remember-label input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 4px;
        border: 1px solid #00ff0a;
        background: transparent;
        position: relative;
        display: inline-block;
    }

    .remember-label input[type="checkbox"]:checked {
        background: #00ff0a;
    }

    .remember-label input[type="checkbox"]:checked::after {
        content: "✔";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -56%);
        font-size: 11px;
        color: #333;
    }

    /* Que el texto de la derecha no se vea apagado */
    .remember-label span {
        color: #ffffff;
        opacity: 0.9;
    }

    /* Icono de ojo clickeable */
    .toggle-password {
        cursor: pointer;
    }
    /* ================================
        🛠️ PANEL OVERLAY TIPO MARIO METAL
        ================================ */

        .panel-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;

            /** 🔥 Esto evita que los paneles toquen el borde **/
            padding: 20px;

            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(4, 1fr);

            /** 🔥 Espacio entre paneles **/
            gap: 20px;

            box-sizing: border-box;
            z-index: 1;
            pointer-events: none;
        }

        /* 🟥 Panel metálico */
        .panel {
            position: relative;
            border-radius: 15px;
            /** background: rgba(200, 200, 200, 0.1);**/
            /**🔥 Borde metálico **/
            border: 1px solid #00ff0a;

            /** 🔥 Brillo y sombra interna **/
            box-shadow:
                inset 0 0 10px rgba(0,0,0,0.6),
                inset 0 0 3px #ffffff4d,
                0 0 12px rgba(0, 0, 0, 0.4);
        }


        .panel-1 {
            background: rgba(92, 23, 252, 0.349);
            border: 1px solid #2e0d7c59;
        }
        .panel-2 {
            background: rgba(23, 252, 202, 0.349);
            border: 1px solid #096b5659;
        }
        .panel-3 {
            background: #1741fc59;
            border: 1px solid #09185a59;
        }
        .panel-4 {
            background: #fcf81759;
            border: 1px solid #4b4a0759;
        }
        .panel-5 {
            background: #fc581759;
            border: 1px solid #531d0759;
        }
        .panel-6 {
            background: #17fc2d59;
            border: 1px solid #09741459;
        }
        .panel-7 {
            background: #fd003759;
            border: 1px solid #63011659;
        }
        .panel-8 {
            background: #fc17e759;
            border: 1px solid #47064159;
        }



        /* Distribución estilo Mario */
        .panel-1 { grid-column: 1 / 3; grid-row: 1; }
        .panel-2 { grid-column: 3;     grid-row: 1; }

        .panel-3 { grid-column: 1;     grid-row: 2 / 4; }
        .panel-4 { grid-column: 2 / 4; grid-row: 2; }

        .panel-5 { grid-column: 2;     grid-row: 3; }
        .panel-6 { grid-column: 3;     grid-row: 3; }

        .panel-7 { grid-column: 1 / 3; grid-row: 4; }
        .panel-8 { grid-column: 3;     grid-row: 4; }

    /* ========================
    🔩 TORNILLOS REALISTAS
    ======================== */

    .scr {
        position: absolute;
        width: 18px;
        height: 18px;
        background: radial-gradient(circle, #e0e0e0, #00ff08a9 45%, #7a7a7a 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 10px;
        font-weight: bold;
        color: rgba(0,0,0,0.65);

        box-shadow:
            inset 0 0 4px rgba(0,0,0,0.7),
            0 0 2px rgba(255,255,255,0.3);

        user-select: none;
    }

    /* Posiciones exactas */
    .s1 { top: 6px; left: 6px; }
    .s2 { top: 6px; right: 6px; }
    .s3 { bottom: 6px; left: 6px; }
    .s4 { bottom: 6px; right: 6px; }


    @media (max-width: 780px) {
        .glass-box {
            width: 83%;
            padding: 50px 20px;
            display: flex;
            flex-direction: column;
        }
        
        .title-tab {
            font-size: 16px;
            padding: 8px 20px;
        }

        .input-box {
            padding: 10px 15px;
        }
        
    }