body {
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.form-container {
  max-width: 600px; /* Increased width of the form */
  margin: 50px auto;
  padding: 30px; /* Increased padding */
  background-color: #ffffff; /* White background for contrast */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

h2,
h3 {
  color: #333; /* Darker text for headings */
}

label {
  margin-top: 15px; /* Spacing above labels */
  display: block; /* Ensure labels are block elements */
  color: #555; /* Slightly lighter color for labels */
}

input[type="text"],
input[type="email"],
input[type="date"],
select {
  width: 70%; /* Set to 70% of the form container */
  padding: 12px; /* Increased padding */
  margin: 10px 0 20px; /* Increased spacing between inputs */
  border: 1px solid #ccc; /* Lighter border */
  border-radius: 4px;
  font-size: 16px; /* Increased font size */
  box-sizing: border-box; /* Include padding and border in width */
  transition: border-color 0.3s; /* Transition effect */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus {
  border-color: #007bff; /* Change border color on focus */
  outline: none; /* Remove default outline */
}

.radio-group,
.provider-group {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap */
  gap: 20px; /* Add space between items */
  margin-bottom: 20px; /* Add spacing below groups */
}

.provider-logo {
  width: 60px; /* Increased size of logos */
  height: auto;
  margin-right: 10px;
}

.policy-group {
  display: flex;
  align-items: center;
  margin: 15px 0; /* Increased margin */
}

.policy-group input[type="checkbox"],
.policy-group input[type="radio"] {
  margin-right: 10px;
}

/* Flexbox for radio buttons in the same line */
.policy-group input[type="radio"] + label {
  margin-right: 20px;
}

.btn {
  background-color: #007bff; /* Primary button color */
  color: white;
  padding: 12px 20px; /* Increased button padding */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px; /* Increased button font size */
  margin-top: 20px; /* Spacing above buttons */
  transition: background-color 0.3s, transform 0.2s; /* Add hover effects */
}

.btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-2px); /* Slight lift on hover */
}

.btn:active {
  transform: translateY(0); /* Reset lift on click */
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .form-container {
    width: 80%; /* Take up more width on mobile */
  }

  input[type="text"],
  input[type="email"],
  select {
    width: 100%; /* Full width on mobile */
  }

  .btn {
    width: 100%; /* Full width buttons on mobile */
  }
}

img {
  max-width: 75px;
  margin-right: 10px;
  vertical-align: middle;
  margin-top: 20px;
}
/* Flexbox for radio button group */
.radio-group {
  display: flex;
  gap: 20px; /* Add some spacing between the buttons */
}

.radio-group div {
  display: flex;
  align-items: center;
}

.radio-group label {
  margin-left: 5px; /* Add space between the radio button and its label */
}
/* Flexbox for provider group */
.provider-group {
  display: flex;
  gap: 20px; /* Add space between provider options */
}

.provider-group div {
  display: flex;
  align-items: center;
}

.provider-group label {
  margin-left: 5px; /* Space between the radio button and label */
}

.provider-logo {
  width: 250px; /* Adjust size of logos */
  height: auto;
  margin-right: 10px; /* Space between logo and provider name */
}
.error {
  color: red;
  margin-top: -10px;
}
