.text-button {
  width: 100%;
  margin-top: 8px;
  color: var(--blue);
  background: transparent;
}

.form-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.development-reset-link {
  color: var(--blue);
  font-weight: 900;
}

.auth-tabs button {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.auth-tabs button::after,
.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.34) 48%, transparent 72%);
  transform: translateX(-120%);
  pointer-events: none;
}

.auth-tabs button:hover,
.auth-tabs button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 75, 118, .16);
}

.auth-tabs button.active {
  animation: auth-tab-pop 260ms ease both;
}

.auth-tabs button.active::after {
  animation: auth-shine 1100ms ease both;
}

.primary {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary:hover,
.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 75, 118, .22);
  filter: saturate(1.08);
}

.primary:hover::after,
.primary:focus-visible::after {
  animation: auth-shine 950ms ease both;
}

@keyframes auth-shine {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes auth-tab-pop {
  0% { transform: scale(.98); }
  65% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-tabs button,
  .primary {
    transition: none;
    animation: none !important;
  }

  .auth-tabs button::after,
  .primary::after {
    display: none;
  }
}

.team-panel {
  margin-top: 18px;
}

#memberList,
#invitationList {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafb;
}
