/* ── TUMAN ADMIN — login.css ── */

.login-page {
  min-height: 100vh; display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-base);
}

/* Left branding panel */
.login-left {
  background: linear-gradient(160deg, #7C3AED 0%, #5B21B6 60%, #4C1D95 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 56px; position: relative; overflow: hidden;
}
.login-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(245,158,11,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(16,185,129,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.login-left::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(245,158,11,0.10); pointer-events: none;
}
.login-left__logo {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; margin-bottom: 40px; position: relative; z-index: 1;
}
.login-left__brand {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  letter-spacing: -0.5px; color: #fff;
}
.login-left__brand span { color: var(--accent-amber); }
.login-left__tagline {
  font-size: 14px; color: rgba(255,255,255,0.75); text-align: center; line-height: 1.6;
  max-width: 280px; position: relative; z-index: 1;
}
.login-left__features { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; width: 100%; max-width: 300px; }
.login-feature {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 14px 18px; backdrop-filter: blur(4px);
}
.login-feature i { font-size: 22px; color: var(--accent-amber); width: 28px; text-align: center; }
.login-feature__text { flex: 1; }
.login-feature__title { font-weight: 700; font-size: 13px; color: #fff; }
.login-feature__sub { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* Right form panel */
.login-right {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px; background: #fff;
}
.login-form-box { width: 100%; max-width: 400px; }
.login-form-box__heading {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--text-primary); margin-bottom: 6px;
}
.login-form-box__sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.login-form-box__heading span { color: var(--accent-blue); }

.login-submit {
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  color: #fff; border: none; border-radius: 50px;
  padding: 14px 20px; font-size: 15px; font-weight: 700;
  width: 100%; cursor: pointer; margin-top: 8px;
  transition: opacity 150ms, transform 120ms, box-shadow 150ms;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
  font-family: var(--font-body);
}
.login-submit:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(124,58,237,0.4); }

.login-alt-link { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-secondary); }
.login-alt-link a { color: var(--accent-blue); font-weight: 700; }

.login-form-box .form-control {
  background: var(--bg-l3); border: 2px solid var(--border-base);
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px;
}
.login-form-box .form-control:focus { border-color: var(--accent-blue); background: #fff; }
.login-form-box .form-label { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }

/* Logo on mobile */
.login-mobile-logo {
  display: none; text-align: center; margin-bottom: 28px;
}
.login-mobile-logo__brand {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  color: var(--text-primary);
}
.login-mobile-logo__brand span { color: var(--accent-blue); }

/* Error box */
.login-error {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 13px; color: var(--danger); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .login-page { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { padding: 32px 24px; }
  .login-mobile-logo { display: block; }
  .login-form-box__heading { font-size: 24px; }
}
