/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

/* Fundo */
body {
    background-image: url(imagem/smartfit-academias.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 10px;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    z-index: -1;
}

/* Títulos */
h2 {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

/* Container padrão para QUALQUER formulário */
.container,
form {
    background: #ffffff;
    border-radius: 20px;
    width: 400px;
    max-width: 95%;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Labels */
label {
    font-weight: 500;
    color: #333;
}

/* Inputs e selects */
input,
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: 0.2s;
}

input:focus,
select:focus {
    border-color: #2e86de;
}

/* Botão */
button {
    width: 100%;
    padding: 12px;
    background-color: #2e86de;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    margin-top: 10px;
    transition: 0.3s;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 600px) {
    form, .container {
        width: 100%;
    }
}