/* General body styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Form container */
#licensing-authority-form {
  max-width: 800px;
  margin: 50px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* Form header */
header {
  background-color: #003366;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  color: #fff;
  text-align: center;
}

/* Title */
h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 1px;
}

/* Input fields styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
input[type="file"] {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

/* Focus on input */
input:focus,
select:focus {
  border-color: #0066cc;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 102, 204, 0.2);
}

/* Form group */
.form-group {
  margin-bottom: 20px;
}

/* Checkbox group styling */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
}

.checkbox-group label {
  margin-right: 20px;
}

/* Submit button */
button[type="submit"] {
  width: 100%;
  background-color: #003366;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #00509e;
}

/* Fieldset and legend styling */
fieldset {
  border: none;
  margin: 20px 0;
  padding: 0;
}

legend {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

/* Spacing for form elements */
label {
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}

.state-selection,
.form-group {
  margin-bottom: 20px;
}

/* Flex layout for input fields */
.form-group {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .form-group {
      flex-direction: row;
      justify-content: space-between;
  }

  .form-group label,
  .form-group input,
  .form-group select {
      width: 48%;
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  #licensing-authority-form {
      padding: 20px;
  }
}
