/* ===== LOGIN PAGE ===== */
.login-body { overflow: hidden; }

.login-container {
  display: flex;
  min-height: 100vh;
}

/* LEFT SIDE */
.login-left {
  flex: 1;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark svg { display: block; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-family: var(--font-mono);
}

.login-tagline {
  z-index: 2;
}

.login-tagline h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.login-tagline h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.login-tagline p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 320px;
  line-height: 1.6;
}

/* DECORATIVE GRID */
.deco-grid {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 340px; height: 340px;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at bottom right, black 20%, transparent 70%);
}

/* RIGHT SIDE */
.login-right {
  width: 460px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--bg);
}

.login-card {
  width: 100%;
  max-width: 380px;
}

.login-card h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.login-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 32px;
}

.login-card .btn-primary {
  padding: 14px 24px;
  font-size: 15px;
  margin-top: 8px;
}

.btn-arrow {
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.login-footer {
  text-align: center;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .login-container { flex-direction: column; }
  .login-left {
    min-height: 240px;
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px;
  }
  .login-tagline h1 { font-size: 36px; }
  .login-right { width: 100%; padding: 32px; }
}

@media (max-width: 480px) {
  .login-left { padding: 24px; min-height: 200px; }
  .login-tagline h1 { font-size: 28px; }
  .login-right { padding: 24px; }
}
