@font-face {
  font-family: yekan;
  src: url("../fonts/iranyekanwebbold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
:root {
  --primary-color: #4caf50;
  --secondary-color: #f0f0f0;
  --error-color: #dc3545;
  --success-color: #28a745;
}

body {
  background-color: var(--primary-color);
  font-family: yekan;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.circle {
  position: fixed;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
}

.circle-2 {
  width: 500px;
  height: 500px;
  bottom: -250px;
  right: -250px;
}

.auth-container {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  width: 800px;
  max-width: 90%;
  display: flex;
  position: relative;
  z-index: 1;
  margin: 20px auto;
}

.auth-sidebar {
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.auth-sidebar h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
}

.auth-sidebar h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 40px;
  height: 4px;
  background-color: white;
}

.auth-content {
  padding: 40px;
  width: 60%;
}

.website-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 40px;
}

.website-logo .logo-dot {
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  margin-left: 5px;
}

.form-control {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.form-control::placeholder {
  text-align: right;
}

.form-label {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.nav-tabs {
  border: none;
  margin-bottom: 30px;
  justify-content: flex-end;
}

.nav-tabs .nav-link {
  border: none;
  padding: 5px 15px;
  color: #666;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

.btn-signup {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-signup:hover {
  background-color: #3d8b40;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.terms-text {
  font-size: 13px;
  color: #666;
  margin: 15px 0;
}

.toggle-btn {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
}

.verification-form {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.verification-form.active {
  opacity: 1;
}

.verification-container {
  display: flex;
  justify-content: space-between;
  direction: ltr;
  margin: 20px 0;
}

.verification-input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 0 5px;
}

.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  left: 0;
  top: 75%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}

.feedback {
  font-size: 12px;
  margin-top: 5px;
  color: var(--error-color);
  display: none;
}

.password-strength {
  display: block;
  height: 5px;
  background-color: #eee;
  margin-top: 5px;
  border-radius: 3px;
}

.password-strength-bar {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@media (max-width: 768px) {
  .circle {
    display: none;
  }
  .auth-container {
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    border-radius: 0;
    margin: 0;
  }

  .auth-sidebar,
  .auth-content {
    width: 100%;
    padding: 30px;
  }

  .auth-sidebar {
    padding-bottom: 40px;
  }

  .toggle-btn {
    display: none;
  }

  .verification-input {
    width: 40px;
    height: 50px;
    font-size: 20px;
  }
}
