/* ===== 고정 풋터 보정 ===== */
body.has-fixed-footer { padding-bottom: 70px; }
.site-footer {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 50; background: #fff; border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}

/* ===== 레이아웃 ===== */
.login-page {
  display: grid;
  grid-template-columns: 1.35fr 1fr; /* 좌/우 비율 */
  gap: 12px;                         /* 배너와 로그인 박스 간격 */
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 12px;
  align-items: start;
  min-height: calc(100vh - 70px);    /* 풋터 겹침 방지 */
}
@media (max-width: 700px) {
  .login-page { grid-template-columns: 1fr; }
}

/* ===== 좌측: 사진 박스 ===== */
.photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.photo-image {
  display: block;
  width: 100%;
  height: 350px;          /* 로그인 박스와 맞춘 높이 */
  object-fit: cover;
  background: #f8fafc;
}

/* (오버레이 로고 사용 안 함: 배너 자체에 로고 포함)
.banner-overlay, .banner-logo { display: none; }
*/

/* ===== 우측: 로그인 박스 ===== */
.login-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  padding: 20px 24px;
  max-width: 640px;       /* 확대 */
  width: 100%;
  margin-left: 0;         /* 배너쪽으로 붙임 */
}
.login-card h1 {
  margin: 0 0 14px;
  font-size: 22px;
  color: #111827;
}
.login-error {
  margin-bottom: 12px;
  color: #dc2626;
  font-weight: 600;
}

/* ===== 폼 ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14px;
  color: #111827;
}
.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
}
.form-group input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.18);
}

/* ===== 버튼 (메인과 동일: 실사 배경) ===== */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.login-card .btn-login,
.login-card .btn-register {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: none;

  /* ✅ 메인과 동일한 실사 배경 사용 */
  background-image: url("/static/images/banners/nav.png");
  background-size: cover;
  background-position: center;

  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: filter .15s ease, transform .12s ease;
}
.login-card .btn-login:hover,
.login-card .btn-register:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* ===== 링크 ===== */
.login-links {
  margin-top: 12px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.login-links a {
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.login-links a:hover { text-decoration: underline; }
