/* Version: v1.3.0 (2026-08-05) */
/* HOAMLABS 통합 로그인 — White First (다크 풀블리드 제거) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('control-borders.css?v=1000');

:root {
  --al-ink: #0F172A;
  --al-deep: #F8FAFC;
  --al-primary: #0F5C61;
  --al-mid: #148A8F;
  --al-accent: #0F5C61;
  --al-soft: #E6F4F4;
  --al-wash: #F8FAFC;
  --al-line: #E2E8F0;
  --al-muted: #64748B;
  --al-text: #0F172A;
  --al-error: #DC2626;
  --al-white: #FFFFFF;
}

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

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

.al-shell { display: flex; min-height: 100vh; background: var(--al-white); }

.al-left {
  width: 420px; flex-shrink: 0;
  background: var(--al-white);
  border-right: 1px solid var(--al-line);
  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: -80px; right: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 92, 97, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.al-left::after {
  content: '';
  position: absolute; bottom: -50px; left: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 138, 143, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.al-brand-link {
  display: inline-block; text-decoration: none; cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.al-brand-link:hover { opacity: 0.9; transform: translateY(-1px); }
.al-brand-logo {
  width: 220px; max-width: 100%; height: auto;
  object-fit: contain; object-position: left center;
  margin-bottom: 1.25rem;
  filter: none;
}
.al-brand-sub {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--al-muted);
  margin: 0 0 2rem;
}
.al-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.al-features li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.86rem; color: var(--al-text); line-height: 1.45;
}
.al-features li i { color: var(--al-primary); font-size: 0.82rem; width: 1.1rem; text-align: center; }
.al-left-foot { margin-top: auto; font-size: 0.7rem; color: var(--al-muted); }

.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: 1px solid var(--al-line);
  border-radius: 28px;
  box-shadow: 0 12px 32px -20px rgba(15, 23, 42, 0.12);
  padding: 2.35rem 2.5rem 2.5rem;
}
.al-card-head { margin-bottom: 1.35rem; }
.al-card-title {
  font-size: 1.5rem; font-weight: 800; color: var(--al-text);
  margin: 0 0 0.4rem; letter-spacing: -0.02em;
}
.al-card-sub { font-size: 0.88rem; color: var(--al-muted); margin: 0; line-height: 1.5; }

.al-field { margin-bottom: 1rem; }
.al-label {
  display: block; font-size: 0.7rem; font-weight: 700;
  color: var(--al-muted); margin-bottom: 0.42rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.al-input {
  width: 100%; padding: 0.78rem 1rem;
  border: 1.5px solid var(--al-line); border-radius: 12px;
  font-family: inherit; font-size: 0.95rem; color: var(--al-text);
  background: var(--al-wash); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.al-input:focus {
  border-color: var(--al-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 92, 97, 0.12);
}

.al-pw-wrap { position: relative; }
.al-input--pw { padding-right: 2.85rem; }
.al-pw-toggle {
  position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%);
  width: 2.1rem; height: 2.1rem; border: none; border-radius: 8px;
  background: transparent; color: var(--al-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: color 0.15s, background 0.15s;
}
.al-pw-toggle:hover {
  color: var(--al-primary);
  background: var(--al-soft);
}
.al-pw-toggle:focus-visible {
  outline: 2px solid var(--al-accent);
  outline-offset: 2px;
}

.al-error {
  display: none; font-size: 0.82rem; color: var(--al-error);
  margin: 0.5rem 0 0; padding: 0.65rem 0.9rem;
  background: rgba(220, 38, 38, 0.06); border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.15);
}
.al-error.is-show { display: block; }

.al-btn {
  width: 100%; margin-top: 1.15rem;
  padding: 0.88rem 1rem; border: none; border-radius: 9999px;
  background: linear-gradient(135deg, var(--al-primary), var(--al-mid));
  color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700;
  cursor: pointer; letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -12px rgba(15, 92, 97, 0.55);
  transition: opacity 0.18s, transform 0.12s, box-shadow 0.18s;
}
.al-btn:hover {
  opacity: 0.95; transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(15, 92, 97, 0.5);
}
.al-btn:active { transform: translateY(0); }
.al-btn i { margin-right: 0.35rem; }

.al-field .al-input { display: block; min-height: 2.75rem; }

@media (max-width: 767px) {
  .al-left { display: none; }
  .al-card { padding: 1.85rem 1.65rem 2rem; border-radius: 22px; }
}
