/* Version: v1.0.0 (2026-07-08) */
/* Environment: 999pay 통합 관리자 로그인 페이지 CSS */
/* Author: Cursor Agent (Approved by SHIN) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --al-navy: #0B1220;
  --al-sidebar: #26344B;
  --al-blue: #3B82F6;
  --al-gold: #C9A227;
  --al-white: #FFFFFF;
  --al-wash: #F7F9FC;
  --al-line: #E7ECF3;
  --al-muted: #64748B;
  --al-text: #0F172A;
  --al-error: #EF4444;
}

*, *::before, *::after { box-sizing: border-box; }

html, body.al-body {
  margin: 0; height: 100%;
  font-family: Pretendard, 'Noto Sans KR', system-ui, sans-serif;
  font-weight: 500;
  background: var(--al-navy);
}

.al-shell {
  display: flex; min-height: 100vh;
}

/* ── Left Branding Panel ── */
.al-left {
  width: 420px; flex-shrink: 0;
  background: linear-gradient(160deg, #0B1220 0%, #1a2a45 60%, #0d1e38 100%);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 3rem 3rem 3rem 3.5rem;
  position: relative; overflow: hidden;
}
.al-left::before {
  content: '';
  position: absolute; top: -60px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.al-left::after {
  content: '';
  position: absolute; bottom: -40px; left: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.al-logo-icon {
  width: 3rem; height: 3rem; border-radius: 14px;
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; margin-bottom: 1.5rem;
}
.al-brand-name {
  font-size: 1.8rem; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; margin: 0 0 0.5rem;
}
.al-brand-sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 2.5rem;
}
.al-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.al-features li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.7);
}
.al-features li i { color: var(--al-blue); font-size: 0.85rem; width: 1rem; text-align: center; }

.al-left-foot {
  margin-top: auto; font-size: 0.72rem; color: rgba(255,255,255,0.25);
}

/* ── Right Form Panel ── */
.al-right {
  flex: 1; background: var(--al-wash);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.al-card {
  width: 100%; max-width: 440px;
  background: var(--al-white);
  border-radius: 20px;
  box-shadow: 0 8px 48px -12px rgba(11,18,32,0.14), 0 1px 4px rgba(0,0,0,0.04);
  padding: 2.5rem;
}
.al-card-head { margin-bottom: 1.5rem; }
.al-card-title { font-size: 1.45rem; font-weight: 800; color: var(--al-text); margin: 0 0 0.35rem; letter-spacing: -0.02em; }
.al-card-sub { font-size: 0.85rem; color: var(--al-muted); margin: 0; }

/* ── Role Selector ── */
.al-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.al-role-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.45rem; padding: 1rem 0.75rem;
  border: 2px solid var(--al-line); border-radius: 12px;
  background: var(--al-wash); cursor: pointer;
  transition: all 0.18s; font-family: inherit;
}
.al-role-btn i { font-size: 1.3rem; color: var(--al-muted); transition: color 0.18s; }
.al-role-btn span { font-size: 0.8rem; font-weight: 700; color: var(--al-muted); transition: color 0.18s; }
.al-role-btn.is-active {
  border-color: var(--al-blue); background: rgba(59,130,246,0.07);
}
.al-role-btn.is-active i, .al-role-btn.is-active span { color: var(--al-blue); }

/* ── Form Fields ── */
.al-field { margin-bottom: 1rem; }
.al-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--al-muted); margin-bottom: 0.4rem; letter-spacing: 0.04em; text-transform: uppercase; }
.al-input {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--al-line); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; color: var(--al-text);
  background: var(--al-wash); outline: none;
  transition: border-color 0.18s;
}
.al-input:focus { border-color: var(--al-blue); background: #fff; }

.al-error {
  display: none; font-size: 0.82rem; color: var(--al-error);
  margin: 0.5rem 0 0; padding: 0.6rem 0.9rem;
  background: rgba(239,68,68,0.07); border-radius: 8px;
}
.al-error.is-show { display: block; }

.al-btn {
  width: 100%; margin-top: 1.25rem;
  padding: 0.85rem; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #1E3A8A, #3B82F6);
  color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700;
  cursor: pointer; letter-spacing: -0.01em;
  transition: opacity 0.18s, transform 0.12s;
}
.al-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.al-btn:active { transform: translateY(0); }

.al-demo-link {
  display: block; text-align: center; margin-top: 1rem;
  font-size: 0.82rem; color: var(--al-muted); text-decoration: none;
}
.al-demo-link a { color: var(--al-blue); font-weight: 700; }

@media (max-width: 767px) {
  .al-left { display: none; }
  .al-card { padding: 1.75rem; }
}
