/* Modal backdrop */
.therapist-login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  display: flex; 
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Glass-like modal content */
.therapist-login-content {
  background: rgba(255, 255, 255, 0.1); /* glass effect base */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px 25px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Close button */
.therapist-login-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.therapist-login-close:hover {
  color: #ff5b5b;
}

/* Form header */
.therapist-login-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Group container */
.therapist-login-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

/* Label styling */
.therapist-login-label {
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 5px;
}

/* Input styling */
.therapist-login-input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
  font-size: 1em;
  outline: none;
}

.therapist-login-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.therapist-login-input:focus {
  background: rgba(255, 255, 255, 0.3);
}

/* Error message */
.therapist-login-error {
  color: #ffaaaa;
  font-size: 0.85em;
  margin-top: 4px;
}

/* Forgot link */
.therapist-login-forgot a {
  color: #cce6ff;
  font-size: 0.9em;
  text-decoration: none;
  align-self: flex-end;
}

.therapist-login-forgot a:hover {
  text-decoration: underline;
}

/* Button group */
.therapist-login-button-group {
  display: flex;
  justify-content: center;
}

/* Submit button */
.therapist-login-button-group {
  display: flex;
  justify-content: center; /* horizontal centering */
  align-items: center;     /* vertical alignment */
  width: 100%;
}

/* Submit button */
.therapist-login-button {
  width: 145px;       /* reduced width */
  padding: 12px 0;    /* vertical padding only */
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;

  /* Force centering fallback */
  display: block;
  margin: 0 auto;
}
.therapist-login-button:hover {
  background-color: #218838;
}

/* Container should animate opacity and slide */
.therapist-login-content {
  transform: translateY(-50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.3s ease;
}

/* Slide In */
.therapist-login-content.slide-in {
  transform: translateY(0);
  opacity: 1;
}

/* Slide Out */
.therapist-login-content.slide-out {
  transform: translateY(-50px);
  opacity: 0;
}
 

@media (max-width: 414px) and (min-height: 412px){
   /*#region Therapist Login*/
/* Mobile modal (keeps JS style.display toggling working) */
.therapist-login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
  /* DO NOT set display here (or at least do not use !important) */
}

/* Modal content: smaller, scrollable, no heavy backdrop-filter on mobile */
.therapist-login-content {
  width: 92%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  color: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: none; /* disable animations on mobile for stability */
}

/* Close icon - big enough to tap */
.therapist-login-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}

/* Form tweaks */
.therapist-login-form h2 { font-size: 1.1rem; text-align:center; margin-bottom:12px; color:#f5f9fb; }
.therapist-login-group { margin-bottom:10px; }
.therapist-login-label { font-size:0.9rem; margin-bottom:6px; color:#dfeef7; }
.therapist-login-input {
  width:100%;
  padding:10px;
  font-size:0.95rem;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color:#fff;
}
.therapist-login-forgot a { font-size:0.88rem; color:#bfe7ff; text-decoration:underline; }
.therapist-login-error { font-size:0.78rem; color:#ffb3b3; }

/* Primary button full width */
.therapist-login-button {
  width:100%;
  padding:12px 14px;
  font-size:1rem;
  border-radius:8px;
  border:none;
  background:#2aa36b;
  color:#fff;
  cursor:pointer;
  transition:none;
}

 
  /*#endregion Therapist Login*/

}
@media (max-width: 599px) and (max-height: 667px) {
    /*#region Therapist Login*/
/* Mobile modal (keeps JS style.display toggling working) */
.therapist-login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
  /* DO NOT set display here (or at least do not use !important) */
}

/* Modal content: smaller, scrollable, no heavy backdrop-filter on mobile */
.therapist-login-content {
  width: 92%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  color: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: none; /* disable animations on mobile for stability */
}

/* Close icon - big enough to tap */
.therapist-login-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}

/* Form tweaks */
.therapist-login-form h2 { font-size: 1.1rem; text-align:center; margin-bottom:12px; color:#f5f9fb; }
.therapist-login-group { margin-bottom:10px; }
.therapist-login-label { font-size:0.9rem; margin-bottom:6px; color:#dfeef7; }
.therapist-login-input {
  width:100%;
  padding:10px;
  font-size:0.95rem;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color:#fff;
}
.therapist-login-forgot a { font-size:0.88rem; color:#bfe7ff; text-decoration:underline; }
.therapist-login-error { font-size:0.78rem; color:#ffb3b3; }

/* Primary button full width */
.therapist-login-button {
  width:100%;
  padding:12px 14px;
  font-size:1rem;
  border-radius:8px;
  border:none;
  background:#2aa36b;
  color:#fff;
  cursor:pointer;
  transition:none;
}

 
  /*#endregion Therapist Login*/



}

@media (max-width: 599px) and (min-height: 668px) and (max-height: 812px){
   /*#region Therapist Login*/
/* Mobile modal (keeps JS style.display toggling working) */
.therapist-login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
  /* DO NOT set display here (or at least do not use !important) */
}

/* Modal content: smaller, scrollable, no heavy backdrop-filter on mobile */
.therapist-login-content {
  width: 92%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  color: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: none; /* disable animations on mobile for stability */
}

/* Close icon - big enough to tap */
.therapist-login-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}

/* Form tweaks */
.therapist-login-form h2 { font-size: 1.1rem; text-align:center; margin-bottom:12px; color:#f5f9fb; }
.therapist-login-group { margin-bottom:10px; }
.therapist-login-label { font-size:0.9rem; margin-bottom:6px; color:#dfeef7; }
.therapist-login-input {
  width:100%;
  padding:10px;
  font-size:0.95rem;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color:#fff;
}
.therapist-login-forgot a { font-size:0.88rem; color:#bfe7ff; text-decoration:underline; }
.therapist-login-error { font-size:0.78rem; color:#ffb3b3; }

/* Primary button full width */
.therapist-login-button {
  width:100%;
  padding:12px 14px;
  font-size:1rem;
  border-radius:8px;
  border:none;
  background:#2aa36b;
  color:#fff;
  cursor:pointer;
  transition:none;
}

 
  /*#endregion Therapist Login*/


}

@media (max-width: 599px) and (min-height: 813px) and (max-height: 932px){
   /*#region Therapist Login*/
/* Mobile modal (keeps JS style.display toggling working) */
.therapist-login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
  /* DO NOT set display here (or at least do not use !important) */
}

/* Modal content: smaller, scrollable, no heavy backdrop-filter on mobile */
.therapist-login-content {
  width: 92%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  color: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: none; /* disable animations on mobile for stability */
}

/* Close icon - big enough to tap */
.therapist-login-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}

/* Form tweaks */
.therapist-login-form h2 { font-size: 1.1rem; text-align:center; margin-bottom:12px; color:#f5f9fb; }
.therapist-login-group { margin-bottom:10px; }
.therapist-login-label { font-size:0.9rem; margin-bottom:6px; color:#dfeef7; }
.therapist-login-input {
  width:100%;
  padding:10px;
  font-size:0.95rem;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color:#fff;
}
.therapist-login-forgot a { font-size:0.88rem; color:#bfe7ff; text-decoration:underline; }
.therapist-login-error { font-size:0.78rem; color:#ffb3b3; }

/* Primary button full width */
.therapist-login-button {
  width:100%;
  padding:12px 14px;
  font-size:1rem;
  border-radius:8px;
  border:none;
  background:#2aa36b;
  color:#fff;
  cursor:pointer;
  transition:none;
}

 
  /*#endregion Therapist Login*/


}

@media (max-width: 767px) and (min-width: 600px)and (max-height: 568px){
   /*#region Therapist Login*/
/* Mobile modal (keeps JS style.display toggling working) */
.therapist-login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 10px;
  /* DO NOT set display here (or at least do not use !important) */
}

/* Modal content: smaller, scrollable, no heavy backdrop-filter on mobile */
.therapist-login-content {
  width: 92%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  color: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: none; /* disable animations on mobile for stability */
}

/* Close icon - big enough to tap */
.therapist-login-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 100;
}

/* Form tweaks */
.therapist-login-form h2 { font-size: 1.1rem; text-align:center; margin-bottom:12px; color:#f5f9fb; }
.therapist-login-group { margin-bottom:10px; }
.therapist-login-label { font-size:0.9rem; margin-bottom:6px; color:#dfeef7; }
.therapist-login-input {
  width:100%;
  padding:10px;
  font-size:0.95rem;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color:#fff;
}
.therapist-login-forgot a { font-size:0.88rem; color:#bfe7ff; text-decoration:underline; }
.therapist-login-error { font-size:0.78rem; color:#ffb3b3; }

/* Primary button full width */
.therapist-login-button {
  width:100%;
  padding:12px 14px;
  font-size:1rem;
  border-radius:8px;
  border:none;
  background:#2aa36b;
  color:#fff;
  cursor:pointer;
  transition:none;
}

 
  /*#endregion Therapist Login*/


}