/* 개인정보처리방침 페이지 스타일 */

/* 기본 설정 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* 언어 전환 버튼 */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.language-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-btn:hover {
  background-color: #4338ca;
  transform: translateY(-1px);
}

.language-btn:active {
  transform: translateY(0);
}

/* 콘텐츠 래퍼 */
.content {
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
}

/* 제목 스타일 */
h1 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 8px;
  border-bottom: 3px solid #4f46e5;
  padding-bottom: 16px;
}

h2 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

h3 {
  font-size: 1.25rem;
  color: #374151;
  margin-top: 24px;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.1rem;
  color: #4b5563;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* 단락 */
p {
  margin-bottom: 16px;
  color: #4b5563;
}

/* 강조 텍스트 */
strong {
  color: #1f2937;
}

/* 수평선 */
hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 32px 0;
}

/* 리스트 */
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
  color: #4b5563;
}

/* 테이블 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}

thead {
  background-color: #f3f4f6;
}

th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border: 1px solid #e5e7eb;
}

td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  color: #4b5563;
}

tr:hover {
  background-color: #f9fafb;
}

/* 링크 */
a {
  color: #4f46e5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  body {
    padding: 12px;
  }

  .content {
    padding: 24px 16px;
    margin-top: 70px;
    border-radius: 8px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  table {
    font-size: 0.85rem;
  }

  th, td {
    padding: 8px 10px;
  }

  .language-switcher {
    top: 12px;
    right: 12px;
  }

  .language-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 20px 12px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.15rem;
  }
}
