/*
.signup-background {
  min-height: 100vh;
  padding-top: 40px;
  padding-bottom: 40px;
  transition: background 0.5s ease;
}

.bg-default {
  background: #ffffff;
}

.bg-gradient-blue {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  color: white;
}

.bg-image-hero {
  background-image: url('/images/bg-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.bg-lightgray {
  background: #f7f7f7;
}

.terms-policy {
  font-size: 0.85rem;
  color: #666;
  margin-top: 30px;
}

.terms-policy a {
  color: #2288f9;
  text-decoration: none;
  padding: 0 4px;
}

.terms-policy a:hover {
  text-decoration: underline;
}
*/


.page-wrapper {
  display: flex;
  justify-content: flex-end;
  padding: 60px;
  min-height: 100vh;
  box-sizing: border-box;
}

.form-signup-options {
  background: #ffffff;
  padding: 50px;
  border-radius: 15px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.form-signup-options h2 {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
}

.form-signup {
  background: #ffffff;
  max-width: 580px;
  width:480px;
}

.tabs {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 30px;
}

.tab-link {
  padding: 12px 30px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px; /* pour coller au contenu */
  outline: none;
}

.tab-link:hover {
  color: #007bff;
  border-bottom: 3px solid #cce5ff;
}

.tab-link.active {
  color: #007bff;
  border-bottom: 3px solid #007bff;
  background-color: transparent;
}

.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  background-color: #3282e6;
  border: none;
  color: white;
}

.btn-block:hover {
  background-color: #1d6fd4;
  cursor: pointer;
}

.d-none {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}





input.is-valid {
  border: 2px solid #28a745;
}
input.is-invalid {
  border: 2px solid #dc3545;
}
.error-message {
  color: #dc3545;
  font-size: 0.85em;
  margin-top: 0.2rem;
  display: block;
}



/* Style du bouton lorsqu’il est désactivé */
#signup-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

/* Style du loader adjacent */
#signup-loader {
  display: none;
  vertical-align: middle;
  margin-left: 10px;
  height: 18px;
}












#signup-loading{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}
#signup-loading.hidden{display:none}
.spinner{
  width:16px;height:16px;border:2px solid #c7c7c7;border-top-color:#222;border-radius:50%;
  display:inline-block;animation:spin .8s linear infinite
}
@keyframes spin{to{transform:rotate(360deg)}}
.is-busy{opacity:.6;pointer-events:none}