/* ============================================================
   LOGIN.CSS — страница входа и регистрации
   ============================================================ */

.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
}
.login-glow {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none; border-radius: 50%;
}
.login-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
}
.login-header { text-align: center; margin-bottom: 40px; }
.login-header__icon {
  width: 68px; height: 68px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.login-header__icon svg {
  width: 32px; height: 32px;
  stroke: var(--gold); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.login-header__title {
  font-family: Georgia, serif;
  font-size: 26px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
}
.login-header__sub { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---- TABS ---- */
.tabs {
  display: flex;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 4px;
  margin-bottom: 28px;
}
.tab-btn {
  flex: 1; padding: 10px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: none; background: transparent; color: var(--muted);
  border-radius: 8px; transition: all 0.2s; cursor: pointer;
}
.tab-btn.active {
  background: var(--gold); color: #000;
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
}

/* ---- FORM PANEL ---- */
.login-form-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.form-group { margin-bottom: 20px; }
.input-wrap { position: relative; }
.input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px;
  stroke: var(--muted2); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.input-eye {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted2);
  cursor: pointer; padding: 2px; line-height: 1;
  transition: color 0.2s;
}
.input-eye:hover { color: #fff; }
.input-eye svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-footer {
  text-align: center; font-size: 13px;
  color: var(--muted); margin-top: 20px;
}
.form-footer a, .form-footer button {
  color: var(--gold); font-weight: 700;
  background: none; border: none; cursor: pointer;
  font-size: 13px;
}
.form-footer a:hover, .form-footer button:hover { color: #c9a42f; }
