@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");

* { margin: 0; padding: 0; box-sizing: border-box; }
#header { display: none; }

body {
  font-family: "Noto Sans KR", sans-serif;
  letter-spacing: -0.3px;
  min-height: 100vh;
  display: flex;
  background: #1a2744;
}

/* ── 좌측 브랜드 패널 ── */
.login-brand {
  width: 420px;
  min-height: 100vh;
  background: #1a2744;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 48px;
  flex-shrink: 0;
}

.brand-logo {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-align: center;
}

.brand-logo a {
  color: #fff;
  text-decoration: none;
}

.brand-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 48px;
}

.brand-features {
  width: 100%;
  max-width: 280px;
}

.brand-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-feature:last-child {
  border-bottom: none;
}

.brand-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.brand-feature-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.4;
}

.brand-feature-text strong {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

/* ── 우측 폼 패널 ── */
.login-form-panel {
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 40px;
}

main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 로그인 카드 ── */
.login-wrap {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 8px;
  padding: 40px 36px 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e6e7e9;
}

/* ── 타이틀 ── */
.login-wrap > h1 {
  font-size: 22px;
  font-weight: 800;
  text-align: left;
  margin-bottom: 4px;
  padding-bottom: 0;
  border-bottom: none;
  color: #1a1f36;
  letter-spacing: -0.5px;
}

.login-wrap > h1 a {
  color: #1a1f36;
  text-decoration: none;
}

.login-title-text {
  font-size: 22px;
  font-weight: 700;
  color: #1a1f36;
}

.login-subtitle {
  font-size: 14px;
  color: #6c7a89;
  margin-bottom: 28px;
  font-weight: 400;
}

/* ── 입력 필드 ── */
.id-box, .pw-box {
  margin-bottom: 18px;
}

.id-box > p, .pw-box > p {
  font-size: 13px;
  font-weight: 600;
  color: #354052;
  margin-bottom: 6px;
}

.id-box > input, .pw-box > input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dadcde;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1f36;
  background: #fff;
  outline: none;
  transition: all 0.15s;
}

.id-box > input:focus, .pw-box > input:focus {
  border-color: #0b5cff;
  box-shadow: 0 0 0 2px rgba(11, 92, 255, 0.15);
}

.id-box > input::placeholder, .pw-box > input::placeholder {
  font-size: 14px;
  color: #b0b8c4;
}

/* ── 아이디찾기 / 비밀번호찾기 ── */
.info_box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.info-search-box > a {
  font-size: 13px;
  color: #6c7a89;
  text-decoration: none;
  transition: color 0.15s;
}

.info-search-box > a:hover {
  color: #0b5cff;
}

.info-search-box > a:first-child {
  margin-right: 10px;
  position: relative;
  padding-right: 12px;
}

.info-search-box > a:first-child::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 12px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #dadcde;
}

/* ── 로그인 버튼 ── */
.login-wrap > button {
  width: 100%;
  height: 44px;
  padding: 0;
  background: #0b5cff;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 0;
}

.login-wrap > button:hover {
  background: #0847c4;
}

.login-wrap > button:active {
  background: #06369a;
}

/* ── 하단 영역 ── */
.join-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e6e7e9;
}

.join-txt-box {
  text-align: center;
  font-size: 13px;
  color: #6c7a89;
  font-weight: 500;
  cursor: default;
  margin-bottom: 0;
}

.join-txt-box > span:first-child {
  margin-right: 0;
}

.mem-reg-btn {
  color: #0b5cff !important;
  font-weight: 700;
  text-decoration: none !important;
  margin-left: 6px;
}

/* ── 체크박스 ── */
.id-save-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.id-save-box input[type="checkbox"] { display: none; }
.id-save-box label.checkbox-input {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1.5px solid #dadcde;
  border-radius: 4px;
  cursor: pointer;
}
.id-save-box input[type="checkbox"]:checked + .checkbox-input {
  background: #0b5cff;
  border-color: #0b5cff;
}
.id-save-box > label:last-child {
  font-size: 13px;
  color: #6c7a89;
  cursor: pointer;
}

/* SNS */
.join-sns-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.join-sns-box > a {
  display: inline-block;
  margin-right: 20px;
}

/* ── 반응형 ── */
@media screen and (max-width: 960px) {
  body {
    flex-direction: column;
  }
  .login-brand {
    width: 100%;
    min-height: auto;
    padding: 36px 32px 28px;
  }
  .brand-features {
    display: none;
  }
  .brand-sub {
    margin-bottom: 0;
  }
  .login-form-panel {
    min-height: auto;
    padding: 32px 20px 60px;
  }
}

@media screen and (max-width: 480px) {
  .login-brand {
    padding: 28px 24px 24px;
  }
  .brand-logo {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .brand-sub {
    font-size: 13px;
  }
  .login-form-panel {
    padding: 24px 16px 48px;
  }
  .login-wrap {
    padding: 28px 24px 24px;
  }
  .login-title-text {
    font-size: 20px;
  }
  .login-subtitle {
    font-size: 13px;
    margin-bottom: 24px;
  }
}
