/* Default select style */
.form-select {
  color: #aaa6a6;
  border-bottom: 2px solid green;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.enroll-section-container {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .enroll-section-container {
    max-width: 85%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .enroll-section-container {
    max-width: 95%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .enroll-section-container {
    max-width: 60%;
  }
}

/* Style for the radio button input when selected (checked) */
.form-check-input:checked {
  background-color: green;
  border-color: green;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Style for the label when the radio button is checked */
.form-check-input:checked + .form-check-label {
  color: green;
}

/* Header styling */
.form-header {
  color: green;
  text-align: center;
  margin-bottom: 30px;
}

/* General styling for form-control input fields */
.Registrationn-form {
  padding-left: 40px;
  position: relative;
}

/* Icon styles for input, select, textarea */
.Registration-icon {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
}

/* Input, select, and textarea padding to adjust for the icon */
.form-control, .form-select, textarea {
  padding-left: 40px;
}

/* Adjusting the input fields on focus */
.Registrationn-form:focus, .form-control:focus, .form-select:focus, textarea:focus {
  border-color: green;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Ensure the icon doesn't overlap with the input label */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  position: relative;
  padding-left: 40px;
  height: auto;
}

/* Custom submit button styling */
.contect-submit-btn {
  background-color: green;
  border: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contect-submit-btn:hover {
  background-color: darkgreen;
}

/* Custom styling for file input */
input[type="file"] {
  padding-left: 40px;
  height: auto;
}

.date-icon , .rel-icon{
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
}

.address-icon{
  position: absolute;
  top: 20%;
  left: 5px;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
}

.pic-icon{
  position: absolute;
  top: 30%;
  left: 5px;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
}

.gender-icon{
  position: absolute;
  top: 35%;
  left: 5px;
  transform: translateY(-50%);
  color: #999;
  font-size: 25px;
  pointer-events: none;
  z-index: 1;
}