/* 1. Limpa todas as margens e paddings que o navegador cria por padrão */
* {
    margin: 0 !important;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 2. Força o HTML e o BODY a ocuparem exatamente 100% da tela */
html, body {
    width: 100% !important;
    height: 100vh !important; /* Troque min-height por height para travar a altura */
    background-color: #4281e8;
    color: #ffffff;
}

/* 3. O CSS abaixo move o bloco INTEIRO para o centro exato da tela */
body {
    display: flex !important;
    flex-direction: column !important; 
    justify-content: center !important; /* Centraliza na vertical (topo/baixo) */
    align-items: center !important;     /* Centraliza na horizontal (esquerda/direita) */
}

/* 4. Garante que o container fique bem no meio */
.container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto !important; /* Margem automática força o alinhamento central */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Card do Formulário */
.card {
    background-color: transparent; 
    box-shadow: none;
    padding: 0;                    
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
}

label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

input {
    background-color: #41434f;
    border: 2px solid #29292e;
    border-radius: 4px;
    color: #ffffff;
    padding: 12px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #00b37e; 
}

button {
    background-color: #00b37e;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    padding: 14px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #00875f;
}

hr {
    border: 0;
    border-top: 1px solid #29292e;
    margin: 24px 0;
    width: 100%;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.links a {
    color: #8257e5;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.2s;
}

.links a:hover {
    color: #9466ff;
    text-decoration: underline;
}
