*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  background: #f5f6f8; min-height: 100vh;
  display: flex; flex-direction: column; color: #222;
}
.pl-top {
  padding: 16px 24px; border-bottom: 1px solid #e5e7eb; background: #fff;
}
.pl-top a.logo {
  font-size: 22px; font-weight: 800; color: #e84545; text-decoration: none;
  display: inline-flex; align-items: center;
}
.pl-top a.logo span { color: #2c3e50; }
.pl-top .logo-img { height: 40px; width: auto; display: block; }

.pl-wrap {
  flex: 1; display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px;
}
.pl-card {
  width: 100%; max-width: 480px; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 32px 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.pl-title { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.pl-sub   { font-size: 13px; color: #666; text-align: center; margin-bottom: 24px; }

.pl-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.pl-label {
  font-size: 12px; font-weight: 700; color: #374151;
  display: flex; align-items: center; gap: 4px;
}
.pl-label .req { color: #e84545; }
.pl-form { display: flex; flex-direction: column; gap: 12px; }
.pl-input {
  width: 100%; padding: 12px 14px; font-size: 14px;
  border: 1px solid #d1d5db; border-radius: 6px; background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.pl-input:focus { border-color: #e84545; box-shadow: 0 0 0 3px rgba(232,69,69,.15); }
.pl-help  { font-size: 11px; color: #9ca3af; }
.pl-error { font-size: 12px; color: #dc2626; }

.pl-btn {
  width: 100%; padding: 13px; font-size: 15px; font-weight: 700;
  background: #e84545; color: #fff; border: none; border-radius: 6px;
  cursor: pointer; transition: background .15s;
  font-family: inherit; margin-top: 4px;
}
.pl-btn:hover { background: #c73652; }

.pl-divider {
  display: flex; align-items: center; gap: 10px;
  color: #9ca3af; font-size: 12px; margin: 18px 0 12px;
}
.pl-divider::before, .pl-divider::after {
  content: ''; flex: 1; height: 1px; background: #e5e7eb;
}

.pl-signup {
  width: 100%; padding: 12px; font-size: 14px; font-weight: 700;
  background: #fff; color: #2c3e50; border: 1px solid #d1d5db; border-radius: 6px;
  cursor: pointer; text-align: center; text-decoration: none;
  display: block; transition: background .15s;
}
.pl-signup:hover { background: #f7f9fc; }
.pl-signup b { color: #e84545; }

.pl-agree {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #374151;
  padding: 10px 12px; background: #f7f9fc;
  border: 1px solid #e5e7eb; border-radius: 6px;
  margin: 6px 0 16px;
}
.pl-agree input { width: 16px; height: 16px; accent-color: #e84545; }
.pl-agree a { color: #2563eb; text-decoration: underline; }

.pl-bottom {
  text-align: center; margin-top: 18px; font-size: 13px; color: #6b7280;
}
.pl-bottom a { color: #e84545; font-weight: 700; text-decoration: none; }
.pl-bottom a:hover { text-decoration: underline; }

.pl-errors {
  background: #fff5f5; border: 1px solid #fecaca; color: #b91c1c;
  padding: 10px 12px; border-radius: 6px; font-size: 13px;
  margin-bottom: 14px;
}
.pl-errors ul { padding-left: 18px; }
.pl-field-err { font-size: 12px; color: #dc2626; margin-top: -6px; }

/* ── 모바일 ── */

/* 아이디·비밀번호 찾기 링크 줄 (로그인/찾기 화면 공통) */
.pl-links {
  margin-top: 16px; text-align: center;
  font-size: 13px; color: #9ca3af;
}
.pl-links a { color: #4b5563; text-decoration: none; }
.pl-links a:hover { color: #e84545; text-decoration: underline; }
.pl-links-sep { margin: 0 8px; color: #d1d5db; }

/* 안내(성공) 메시지 박스 — 비밀번호 변경 완료 등 */
.pl-notice {
  background: #f0f9f4; border: 1px solid #bbe5cb; color: #166534;
  border-radius: 6px; padding: 10px 12px; margin-bottom: 16px; font-size: 13px;
}
.pl-notice ul { padding-left: 18px; }

/* 아이디 찾기 결과 박스 */
.pl-result {
  background: #f7f9fc; border: 1px solid #e3e8ef;
  border-radius: 8px; padding: 14px; margin-bottom: 18px;
}
.pl-result-head { font-size: 13px; color: #4b5563; margin-bottom: 10px; }
.pl-result-list { list-style: none; padding: 0; margin: 0 0 8px; }
.pl-result-list li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef1f5;
}
.pl-result-list li:last-child { border-bottom: 0; }
.pl-result-list b { font-size: 16px; letter-spacing: .5px; color: #2c3e50; }
.pl-result-date { font-size: 12px; color: #9ca3af; white-space: nowrap; }

@media (max-width: 480px) {
  .pl-top { padding: 14px 16px; }
  .pl-wrap { padding: 24px 12px; }
  .pl-card { padding: 24px 18px; border-radius: 8px; }
  .pl-title { font-size: 20px; }
}
