/* Reset e Estilo Global */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    text-align: center;
    color: white;
    margin: 0;
    padding: 0;
}

/* Container do formulário */
.container {
    width: 50%;
    margin: 100px auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Título */
h2 {
    color: #333;
    margin-bottom: 20px;
}

/* Estilização dos campos */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin: 5px 0;
}

input, select {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Botão de cadastro */
button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: white;
    background: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover {
    background: #218838;
}

/* Mensagens de erro e sucesso */
.success {
    color: green;
    font-weight: bold;
}

.error {
    color: red;
    font-weight: bold;
}

/* Botão voltar */
.back-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.back-btn:hover {
    background: #0056b3;
}
