.text-muted {
  color: #6c757d !important; /* Bootstrap의 muted 색상 */
  text-decoration: none; /* 링크 스타일 제거 */
}

.text-muted a {
  color: inherit; /* 부모 요소의 색상 상속 */
  text-decoration: none;
}

/* 제목 스타일 */
h1 {
  font-size: 2rem;
  color: #333;
  border-bottom: 2px solid #f4623a;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.5rem;
  color: #f4623a;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* 테이블 스타일 */
.common_table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.common_table th,
.common_table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.common_table th {
  background-color: #f4623a;
  color: #fff;
  font-weight: bold;
}

.common_table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* 이유 목록 스타일 */
.reasons {
  list-style: none;
  padding: 0;
}

.reasons li {
  background-color: #f4f4f4;
  margin: 10px 0;
  padding: 15px;
  border-left: 5px solid #f4623a;
  border-radius: 4px;
}

.reasons li strong {
  color: #333;
}

/* 이미지 정렬 */
.image-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 각 섹션 구분 */
.section {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 8px;
  border-left: 5px solid #f4623a;
}

/* 공지사항 테이블 스타일 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

table th {
  background-color: #f4623a;
  color: #fff;
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* 페이지네이션 스타일 */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a {
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #f4623a;
  color: #fff;
}

/* 글쓰기 버튼 스타일 */
.new-post {
  text-align: right;
  margin-top: 20px;
}

.new-post button {
  background-color: #f4623a;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.new-post button:hover {
  background-color: #e04b2f;
}

/* user_warning 스타일 */
.user_warning {
  background-color: #ffe5e5;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.warning-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.warning-title {
  font-size: 1.5rem;
  color: #d9534f;
  font-weight: bold;
  margin-bottom: 10px;
}

.warning-container p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
}

.coming-soon-container-area {
  display: flex;
  justify-content: center;
}

.coming-soon-container {
  text-align: center;
  padding: 40px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
}

/* 제목 스타일 */
.coming-soon-container h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

/* 설명 텍스트 스타일 */
.coming-soon-container p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 홈으로 돌아가기 버튼 스타일 */
.home-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  color: #fff;
  background-color: #f4623a;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.home-button:hover {
  background-color: #e04b2f;
}

/* FAQ 전체 스타일 */
.faq {
  margin-top: 20px;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background-color: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e0e0e0;
}

.faq-answer {
  padding: 15px;
  display: none;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #fff;
  border-top: 1px solid #ddd;
}

/* FAQ가 열렸을 때 스타일 */
.faq-item.open .faq-answer {
  display: block;
}

/* 전체 레이아웃 */
.intro-container_area {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.intro-container {
  max-width: 800px;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 이미지 스타일 */
.intro-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* 제목 및 강조 텍스트 */
.highlight {
  color: #f4623a;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 15px 0;
}

/* 기능 목록 스타일 */
.features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.features li {
  font-size: 1rem;
  color: #333;
  padding: 5px 0;
}

/* 전체 레이아웃 */
.intro-container_area {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.intro-container {
  max-width: 800px;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 각 섹션 스타일 */
.intro-section {
  margin-bottom: 30px;
}

.intro-section h1 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.intro-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

/* 이미지 스타일 */
.intro-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.promise-container_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #f9f9f9;
  gap: 20px;
}

.promise-image {
  width: 150%; /* 이미지를 150%로 확대 */
  max-width: 750px; /* 최대 너비 제한 */
  text-align: center;
}

.promise-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.promise-container {
  max-width: 500px;
  width: 100%;
  padding: 20px;
  text-align: center;
}

.promise-container h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 20px;
}

.promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.promise-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 10px;
}

.promise-list li strong {
  color: #f4623a;
  font-size: 1.2rem;
  margin-right: 10px;
}

#mainNav {
  background-color: black !important; /* 스타일 강제 적용 */
  position: relative;
  z-index: 10; /* 다른 요소와 겹치지 않도록 */
}

.container {
  overflow: visible;
  margin-top: 130px;
}

.container table {
  color: black;
  font-size: 12px;
}

.container table th {
  font-size: 15px;
  text-align: center;
}

.container table a {
  color: black;
  font-size: 12px;
}

.pagination a {
  font-size: 12px; /* 원하는 폰트 크기로 변경 */
  color: #333;
  padding: 6px 12px; /* 여백도 조정 가능 */
  text-decoration: none;
  margin: 0 2px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.pagination a.active {
  background-color: #f4623a;
  color: white;
  border-color: #f4623a;
  pointer-events: none;
}

/* 첫 번째 <td> */
table tr td:nth-child(1),
table tr td:nth-child(3),
table tr td:nth-child(4) {
  text-align: center;
}

.kakao-consult-button {
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  z-index: 9999; 
  display: inline-block;
  padding: 10px 15px;
  color: #000; /* 텍스트 컬러 */
  border-radius: 5px; /* 버튼 모양 */
  text-decoration: none; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* 호버 시 스타일 */
.kakao-consult-button:hover {
  background-color: #eee;
}

.exchange-list img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 430px) {
  /* 테이블 전체 스타일 */
  table {
    width: 100%;
    border-collapse: collapse;
  }

  table td {
    font-size: 8px; /* 원하는 폰트 크기 */
  }

  /* 헤더 스타일 */
  thead th {
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
  }

  /* 각 열의 너비 설정 */
  thead th:nth-child(1) {
    width: 30px; /* 번호 */
    font-size: 10px;
  }

  thead th:nth-child(2) {
    width: 200px; /* 제목 */
    font-size: 10px;
  }

  thead th:nth-child(3) {
    width: 70px; /* 작성자 */
    font-size: 10px;
  }

  thead th:nth-child(4) {
    width: 100px; /* 날짜 */
    font-size: 10px;
  }

  thead td:nth-child(4) {
    font-size: 10px;
  }

  td a {
    display: block; /* 블록 요소로 변환 */
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
    overflow: hidden; /* 넘치는 내용 숨기기 */
    text-overflow: ellipsis; /* 넘치는 내용에 ... 표시 */
    max-width: 170px; /* 최대 너비 설정 (필요에 따라 변경 가능) */
  }
}
