   .register-modal {
      overflow: scroll;
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0!important;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.register-modal .modal-content {
  background: white;
  padding: 20px;
  margin: 10% auto;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}

.register-modal .close-btn {
  position: absolute;
  right: 15px; top: 10px;
  font-size: 24px;
  cursor: pointer;
}

#submitBtn {
  background: #b400f5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#submitBtn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loader {
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-left: 5px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* New form styling */
#registerForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#registerForm label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #333;
}

#registerForm input, 
#registerForm select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

#registerForm input:focus, 
#registerForm select:focus {
  border-color: #b400f5;
  box-shadow: 0 0 0 2px rgba(180, 0, 245, 0.2);
  outline: none;
}

#registerForm .select-wrapper {
  position: relative;
}

#registerForm select[multiple] {
  height: auto;
  min-height: 120px;
}

#registerForm .phone-input {
  display: flex;
  align-items: center;
}

#registerForm .phone-input .country-code {
  background: #f5f5f5;
  padding: 12px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 5px 0 0 5px;
  color: #333;
}

#registerForm .phone-input input {
  border-radius: 0 5px 5px 0;
}

#registerForm .checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#registerForm .checkbox-wrapper input {
  width: auto;
  margin-top: 5px;
}

/* #registerForm button {
  background: #b400f5;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

#registerForm button:hover {
  background: #9700d3;
} */

.form-instruction {
  color: #666;
  font-size: 14px;
  margin-top: -8px;
}
.gradient-heading {
  text-align: center;
  background: linear-gradient(
    270deg,
    #a855f7,
    #9333ea,
    #6b21a8,
    #9333ea,
    #a855f7
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 6s ease infinite;
  font-weight: bold;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.required{
  color: red;
}

/* Fix height of Select2 role dropdown */
.select2-selection {
  height: auto;
  min-height: 50px!important;
}