/* policy.css - 개인정보처리방침 / 계정삭제 등 정책 페이지 공통 스타일 */

/* ── Reset & Base ── */
.policy-page {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #f5f5f7;
  font-size: 0.9375em;
}

.policy-page *,
.policy-page *::before,
.policy-page *::after {
  box-sizing: border-box;
}

/* ── Container ── */
.policy-container {
  max-width: 740px;
  margin: 24px auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@media (max-width: 600px) {
  .policy-container {
    margin: 0;
    border-radius: 0;
    padding: 24px 18px;
    box-shadow: none;
  }
}

/* ── Typography ── */
.policy-container h1 {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

.policy-subtitle {
  font-size: 0.8125em;
  color: #888;
  margin-bottom: 32px;
}

.policy-container h2 {
  font-size: 1.0625em;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  color: #111;
  border-left: 4px solid #4A90D9;
  padding-left: 12px;
}

.policy-container h3 {
  font-size: 0.9375em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #222;
}

.policy-container p {
  margin-bottom: 12px;
}

.policy-container ul,
.policy-container ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-container li {
  margin-bottom: 4px;
}

.policy-container a {
  color: #4A90D9;
  text-decoration: none;
}

.policy-container a:hover {
  text-decoration: underline;
}

/* ── Table ── */
.policy-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.875em;
}

.policy-container thead th {
  background: #f5f5f5;
  text-align: left;
  padding: 12px;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}

.policy-container th,
.policy-container td {
  border: 1px solid #e8e8e8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.policy-container th {
  background: #f8f8f8;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Info Box (연락처 등 강조 박스) ── */
.policy-info-box {
  background: #f5f8ff;
  border: 1px solid #d8e4f5;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 12px 0;
}

.policy-info-box p {
  margin-bottom: 4px;
}

/* ── Notice (주의사항 박스) ── */
.policy-notice {
  margin-top: 24px;
  padding: 16px 20px;
  background: #fff8e1;
  border-radius: 8px;
  font-size: 0.875em;
  color: #6d5a00;
}

/* ── Steps (절차 안내) ── */
.policy-steps {
  background: #f0f6ff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 8px;
}

.policy-steps ol {
  padding-left: 20px;
}

.policy-steps li {
  margin-bottom: 12px;
  font-size: 0.9375em;
}

.policy-steps li:last-child {
  margin-bottom: 0;
}

.policy-steps li strong {
  color: #2a6cb6;
}

/* ── Tags (삭제/보관 라벨) ── */
.tag-delete {
  display: inline-block;
  background: #ffe8e8;
  color: #c0392b;
  font-size: 0.75em;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.tag-retain {
  display: inline-block;
  background: #e8f5e9;
  color: #27864a;
  font-size: 0.75em;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── Footer ── */
.policy-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.8125em;
  color: #999;
  text-align: center;
}
