@charset "UTF-8";
/* pub/login.html — 사용자 정적: static/usr/css */
/* ── 로그인 페이지 전체 ── */
.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  width: 100%;
  max-width: 100%;
  background: #f0ede6; /* 전체 크림/베이지 배경 — 앰버 메인 컬러를 은은하게 표현 */
}

#login-app {
  width: 100%;
  max-width: 100%;
}

/* ── 왼쪽 비주얼 패널 — 비율 1 (flex: 2) ── */
.login-visual {
  display: none; /* 모바일 기본 숨김 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 2;          /* 왼쪽 비율 2 */
  position: relative;
  overflow: hidden;
  background: #f0ede6;
}
@media (min-width: 1024px) {
  .login-visual { display: flex; }
}

/* ── 왼쪽 패널 내부 콘텐츠 ── */
.login-visual__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  text-align: center;
}

/* ── 로고 원형 카드 + 아이콘 배지 래퍼 ── */
.login-logo-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
}

/* 흰색 원형 카드 (로고 담는 원) */
.login-logo-circle {
  position: absolute;
  inset: 20px; /* 배지 공간 확보 */
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 원형 카드 안의 로고 이미지 */
.login-logo-circle img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

/* 아이콘 배지 공통 스타일 */
.login-icon-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}
.login-icon-badge svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  stroke: #ffffff;
}

/* 배지 위치 — 오른쪽 상단 */
.login-icon-badge--top-right {
  top: 4px;
  right: 4px;
}
/* 배지 위치 — 왼쪽 하단 */
.login-icon-badge--bottom-left {
  bottom: 4px;
  left: 4px;
}

/* 헤드라인 */
.login-visual__headline {
  font-size: 30px;
  font-weight: 800;
  color: #1a1c23;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* 설명 문구 */
.login-visual__desc {
  font-size: var(--rss-font-base);
  color: #7c7c7c;
  line-height: 1.9;
}

/* 문의 전화 강조 */
.login-visual__contact {
  margin-top: 18px;
  font-size: var(--rss-font-md);
  font-weight: 800;
  color: #1a1c23;
  letter-spacing: 0.01em;
}

/* 저작권 · 숨김 개발 메뉴(5회 탭) */
.login-visual__footer-wrap {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  z-index: 5;
}

.login-visual__footer {
  font-size: var(--rss-font-sm);
  color: #b8b2a8;
  margin: 0;
  cursor: default;
  user-select: none;
  text-align: center;
  white-space: nowrap;
}

.login-dev-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(26, 28, 35, 0.08);
  box-shadow: 0 12px 32px rgba(26, 28, 35, 0.18);
}

.login-dev-menu[hidden] {
  display: none;
}

.login-dev-menu__title {
  margin: 0 0 8px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.login-dev-menu__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #1a1c23;
  font-size: var(--rss-font-sm);
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.login-dev-menu__item:hover,
.login-dev-menu__item:focus {
  background: #f5f2eb;
  color: #1a1c23;
  outline: none;
}

.login-dev-menu__item + .login-dev-menu__item {
  margin-top: 4px;
}

/* ── 오른쪽 폼 패널 — 비율 1.5 (flex: 3) ── */
.login-form-panel {
  flex: 3;          /* 오른쪽 비율 3 → 왼쪽 2 : 오른쪽 3 = 1 : 1.5 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  background: #f5f2eb; /* 오른쪽도 크림 계열 */
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 1023px) {
  .login-page {
    flex-direction: column;
  }
  .login-form-panel {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
  }
}
@media (max-width: 640px) {
  .login-form-panel { padding: 24px 20px; }
  .login-card__body { padding: 24px 20px 20px; }
  .login-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .login-meta-row .find-links {
    width: 100%;
    justify-content: flex-end;
  }
  .login-notice-box {
    white-space: normal;
    text-align: center;
    line-height: 1.5;
  }
}

/* ── 로그인 카드 ── */
.login-card {
  width: 100%;
  max-width: 420px;  /* 오른쪽 패널이 넓어졌으므로 카드도 확장 */
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  overflow: hidden;
}

/* 카드 상단 앰버 라인 */
.login-card__top-line {
  height: 4px;
  background: linear-gradient(90deg, #F59E0B 0%, #fbbf24 100%);
}

/* 카드 내부 패딩 */
.login-card__body {
  padding: 28px 28px 24px;
}

/* 카드 타이틀 */
.login-card__title {
  font-size: var(--rss-font-2xl);
  font-weight: 800;
  color: #1a1c23;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.login-card__subtitle {
  font-size: var(--rss-font-base);
  color: #9ca3af;
  text-align: center;
  margin-bottom: 20px;
}

/* 아이디/비밀번호 입력 + 로그인 버튼 가로 배치 래퍼 */
.login-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

/* 입력 필드 (아이콘 포함) */
.login-input-wrap {
  position: relative;
}
.login-input-wrap .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 15px;
  height: 15px;
}
.login-input-field {
  width: 100%;
  padding: 11px 13px 11px 36px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: var(--rss-font-base);
  color: #1a1c23;
  background: #fafafa;
  outline: none;
  transition: border-color 0.15s;
}
.login-input-field:focus {
  border-color: #F59E0B;
  background: #fff;
}
.login-input-field::placeholder { color: #c4c9d4; }

/* 비밀번호 토글 버튼 */
.pw-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 2px;
  display: flex;
  align-items: center;
}
.pw-toggle-btn:hover { color: #6b7280; }

/* 로그인 버튼 (앰버) */
.login-submit-btn {
  width: 100%;
  padding: 13px;
  background: #F59E0B;
  color: #ffffff;
  font-size: var(--rss-font-md);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
  margin-top: 4px;
}
.login-submit-btn:hover { background: #d97706; }

/* 자동로그인 + 찾기 링크 행 */
.login-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 16px;
}
.login-meta-row label {
  font-size: var(--rss-font-base);
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.login-meta-row .find-links {
  display: flex;
  gap: 10px;
}
.login-meta-row .find-links a {
  font-size: var(--rss-font-sm);
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}
.login-meta-row .find-links a:hover { color: #6b7280; }

/* 구분선 or */
.login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: var(--rss-font-sm);
  color: #c4c9d4;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* 회원가입 버튼 */
.login-signup-btn {
  width: 100%;
  padding: 12px;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: var(--rss-font-base);
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.login-signup-btn:hover { border-color: #F59E0B; color: #1a1c23; }

/* 안내 박스 */
.login-notice-box {
  margin-top: 12px;
  padding: 11px 12px;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 8px;
  font-size: var(--rss-font-sm);
  color: #7c7c7c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.login-notice-box strong { color: #374151; }

/* 테스트 빠른 로그인 */
.login-test-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0ede6;
}
.login-test-label {
  font-size: var(--rss-font-sm);
  color: #b8b2a8;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.login-test-btns {
  display: flex;
  gap: 6px;
}
.login-test-btn {
  flex: 1;
  padding: 8px 4px;
  border: 1.5px solid #e5e7eb;
  border-radius: 7px;
  font-size: var(--rss-font-sm);
  font-weight: 600;
  color: #6b7280;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: border-color 0.15s, color 0.15s;
}
.login-test-btn:hover { border-color: #F59E0B; color: #1a1c23; }

/* 모바일 전용 로고 */
.login-mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.login-mobile-logo img { height: 56px; width: auto; }
@media (min-width: 1024px) { .login-mobile-logo { display: none; } }

/* 서버·Vue 알림 (프레임워크 연동) */
.login-alert {
	font-size: var(--rss-font-sm);
	text-align: center;
	margin-bottom: 10px;
	line-height: 1.45;
}
.login-alert--success { color: var(--rss-success); }
.login-alert--error { color: var(--rss-danger-dark); }
