.register-section-container {
  position: relative;
  z-index: 10;
}
.register-section-container::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: -2;
  background-image: url("/assets/images/spa/1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.4);
}
.register-section-wrapper {
  width: 900px;
  padding: 60px 0;
  margin: auto;
}
.form-container {
  background-color: white;
  padding: 40px 30px;
  max-width: 41%;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: auto;
}

.form-container h1 {
  font-family: "Libre Baskerville", sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  padding: 32px;
}

.form-container p {
  color: #555;
  font-size: 14px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}
.input-group {
  width: 100%;
}

.checkbox-group {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}

.checkbox-group input {
  margin-right: 8px;
  width: 16px;
}
.checkbox-group label {
  flex: 1;
  text-align: left;
}

.submit-btn {
  background-color: black;
  border: 1px solid black;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  width: 100%;

  cursor: pointer;
  margin-top: 8px;
}

.submit-btn:hover {
  background-color: white;
  color: black;
}

.extra-links {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 10px;
}

.extra-links a {
  color: #333;
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}
.error-message {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

@media screen and (max-width: 768px) {
  .register-section-wrapper {
    padding: 40px 0;
  }
  .form-container {
    /* width: 480px; */
    width: 86%;
    max-width: 100%;
    padding: 2rem;
  }
  .form-container h1 {
    font-size: 1.25rem;
    padding: 1rem;
  }
  .form-container p {
    font-size: 12px;
  }
  .form-group {
    flex-direction: column;
  }
  .form-group.phone-box {
    flex-direction: row;
  }
  .extra-links {
    flex-direction: column;
  }
  .submit-btn {
    font-size: 14px;
  }
}
@media screen and (max-width: 640px) {
  .register-section-wrapper {
    padding: 1.5rem 0;
  }
  .form-container {
    /* width: 480px; */
    width: 86%;
    max-width: 100%;
    padding: 1.25rem;
  }
  .form-container h1 {
    font-size: 1.25rem;
    padding: 0;
    margin-bottom: 0.5rem;
  }
  .form-container p {
    font-size: 12px;
  }
  .form-group {
    flex-direction: column;
  }
  .form-group.phone-box {
    flex-direction: row;
  }
  .extra-links {
    flex-direction: column;
  }
  .submit-btn {
    font-size: 14px;
  }
}
