:root { 
    --cyan: #00e5ff; 
    --blue-dark: #0a192f;
    --red: #ff4b4b; 
}

body { 
    font-family: 'Mulish', sans-serif; 
    background: var(--blue-dark) url('../imagens_sistema/tela_login.png') no-repeat center center fixed; 
    background-size: cover; 
    margin: 0;
    padding: 15px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    min-height: 100vh; 
    overflow-y: auto; 
    box-sizing: border-box;
}

.login-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 30px 20px;
    margin-top: 25vh; 
    margin-bottom: auto;
}

.texto-boas-vindas h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 600; /* Levemente mais forte para a Mulish no fundo escuro */
    margin-bottom: 25px;
    text-shadow: none;
}

form { 
    width: 100%; 
    min-height: 180px;
}

/* Transições suaves entre passos */
.step-active { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    animation: fadeIn 0.4s ease; 
}

.step-hidden { 
    display: none; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Campos apenas com linha inferior */
.input-line-group {
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.input-line-group label { 
    display: block; 
    font-weight: 600;
    color: rgba(0, 229, 255, 0.8);
    font-size: 0.85rem; 
    margin-bottom: 8px; 
}

.input-line-group input {
    width: 100%;
    padding: 10px 5px;
    border: none;
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
    background: transparent;
    color: #fff;
    font-family: 'Mulish', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.input-line-group input:focus { 
    border-bottom: 2px solid var(--cyan); 
}

.user-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto 10px auto;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-entrar {
    background: linear-gradient(90deg, #005f73, #0a9396);
    color: #fff;
    border: 1px solid var(--cyan);
    padding: 15px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.15);
    width: 100%;
    letter-spacing: 0.5px;
}

.btn-entrar:active { 
    transform: translateY(2px); 
    box-shadow: none;
}

.btn-voltar-step {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.3s;
}

.btn-voltar-step:hover { 
    color: #fff; 
}

/* Novos textos de Termos e Suporte */
.termos-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.termos-texto {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    padding: 0 10px;
}

.suporte-link {
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    transition: color 0.3s;
}

.suporte-link:hover {
    color: #fff;
    filter: brightness(1.2);
}

.alert { 
    background: rgba(255, 75, 75, 0.2); 
    color: #ffb3b3; 
    padding: 12px; 
    border-radius: 12px; 
    margin-bottom: 20px; 
    font-weight: 800; 
    font-size: 0.85rem;
    border: 1px solid rgba(255, 75, 75, 0.5);
}