/* Login & auth layout */
.login-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--nav-h));
}
.login-panel {
  display: grid; place-items: center; padding: 40px 24px; background: var(--bg);
}
.login-card {
  width: min(400px, 100%); background: #fff; border: 1px solid #eef2f7;
  border-radius: 20px; padding: 40px 34px; box-shadow: var(--shadow-sm);
}
.login-card .back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 22px; }
.login-card .back:hover { color: var(--primary); }
.login-card h2 { font-size: 1.6rem; }
.login-card .sub { color: var(--text-muted); font-size: 0.92rem; margin: 8px 0 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 11px;
  font-family: var(--font); font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

.row-between { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 20px; font-size: 0.85rem; }
.check { display: flex; align-items: center; gap: 8px; color: var(--text-muted); cursor: pointer; }
.check input { accent-color: var(--primary); width: 15px; height: 15px; }
.link { color: var(--primary); font-weight: 600; }
.link:hover { text-decoration: underline; }

.btn-pass { width: 100%; padding: 14px; }

.login-foot { text-align: center; font-size: 0.88rem; color: var(--text-muted); margin-top: 22px; }

.auth-visual {
  background: linear-gradient(140deg, #0b1220 0%, #111c3a 50%, #1e1b4b 100%);
  color: #fff; display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden;
}
.auth-visual::before, .auth-visual::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.auth-visual::before { width: 420px; height: 420px; background: #2563eb; top: -140px; right: -100px; }
.auth-visual::after { width: 380px; height: 380px; background: #7c3aed; bottom: -140px; left: -100px; }
.auth-visual .inner { max-width: 400px; position: relative; z-index: 1; }
.auth-visual .mark {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad); margin-bottom: 26px;
}
.auth-visual .mark svg { width: 28px; height: 28px; }
.auth-visual h3 { font-size: 1.5rem; margin-bottom: 14px; }
.auth-visual p { color: rgba(255,255,255,0.75); margin-bottom: 30px; }
.auth-points { display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.9); }
.auth-points .pt-num {
  flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 7px; background: rgba(255,255,255,0.15); font-size: 0.72rem; font-weight: 700;
}

.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 8px; color: var(--text-muted); font-size: 1.05rem;
}

@media (max-width: 860px) {
  .login-split { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}