/* ============================================================================
   로그인 화면 — source_web 디자인 충실 차용
   ============================================================================ */

.login-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-left {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 200%;
  background: radial-gradient(circle, rgba(230,0,18,.15) 0%, transparent 70%);
}
.login-brand { position: relative; z-index: 1; }

.login-logo {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red), #ff3333);
  display: grid; place-items: center;
  font-size: 32px; color: var(--white);
  box-shadow: 0 8px 32px rgba(230,0,18,.4);
  margin-bottom: 24px;
}
.login-logo.daiso-logo-img {
  width: 72px; height: 72px;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}
.login-brand h1 { font-size: 32px; font-weight: 900; line-height: 1.3; margin-bottom: 12px; }
.login-brand p  { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }

.login-features { margin-top: 48px; display: grid; gap: 16px; position: relative; z-index: 1; }
.login-feature {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  font-weight: 500; font-size: 14px;
}
.login-feature i {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 16px;
}
.login-version {
  position: absolute; bottom: 30px; left: 60px;
  font-size: 12px; color: rgba(255,255,255,.4);
}

.login-right {
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  background: var(--white);
}
.login-form-wrap { width: 100%; max-width: 420px; }
.login-form-wrap h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.login-subtitle    { color: var(--muted); margin-bottom: 32px; font-size: 15px; }

.login-remember {
  display: inline-flex; align-items: center; gap: 8px;
  margin: -4px 0 18px; font-size: 14px; cursor: pointer;
}
.login-remember input { width: 16px; height: 16px; accent-color: var(--red); }

.login-assessment-title,
.login-quick-title {
  display: flex; align-items: center; gap: 10px;
  margin: 22px 0 14px;
  color: var(--muted); font-size: 13px;
}
.login-assessment-title::before,
.login-assessment-title::after,
.login-quick-title::before,
.login-quick-title::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.login-assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.login-assessment-card {
  min-height: 128px; padding: 16px 12px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #f8fbff; color: var(--navy);
  cursor: pointer; text-align: center;
  transition: all .18s ease;
  display: grid; align-content: center; justify-items: center; gap: 6px;
}
.login-assessment-card:hover,
.login-assessment-card:focus-visible,
.login-assessment-card.active {
  border-color: var(--blue); box-shadow: var(--shadow-md);
  transform: translateY(-2px); outline: none;
}
.login-assessment-card i { font-size: 26px; color: var(--blue); }
.login-assessment-card strong { font-size: 18px; font-weight: 800; line-height: 1.25; }
.login-assessment-card small  { color: var(--slate); font-size: 12px; line-height: 1.35; }

.login-message {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid #fecaca;
  display: none;
}
.login-message.is-shown { display: block; }
.login-message.success {
  background: var(--green-light);
  color: var(--green);
  border-color: #a7f3d0;
}

.login-forgot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.login-forgot a { color: var(--blue); }

/* ─────────── 모바일 ─────────── */
@media (max-width: 880px) {
  .login-wrapper { grid-template-columns: 1fr; }
  .login-left { padding: 40px 24px; min-height: 320px; }
  .login-features { display: none; }
  .login-version { left: 24px; bottom: 16px; }
  .login-right { padding: 32px 24px; }
}
