body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(to right, #f0f0f0, #e0e0e0);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    margin: 0;
    color: #333;

}

form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px; /* Mantém o formulário legível e centrado */
}

h1, h3, p {
    text-align: center;
}

h1 {
    color: #d25e0b; /* Cor profissional */
    margin-bottom: 5px;
}

h3 {
    color: #d25e0b; /* Cor profissional */
    margin-bottom: 5px;
}

/* Estilização dos Blocos (Fieldsets) */
fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    padding: 0 10px;
    color: #555;
}

/* Inputs e Seleções */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"],
select,
textarea {
    width: 100%; /* Faz com que ocupem a largura total do fieldset */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Garante que o padding não aumente a largura */
}

/* Checkboxes e Radios (para não ficarem gigantes) */
input[type="checkbox"], 
input[type="radio"] {
    margin-right: 5px;
    cursor: pointer;
}

button.submit {
  background-color: #d25e0b; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 6px;
}
button.reset {
  background-color: #d25e0b; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 6px;
}
button.submit:hover {
  background-color: #ff6a00; /* Green */
}
button.reset:hover {
  background-color: #ff6a00; /* Green */
}
button.submit:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
button.reset:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

img {
    display: block;
    margin: 0 auto;
}