/* ===================================================================
   ARQUIVO: css/pages/login.css
   DESCRIÇÃO: Design Glassmorphism (PC) + Clean Nativo (Mobile)
   =================================================================== */

/* --- LAYOUT GERAL --- */
.main-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* --- VERSÃO PC (COM A CAIXA DE VIDRO) --- */
.login-box {
    /* Efeito Vidro */
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Bordas e Sombras */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    
    /* Espaçamento */
    padding: 50px 40px;
    width: 100%;
    max-width: 400px;
    
    text-align: center;
    position: relative;
    z-index: 2;
}

/* --- CABEÇALHO --- */
.login-header { margin-bottom: 40px; }
.login-header img { width: 90px; margin-bottom: 15px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
.login-header h2 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.login-header p { color: rgba(255, 255, 255, 0.7); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; }

/* --- INPUTS --- */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label {
    font-size: 10px; color: rgba(255,255,255,0.6); margin-bottom: 5px;
    display: block; text-transform: uppercase; font-weight: 700;
}

/* Estilo dos campos */
.login-box .input-game {
    background: transparent !important; /* Sem fundo preto */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borda fina */
    color: #fff; height: 50px; border-radius: 8px; padding-left: 15px; transition: 0.3s;
}
.login-box .input-game:focus {
    border-color: var(--primary); background: rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 0 15px rgba(178, 209, 58, 0.1);
}
.login-box .input-game::placeholder { color: rgba(255, 255, 255, 0.4); }

.password-wrapper { position: relative; width: 100%; }
.password-wrapper input { width: 100%; padding-right: 45px; }
.show-pass {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6); cursor: pointer; transition: 0.3s; font-size: 18px; z-index: 10;
}
.show-pass:hover { color: var(--primary); }

/* --- BOTÃO ENTRAR --- */
button[type="submit"] {
    margin-top: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 900; letter-spacing: 1px; height: 50px; border-radius: 8px;
}
button[type="submit"]:hover, button[type="submit"]:active {
    background: var(--primary); color: #000; box-shadow: 0 0 20px rgba(178, 209, 58, 0.4);
}

/* --- RODAPÉ --- */
.auth-links { margin-top: 30px; font-size: 13px; }
.auth-links p { margin-bottom: 8px; color: rgba(255,255,255,0.6); }
.auth-links a { color: #fff; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.5); }
.auth-links a:hover { color: var(--primary); border-color: var(--primary); }


/* ===================================================================
   VERSÃO MOBILE (SEM CAIXA)
   =================================================================== */
@media (max-width: 991px) {
    .main-content-wrapper {
        padding: 30px;
        /* Alinha o conteúdo um pouco mais para baixo para não ficar no topo */
        justify-content: center; 
    }
    
    .login-box {
        /* MÁGICA: Removemos tudo que faz parecer uma caixa */
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        
        width: 100%;
        max-width: 100%;
    }

    /* Ajustes para leitura no mobile sem o fundo escuro da caixa */
    .login-header h2 { font-size: 24px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
    .login-header p { text-shadow: 0 2px 5px rgba(0,0,0,0.8); color: #ddd; }
    
    /* Inputs com fundo um pouquinho mais escuro para garantir contraste com o vídeo */
    .login-box .input-game {
        background: rgba(0, 0, 0, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.4);
    }
    
    /* Botão preenchido no mobile para chamar mais atenção */
    button[type="submit"] {
        background: var(--primary);
        color: #000;
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    }
}