
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


html, body {
    height: 100%;
    overscroll-behavior-y: none; /* Tira o efeito "solto/mola" ao puxar a tela */
    background-color: #020408; /* Cobre os buracos com a cor do fundo */
}


.login-body {
    background: radial-gradient(circle at center, #0a1122 0%, #020408 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%; 
    color: #e0e5ec;
}


.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.login-container {
    background-color: #0b111e;
    border: 1px solid #1a2642; 
    border-radius: 12px;
    padding: 0 0 30px 0; 
    box-shadow: 0 15px 35px rgba(0, 85, 255, 0.15); 
    width: 100%;
    overflow: hidden; 
}


.login-banner {
    width: 100%;
    margin-bottom: 25px;
    border-bottom: 2px solid #0055ff; 
}

.login-banner img {
    width: 100%;
    display: block;
    object-fit: cover;
}


#loginForm, .link-cadastro {
    padding: 0 25px; 
}


.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #8fa0be;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 14px;
    background-color: #050810;
    border: 1px solid #1a2642;
    color: #ffffff;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}


.input-group input:focus {
    border-color: #0073ff;
    box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.2);
}


.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0073ff 0%, #0036ab 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 115, 255, 0.4);
}

.btn-login:hover {
    background: linear-gradient(135deg, #1a82ff 0%, #0045d6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 255, 0.6);
}

.btn-login:active {
    transform: translateY(1px);
}


@media (max-width: 768px) {
    .login-body {
        padding: 15px;
    }

    .login-container {
        padding: 0 0 25px 0;
    }

    /* Ajusta o espaço lateral no celular */
    #loginForm, .link-cadastro, .alerta-customizado, .alerta-bloqueio {
        padding-left: 20px;
        padding-right: 20px;
    }
}



.alerta-bloqueio {
    background: linear-gradient(145deg, #2a0808, #1a0505);
    border-left: 4px solid #d32f2f;
    color: #ffcccc;
    padding: 15px 20px;
    margin: 0 25px 20px 25px; /* Alinhado ao form */
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
    display: none;
    animation: tremer 0.4s ease-in-out;
}

.alerta-bloqueio strong {
    color: #ff5252;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

@keyframes tremer {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-6px); }
}

.alerta-customizado {
    background: rgba(245, 124, 0, 0.12);
    border: 1px solid #f57c00;
    border-left: 4px solid #f57c00;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 0 25px 18px 25px; /* Alinhado ao form */
    animation: surgindoSuave 0.4s ease-out;
}

.alerta-conteudo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alerta-icone {
    font-size: 18px;
    flex-shrink: 0;
}

#texto-alerta {
    color: #ffcc80;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

@keyframes surgindoSuave {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}


input, textarea, select {
    font-size: 16px !important;
}