* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --background-color: #f4f7f6;
    --form-background: #ffffff;
    --text-color: #333;
    --label-color: #555;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --font-family: 'Poppins', sans-serif;
}


main {
    height: 96.2vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

main::before {
    content: ''; /* Pseudo-elementos precisam de um 'content' */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../imagens/fundo_tela.jpg) no-repeat center center;
    background-size: cover;
    z-index: -1; /* Coloca o pseudo-elemento atrás do conteúdo do main */
    opacity: 0.95; /* Valor de 0 (transparente) a 1 (opaco) */
}

form {
    height: 400px;
    width: 430px;
    background-color: var(--form-background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

label {
    margin-bottom: 0.5rem; 
    font-weight: 700;
    color: var(--label-color);
}

input[type="password"],
input[type="text"],
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="password"]:focus,
input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

#enviar {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* --- NOVO AJUSTE --- */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #ccc;
    font-size: 0.9rem;
}