body {
   background-color: #f8f3fc; /* Light lavender background */
   /* background-image: url("images/back2g.jpg");
	  background-repeat: no-repeat;
	  background-size: cover;
      position: relative;*/
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Common sans-serif stack */
    color: #333; /* Dark grey text */
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.form-container {
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto;
    background-color: #ffffff; /* White form background */
    padding: 30px 40px; /* More padding */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-title {
    color: #1E8449; /* Darker teal/green similar to original */
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

/* Style labels to match image */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #444;
}

/* Input and select styling */
.form-control,
.form-select {
    border-radius: 0.25rem; /* Slightly less rounded */
    border: 1px solid #ced4da;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Placeholders */
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #aaa;
  opacity: 1; /* Firefox */
  font-size: 0.85rem;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #aaa;
  font-size: 0.85rem;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #aaa;
  font-size: 0.85rem;
}


/* Section titles for Rules/Policy */
.section-title {
    color: #1E8449; /* Match heading color */
    margin-bottom: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.rules-policy-section {
    background-color: #fdfcff; /* Very light background for sections */
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 1.5rem; /* Override default mb-4 slightly */
}

.rules-policy-section ol,
.rules-policy-section p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.rules-policy-section li {
     margin-bottom: 0.5rem;
}


/* Checkbox and Radio adjustments */
.form-check-label {
    font-size: 0.9rem;
    color: #444;
}

.form-check-input {
    margin-top: 0.25em; /* Align better with label text */
}

.form-check {
     margin-bottom: 0.5rem; /* Space between check/radio items */
}


/* Custom validation error styling */
.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-check-input:invalid {
    border-color: #dc3545; /* Bootstrap default invalid color */
}

.invalid-feedback {
     font-size: 0.8rem;
}

/* Style for radio/checkbox group errors */
.is-invalid-group label:first-of-type {
    color: #dc3545; /* Make label red */
}

.is-invalid-group .form-check-input {
    /* Optionally add a red border or background */
    /* background-color: #fbe FBE; */
}

/* Submission Note */
.submission-note {
    text-align: center;
    font-size: 0.9rem;
    border-color: #e9ecef; /* Lighter border */
    color: #555;
}

/* Submit Button Styling */
.btn-submit {
    background-color: #1D8348; /* Green color from image */
    border-color: #1D8348;
    color: #fff;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #176838; /* Darker green on hover */
    border-color: #176838;
    color: #fff;
}