/*login form*/
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: space-between;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand h1 {
  font-size: 22px;
  margin: 0;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

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

.auth-header h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.auth-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
}

.password-field span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.password-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 42px; /* space for eye */
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.6;
}

.toggle-password:hover {
  opacity: 1;
}

.forgot {
  font-size: 13px;
  text-decoration: none;
  color: var(--accent);
}

.primary-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--muted);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.signup {
  text-align: center;
  font-size: 14px;
}

.signup a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer {
  margin-top: 18px;
  font-size: 13px;
}