.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,201,167,0.1) 0%, transparent 70%),
              var(--navy-dark);
}

.auth-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.auth-logo b { color: var(--green); }

.auth-tabs {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 2rem;
  gap: 4px;
}
.auth-tab {
  flex: 1;
  padding: 0.6rem;
  border-radius: calc(var(--radius-md) - 2px);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}
.auth-tab.active {
  background: var(--teal);
  color: #041420;
}

.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.auth-form.hidden { display: none; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text);
  padding: 0.72rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus {
  border-color: rgba(0,201,167,0.5);
  background: rgba(0,201,167,0.04);
}
.form-group input::placeholder { color: rgba(255,255,255,0.25); }

.input-wrap { position: relative; }
.input-wrap input { padding-right: 2.8rem; }

.auth-form__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.forgot-link { color: var(--teal); font-size: 0.82rem; transition: opacity var(--transition); }
.forgot-link:hover { opacity: 0.75; }

.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  color: var(--text-muted); font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--card-border);
}

.btn-social {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  padding: 0.72rem 1rem;
  font-size: 0.88rem; font-weight: 500;
  transition: all var(--transition);
}
.btn-social:hover { border-color: rgba(255,255,255,0.3); color: var(--text); background: rgba(255,255,255,0.08); }

.auth-terms {
  font-size: 0.78rem; color: var(--text-muted);
  text-align: center; line-height: 1.6;
}
.auth-terms a { color: var(--teal); }
