

.enrol-section{
  margin-top: 80px;
  background: linear-gradient(90deg, #A8CAEB, #FDFCD7);
  padding: 40px 20px 80px 20px;
}

.enrolmentForm{
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.enrolmentForm > *{
  margin-bottom: 60px;
}

.enrolmentForm > *:last-child{
  margin-bottom: 10px;
}

/* Remove gap after second-last child */
.enrolmentForm > *:nth-last-child(2){
  margin-bottom: 0px;
}

.service select:disabled,
.service input:disabled{
  opacity:0.5;
}

.enrolmentForm span{
  color: #1E5772;
}



.formenrol-container{
  border: 2px solid #1E5772;
  border-radius: 50px;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.177);
  margin: auto;
  max-width: 750px;
}

.section-container{
  display: grid;
  gap: 12px;
}

.section-container p{
  text-align: left;
}

.section-container small{
  text-align: left;
}

.lefty{
  text-align: left;
}

span{
  font-size: 20px;
}


label{
  font-size: 24px;
  color: #1E5772;
}

h1{
  font-size: 42px;
  text-decoration: underline;
  color: #1E5772;
  margin-bottom: 30px;
}

h2{
  background-color: #9fd3db;
  border-radius: 10px;
  padding: 4px;
  font-size: 2rem;
  margin-bottom: 12px;
}

h3{
  font-size: 24px;
  text-decoration: underline;
  color: #1E5772;
  text-align: left;
}

input{
  background-color: #f7f7f7;
  height: 40px;
  width: 100%;
  border:1px solid #CDCDCD;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.2s ease;
  color: #1E5772;
  font-size: 20px;
}

.form-group{
  text-align: left;
}

.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 20px;
  border-radius: 2px;
  border:1px solid #CDCDCD;
  resize: none;
  margin-top: 10px;
  background-color: #f7f7f7;
  height: 120px;
  box-sizing: border-box;
  border-radius: 8px;
  color: #1E5772;
}

.form-group textarea:focus{
  outline: none;
  border-color: #F66F61;
}

input:focus{
  outline: none;
  border-color: #F66F61;
}

.field{
  display: grid;
  gap: 8px;
  max-width: 320px;
  font-family: system-ui, sans-serif;
}

.input-wrap{
  position: relative;
}


.input-wrap input:focus{
  border-color: #F66F61;
}

.icon-btn{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: none;
  background: none;
  color: #1f5f78;
  padding: 0;
  cursor: pointer;
}

.icon-btn svg{
  width: 22px;
  height: 22px;
}

/* Hide default calendar icon (Chrome, Edge, Safari) */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: none;
}

/* Remove extra inner spacing */
input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

.day-picker{
  display: grid;

  width: 260px; /* adjust */
}

.day-option{
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-size: 28px; /* match your font */
  line-height: 1;
  position: relative;
}

.day-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.day-option{
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  cursor: pointer;
  user-select: none;
}


/* selected */
.day-option input:checked + .dot{
  background: #1f5f78; /* theme colour */
}

.time-option{
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 18px;
  align-items: start;
}

/* Dot checkbox wrapper */
.dot-option{
  position: relative;
  cursor: pointer;
}

/* Hide checkbox */
.dot-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Dot look */
.dot{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #cfcfe0;
  display: block;
  margin-top: 6px;
}

/* Selected */
.dot-option input:checked + .dot{
  background: #1f5f78;
}

/* Layout */

.time-title{
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.time-label{
  margin-bottom: 8px;
}

.time-grid{
  display: grid;
  grid-template-columns: 110px;
  gap: 14px;
  width: fit-content;
}

.time-to{
  text-align: center;
  font-size: 18px;
}

select{
  height: 34px;
  width: 110px;
  border: 2px solid #d9d9d9;
  border-radius: 2px;
  padding: 0 10px;
  background: #fff;
}

.time-hint{
  margin-top: 10px;
  font-size: 13px;
  color: #334155;
}

button{
  display: flex;
  padding: 12px 40px;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background: #1E5772;
  color: #FFF;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.15);
  border: none;
}

.services{
  display: grid;
  gap: 32px;
}

/* option row */
.service{
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 18px;
  align-items: start;
}

/* dot checkbox */
.dot-option{
  position: relative;
  cursor: pointer;
}
.dot-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dot{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #9ca3af; /* light grey ring */
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
/* Inner circle (checked state) */
.dot::after{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* When checked */
input:checked + .dot{
  border-color: #000;
}

input:checked + .dot::after{
  opacity: 1;
}

/* smaller dots for subjects */
.dot.small{
  width: 20px;
  height: 20px;
  margin-top: 0;
}
.service-label{
  margin: 10px 0 8px;
}

/* time dropdowns */
.time-grid{
  display: grid;
  grid-template-columns: 110px;
  gap: 14px;
  width: fit-content;
}
.time-to{
  text-align: center;
  font-size: 18px;
}
select{
  height: 34px;
  width: 110px;
  border-radius: 2px;
  padding: 0 10px;
  background-color: #f7f7f7;
  border:1px solid #CDCDCD;
  border-radius: 8px;
  transition: all 0.2s ease;
  color: #868686;
  font-size: 20px;
}
.time-hint{
  margin-top: 10px;
  font-size: 13px;
  color: #334155;
}

/* subjects list */
.subjectss{
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.subject{
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.subject input{
  display: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* dot fill for subject when checked */
.subject input:checked + .dot{
  background: #1f5f78;
}

/* curriculum input */


.consent-options{
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.consent-option{
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.consent-option input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Reuse your .dot styles */
.consent-option input:checked + .dot{
  background: #1f5f78;
}

.services{
  text-align: left;
}

.service-title{
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #1E3544;
}

ul{
 padding-left: 32px;
}

.opt-desc{
  display: grid;
  grid-template-columns: 120px 1fr;
  text-align: left;
}

li{
  font-size: 20px;
  color: #1E3544;
}

.opt-desc-list{
  border: 1px #000000 solid;
}

.opt-desc-desc{
  border: 1px #000000 solid;
  padding-left: 10px;
}

.option-container{
  display: grid;
  gap: 20px;
}

.optionss{
  gap: 40px;
}

.consent-options{
  margin-bottom: 20px;
}

.service-label{
  font-size: 20px;
  margin-top: 20px;
}

