/* 로그인 · 가입 신청 · 비밀번호 변경 화면 공통 스타일 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Apple SD Gothic Neo', '맑은 고딕', sans-serif;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.box {
  background: #fff;
  border-radius: 12px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

h1 { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.sub { text-align: center; color: #666; font-size: 14px; margin-bottom: 32px; }

.field { margin-bottom: 18px; }
label { display: block; font-size: 14px; font-weight: 600; color: #444; margin-bottom: 6px; }
.hint { font-size: 13px; color: #666; margin-top: 6px; }

input, select {
  width: 100%; height: 46px;
  border: 1.5px solid #ddd; border-radius: 8px;
  padding: 0 14px; font-size: 16px; color: #111;
  background: #fff;
}
input:focus, select:focus {
  border-color: #1a6b2b; outline: none;
  box-shadow: 0 0 0 3px rgba(26,107,43,.15);
}

.error {
  background: #fff0f0; border: 1px solid #ffc0c0;
  color: #c0392b; border-radius: 8px;
  padding: 12px 14px; font-size: 14px; margin-bottom: 18px;
}
.notice {
  background: #fff8e6; border: 1px solid #f0d089;
  color: #8a6100; border-radius: 8px;
  padding: 12px 14px; font-size: 14px; margin-bottom: 18px;
}
.success {
  background: #eef8f0; border: 1px solid #b9e0c3;
  color: #1a6b2b; border-radius: 8px;
  padding: 16px; font-size: 15px; line-height: 1.6; text-align: center;
}

button[type=submit] {
  width: 100%; height: 48px;
  background: #1a6b2b; color: #fff;
  font-size: 16px; font-weight: 700;
  border: none; border-radius: 8px; cursor: pointer;
  margin-top: 4px;
}
button[type=submit]:hover { background: #155922; }

.links {
  margin-top: 20px; text-align: center;
  font-size: 14px; color: #666;
}
.links a { color: #1a6b2b; font-weight: 600; text-decoration: none; }
.links a:hover { text-decoration: underline; }
