/* ============================================================
   LOGIN PAGE
   ============================================================ */
body { background: #0b1628; min-height: 100vh; }

.login-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(11,22,40,.95);
  backdrop-filter: blur(12px);
  color: #fff;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(212,168,67,.15);
}
.login-back {
  font-family: var(--font-condensed); font-weight: 600; font-size: .85rem;
  color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s;
}
.login-back:hover { color: #fff; }
.login-header-title {
  font-family: var(--font-impact); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .05em;
  position: absolute; left: 50%; transform: translateX(-50%);
}

.login-main {
  padding: 48px 16px 60px;
  display: flex; justify-content: center;
}
.login-container {
  width: 100%; max-width: 420px;
}

/* Tabs */
.login-tabs {
  display: flex; gap: 4px; margin-bottom: 0;
  background: rgba(255,255,255,.06);
  border-radius: 10px 10px 0 0; padding: 4px 4px 0;
}
.login-tab {
  flex: 1; padding: 12px 16px;
  font-family: var(--font-condensed); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.5); background: transparent;
  border: none; border-radius: 8px 8px 0 0; cursor: pointer;
  transition: all .2s;
}
.login-tab:hover { color: rgba(255,255,255,.8); }
.login-tab.active {
  background: #fff; color: #1a1a1a;
}

/* Panels */
.login-panel {
  display: none; background: #fff;
  border-radius: 0 0 12px 12px; padding: 32px 28px 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  text-align: center;
}
.login-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.login-icon { font-size: 2.5rem; margin-bottom: 12px; }
.login-panel h2 {
  font-family: var(--font-impact); font-weight: 700; font-size: 1.4rem;
  text-transform: uppercase; margin-bottom: 6px; color: #1a1a1a;
}
.login-desc {
  font-size: .82rem; color: #888; margin-bottom: 24px; line-height: 1.5;
}

/* Fields */
.field-group { margin-bottom: 14px; text-align: left; }
.field-label {
  display: block; font-family: var(--font-condensed); font-weight: 700;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: #333; margin-bottom: 4px;
}
.req { color: #8b2020; }
input[type="email"] {
  width: 100%; padding: 12px 14px;
  border: 1px solid #d0d0d0; border-radius: 6px;
  font-size: .9rem; font-family: var(--font-body);
  background: #fafafa; color: #1a1a1a;
  transition: all .2s;
}
input:focus {
  outline: none; border-color: #8b2020;
  box-shadow: 0 0 0 3px rgba(139,32,32,.08); background: #fff;
}

.login-error {
  background: #FEE2E2; color: #991B1B; border-radius: 6px;
  padding: 10px 14px; font-size: .8rem; margin-bottom: 14px;
  text-align: left;
}

.login-btn {
  width: 100%; justify-content: center; padding: 14px 24px;
  font-size: .9rem; margin-top: 6px;
}

.login-footer-text {
  font-size: .78rem; color: #999; margin-top: 20px;
}
.login-footer-text a { color: #8b2020; text-decoration: underline; }

@media (min-width: 600px) {
  .login-main { padding: 64px 24px 80px; }
  .login-panel { padding: 40px 36px 44px; }
}
