.signup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

.signup-wrapper {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 450px;
  position: relative;
  bottom: 10px ;
}

.error-message {
  color: red;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.signup-header {
  text-align: center;
  margin-bottom: 2rem;
}

.signup-title {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.signup-subtitle {
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}



.login-section {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--secondary-text);
}

.login-link {
  color: var(--primary-color);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: color 0.3s ease;
}

.login-link:hover {
  color: var(--primary-hover);
}

:root {
  --bg-color: #ffffff; 
  --text-color: #000000; 
  --label-color: #000000;
  --secondary-text: #555555; 
  --card-bg: #ffffff; 
  --border-color: #dddddd; 
  --input-bg: #ffffff; 
  --primary-color: #000000; 
  --primary-hover: #333333; 
  --form-transition-duration: 0.6s;
  --form-slide-distance: 30px;
  --form-fade-duration: 0.3s;
  --input-transition: 0.3s;
  --button-transition: 0.3s;
  --button-text: #ffffff;
}

.darkmode {
  --bg-color: #000000; 
  --text-color: #ffffff; 
  --label-color: #ffffff;
  --secondary-text: #aaaaaa; 
  --card-bg: #111111; 
  --border-color: #333333; 
  --input-bg: #111111; 
  --primary-color: #ffffff; 
  --primary-hover: #cccccc; 
  --button-text: #000000;

}

#moon2 {
  color: var(--primary-color);
}

#sun2 {
  color: var(--primary-color);
}

.darkmode #moon2 {
  color: var(--primary-color);
}



.darkmode #sun2 {
  color: var(--primary-color);
}


.history svg{
  color: white !important;
}

.arrow-right , .arrow-left  {
  fill: white !important;
}

.auth-btn {
  background: var(--primary-color);
  color: var(--button-text);
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  transition: all var(--button-transition) ease;
  position: relative;
  overflow: hidden;
}

.auth-btn:hover {
  background: var(--primary-hover);
}

.auth-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.auth-btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

.switch-link {
  color: var(--primary-color);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: color var(--button-transition) ease;
  cursor: pointer;
  position: relative;
}

.switch-link:hover {
  color: var(--primary-hover);
}

.switch-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-hover);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.switch-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.switch-link {
  color: var(--primary-color);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: color var(--button-transition) ease;
  cursor: pointer;
  position: relative;
}

.switch-link:hover {
  color: var(--primary-hover);
}

.switch-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-hover);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.switch-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
@media (max-width: 480px) {
  .signup-wrapper {
    padding: 1.5rem;
    margin: 1rem;
  }


}

html, body {
  font-family: 'Vazirmatn', sans-serif !important;
}