/* 함정 숨김: display:none / hidden 속성 대신 외부 스타일시트의 화면 밖 클래스 사용.
   일부 봇은 인라인 display:none이나 hidden 속성을 확인하고 건너뛰기 때문. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  background: linear-gradient(135deg, #0f2a4a 0%, #1d4f7c 55%, #2f7bb0 100%);
  color: #1f2933;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 48px 24px;
  flex-wrap: wrap;
}
.brand { color: #e8f1fa; max-width: 380px; }
.logo {
  width: 52px; height: 52px; border-radius: 12px;
  background: #fff; color: #1d4f7c;
  display: grid; place-items: center;
  font-weight: 800; font-size: 26px; margin-bottom: 20px;
}
.brand h1 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.5px; }
.brand .sub { margin: 0 0 24px; opacity: .85; }
.notice { margin: 0; padding-left: 18px; line-height: 1.9; font-size: 14px; opacity: .8; }

.card {
  background: #fff;
  width: 100%;
  max-width: 380px;
  padding: 36px 32px 32px;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
  position: relative;
}
.card h2 { margin: 0 0 20px; font-size: 20px; }
.card label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; color: #3e4c59; }
.card input[type="text"], .card input[type="password"] {
  width: 100%; padding: 11px 12px; font-size: 15px;
  border: 1px solid #cbd2d9; border-radius: 8px; outline: none;
}
.card input:focus { border-color: #2f7bb0; box-shadow: 0 0 0 3px rgba(47, 123, 176, .2); }
.row { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 20px; font-size: 13px; }
.card .check { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; }
.muted { color: #616e7c; text-decoration: none; }
.muted:hover { text-decoration: underline; }
button {
  width: 100%; padding: 12px; font-size: 15px; font-weight: 700;
  border: 0; border-radius: 8px; background: #1d4f7c; color: #fff; cursor: pointer;
}
button:hover { background: #163d61; }
.error {
  background: #fdecea; color: #b42318; border: 1px solid #f5c2bd;
  padding: 10px 12px; border-radius: 8px; font-size: 13px; margin: 0 0 6px;
}
.foot { text-align: center; color: rgba(255, 255, 255, .6); font-size: 12px; padding: 18px; }
