#the-body-section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.auth-container {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.auth-info {
  max-width: 300px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  padding: 16px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 80px;
  text-align: center;
}


/* POUR aller*/
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.auth-section.slide-in-right {
  animation: slideInFromRight 0.4s ease forwards;
}

.auth-section.slide-out-left {
  animation: slideOutToLeft 0.4s ease forwards;
}

.auth-section.slide-in-left {
  animation: slideInFromLeft 0.4s ease forwards;
}

.auth-section.slide-out-right {
  animation: slideOutToRight 0.4s ease forwards;
}
#letsee.slide-in-right {
  animation: slideInFromRight 0.4s ease forwards;
}
#letsee.slide-in-left {
  animation: slideInFromLeft 0.4s ease forwards;
}
#letsee.slide-out-left {
  animation: slideOutToLeft 0.4s ease forwards;
}
#letsee.slide-out-right {
  animation: slideOutToRight 0.4s ease forwards;
}
.auth-section {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding:32px 24px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 82px;
  margin: 0 auto 10px;
}

.auth-description {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333;
}

#phoneInput,
#emailInput,
#pseudoInput,
textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 1px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 60px;
}
.auth-section .btn {
  background-color: #0275d8;  
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 12px;
  margin-top: 8px;     
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.auth-section .btn:hover {
  background-color: #0768bd;
}

.step-indicator-text {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}
.step-indicator {
  width: 90%;
  max-width: 480px;
  height: 6px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
  margin: 8px auto 24px; 
}

.step-bar {
  width: 0%;
  height: 100%;
  background-color: #0275d8;
  transition: width 0.3s ease;
}
.back-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  margin-top: 30px;
}

.back-line svg {
  stroke: #555;
}


#countryCode {
  font-size: 1rem;
  padding: 0.3em 0.5em;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 300px;
  margin-bottom: 1em;
  cursor: pointer;
  appearance: none; 
  background: white url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
  background-size: 12px;
}

.otp-boxes {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.otp-digit {
   flex: 1;   
  width: 20px;      
  padding: 8px;     
  font-size: 1.2rem;
  text-align: center;
  border-radius: 10px;
}

.profile-preview {
  text-align: center;
  margin-bottom: 16px;
}

.profile-preview img {
  border-radius: 50%;
  margin-bottom: 8px;
}

.profile-preview h3 {
  margin: 6px 0 4px;
  font-size: 1.2rem;
}

.profile-preview p {
  font-size: 0.95rem;
  color: #666;
}

.top-right-skip {
  position: absolute; 
  top: 12px;
  right: 18px;
  font-size: 0.9rem;
  color: #888;
  cursor: pointer;
  z-index: 1000;
}



.verfiying-class {
  position: fixed;           
  top: 40%;
  left: 0;
  margin: 0 auto;
  width: 100%;
  height: 100vh;              
  display: flex;
  flex-direction: column;
  align-items: center;        
  justify-content: center;   
  text-align: center;
  z-index: 9999;            
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100vh;
  text-align: center; */
}

.verifying-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  margin: 0 auto;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}



/*
.spinner {
    width: 30px;
    height: 30px;
    border: 4px solid #ddd;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}


.verifying-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px; 
  gap: 1rem;
  color: #333;
  font-size: 1rem;
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #eee;
  border-top-color: #007bff; 
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}*/





.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  max-width: 80%;
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, bottom 0.4s;
  z-index: 9999;
  text-align: center;
  font-size: 0.95rem;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  bottom: 40px;
}

.toast.success {
  background-color: #4caf50;
}
.toast.error {
  background-color: #f44336;
}
.toast.info {
  background-color: #2196f3;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

.input-error {
   border: 2px solid #f44336 !important;
  background-color: #ffecec;
  animation: shake 0.3s;
}
@media (max-width: 768px)
{
  .auth-section {
  width: 80%;
}

.auth-section .btn {
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 12px;
  margin-top: 40px;     
}

 #the-body-section {
    flex-direction: column;
    align-items: center;
  }

  .auth-info {
  max-width: 300px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  padding: 16px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  margin: 0 auto;
  text-align: center;
}

 .join-section {
    width: 80%;
    padding: 32px 16px;
    margin-bottom: 40px;
  }
  .join-section h2 {
    font-size: 1.75rem;
  }
  .join-section p {
    font-size: 1rem;
  }

}

.join-section {
  background: #e9f5ff;
   padding: 40px 24px;
  max-width: 480px;
  border-radius: 1rem;
  margin-top: 150px;
}

.join-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.join-section p {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 24px;
}

.join-section .btn {
  background-color: #fff;
  color: #2563eb; 
  padding: 14px 0;
  width: 100%;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.2s;
}

.join-section .btn:hover {
  background-color: #f0f0f0;
}


