/* Basic reset for body, and universal styling */
body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 20px; /* Reduced padding */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Header styling */
.header {
  text-align: center; /* Center align text */
  width: 100%; /* Full width */
  margin-bottom: 20px; /* Space between the header and the form */
}

h1 {
  color: #51361e; /* Styling it to match your form's aesthetic */
  font-size: 24px; /* Appropriate size for a main title */
  font-weight: normal; /* Avoid overly bold font */
  margin-top: 0;
  margin-bottom: 10px; /* Space below the header */
}

/* Styling for containers (form and response message container) */
.container,
form {
  background-color: #ffffff;
  padding: 20px; /* Reduced padding */
  border-radius: 8px; /* Slightly less rounded corners */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  width: 100%;
  max-width: 400px; /* Reduced max-width for compact design */
}

/* Label styling */
label {
  display: block;
  margin-bottom: 5px; /* Reduced margin */
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

/* Input fields styling */
input[type="text"],
input[type="email"],
input[type="submit"],
input[type="checkbox"] {
  width: 100%;
  padding: 8px; /* Reduced padding */
  margin-bottom: 10px; /* Reduced margin */
  border: 1px solid #d9d9d9;
  border-radius: 4px; /* Slightly less rounded corners */
  font-size: 14px; /* Reduced font size for compactness */
}

/* Styling for submit button */
input[type="submit"] {
  background-color: #51361e;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px; /* Reduced padding */
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* Hover effect for submit button */
input[type="submit"]:hover {
  background-color: #3f2b17;
}

#submit:disabled {
  background-color: #cccccc; /* Light grey */
  color: #666666; /* Dark grey text */
  cursor: not-allowed; /* Show a not-allowed cursor */
}

/* Styling for checkbox, making it align with other elements */
input[type="checkbox"] {
  width: auto;
  margin-left: 0;
  margin-right: 5px; /* Reduced margin */
}

/* Styling for paragraph in response container */
p {
  font-size: 14px; /* Reduced font size */
  color: #555;
  line-height: 1.4; /* Reduced line height */
}

button {
  background-color: #a47348;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px; /* Reduced padding */
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: 10px; /* Reduced margin */
}

button:hover {
  background-color: #392613;
}

select {
  width: 100%;
  padding: 8px; /* Reduced padding */
  margin-bottom: 10px; /* Reduced margin */
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
}
