.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    background: var(--color-bg);
    font-family: var(--font-body);
    padding: 3rem 2rem;
}

.auth-card {
  background: var(--color-bg-alt);
  padding: 2rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease-in-out;
}

.auth-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-light);
  border-bottom: 3px solid transparent;
  transition: 0.3s;
}

.tab-btn.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.forms-wrapper {
  position: relative;
  overflow: hidden;
  height: auto;
}

.form {
  display: none;
  flex-direction: column;
  animation: fade 0.4s ease;
}

.form.active {
  display: flex;
}

.form h2 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-subtext {
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group label span {
    font-size: 14px;
    font-weight: 600;
    color: red;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  outline: none;
  font-size: 0.95rem;
  transition: border 0.3s;
}

.form-group input:focus {
  border-color: var(--color-primary);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  padding: 0.9rem;
  border: none;
  border-radius: 0.6rem;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.switch-text {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.switch-text span {
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 600;
  margin-left: 0.2rem;
}

@keyframes fade {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}