:root {
  --register-max-width: 450px;
}

.auth-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 400px),
              radial-gradient(circle at bottom left, rgba(64, 58, 255, 0.03), transparent 300px);
}

.auth-container {
  width: 100%;
  max-width: var(--register-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  animation: slideInUp 0.6s ease-out;
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-header h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 12px;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.auth-form .form-group {
  margin-bottom: 24px;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.auth-form .input-wrapper {
  position: relative;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
  background: #fff;
}

.phone-verification-btn {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Verification Code Input Section */
.verification-section {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
}

.verification-section.active {
  display: block;
}

.code-wrapper {
  display: flex;
  gap: 10px;
}

.code-wrapper input {
  flex: 1;
}

.code-wrapper .btn {
  width: auto;
  white-space: nowrap;
}

/* Steps Transition */
#registration-fields {
  display: none;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all 0.3s ease;
}

.step-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary-color);
}

/* Buttons */
.auth-submit-btn {
  width: 100%;
  padding: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}

.auth-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

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

/* Responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 30px 20px;
  }
  
  .auth-header h2 {
    font-size: 1.75rem;
  }
}
