.section:has(#registrationForm) {
  background-color: transparent;
  height: auto;
}

.section:has(#loginMessage),
.section:has(#resetPasswordForm) {
  height: 85vh;
  display: flex;
  background-color: transparent;  
  justify-content: center;
  align-items: center;
}

.no-select {
  user-select: none;
}

/* for unique id registration */
.invalid_id{
  display: none;
}

.form-btn {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  width: 130px;
  padding: 8px;
  border-radius: 50px;
  border: none;
  transition: 0.3s;
}

.form-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

#loginBtn {
  float:right;
}

#registerBtn {
  background-color: #28a745;
  color: white;
  margin: 10px auto;
  width: 100%;
}

#registerBtn:disabled {
  background-color: #6c757d;
}

.uniqueId_input {
  text-transform: uppercase;
}

/* .verifyOtp {  display: none;  }
#applicantSection{  display: none;  }
#addRow { display: none;  } 
#priceSection { display: none;  } */

#phone.green,
#email.green {
  border-color: green;
}

#phone.red,
#email.red {
  border-color: red;
}

#phoneMessage,
#emailMessage {
  margin-top: 10px;
  color: red;
  text-align: left !important;
  font-weight: 500;
}

#registerMessage,
#loginMessage {
  text-align: left;
  margin: 0;
}

#registerMessage .alert,
#loginMessage .alert {
  padding: 5px 10px;
  margin-bottom: 5px;
}

select.form-control {
  -webkit-appearance: auto; /* For Safari/Chrome */
  -moz-appearance: auto; /* For Firefox */
  appearance: auto; /* For modern browsers */
}

/* application box in register page */
.applicant-row {
  border: 1px solid #CCE1EC;
  background-color: #f0f0f0;
  padding: 10px 0;
  border-radius: 10px;
  transform: translateY(-10px);
}

.applicant-row:nth-child(even) {
  background-color: #CCE1EC;
}
.category-select {
  padding: .5rem 0.25rem;
}
/* Style the placeholder text */
.uniqueId-input::placeholder {
  font-size: 0.9rem; /* Make text smaller */
  color: #000;
}

.remove-applicant {
  cursor: pointer;
  color: #ff4d4d;
  padding: 0px 8px;
  border-radius: 5px;
}

#addRowBtn {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-left: -8px;
  font-weight: bold;
  color: red;
  cursor: pointer;
}

.applicant-row div:has(label) {
  text-align: left;
  margin-top: 5px;
  font-size: 13px;
  font-weight: bold;
}

#loginForm label {
  cursor: pointer;
}
.applicant-row div label {
  margin-bottom: 2px;
  cursor: pointer;
}

.text_left_bold {
  text-align:left;
  font-weight: bold;
  margin:8px 0;
  user-select: none;
}

.appli_label {
  font-weight: bold;
  font-size: 12px;
  border-bottom: 2px solid #000;
}

.applicant-amount {
  text-align: right !important;
  background: #f0f0f0;
  padding: 9px 10px;
  border-radius: 8px;
}

/* forgot.php  */
#resetPasswordForm {
  text-align: right;
}

#forgotMessage div {
  padding: 6px;
  text-align: left;
}


/*--------------------------------------------------------------
#  on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .form-btn {
    float: right;
  }
  #priceSection {
    margin-top: 3rem;
  }
}

@media only screen and (max-width: 600px) {
  .applicant-row div:has(label) {
    margin-top: 5px;
  }
}

@media only screen and (max-width: 445px) {
  .footer-contact p a {
    display: inline-block;
  }
}