/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Layout ===== */
.board-wrap {
  max-width: 960px;
  margin: 30px auto;
  padding: 0 15px;
}

.board-title {
  font-size: 22px;
  font-weight: bold;
  padding: 20px 0 15px;
  border-bottom: 2px solid #333;
  margin-bottom: 20px;
}

.notice-link {
  font-weight: bold !important;
}

/* ===== Table ===== */
.board-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.board-table th {
  background: #1F1812;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.05em;
}

.board-table td {
  padding: 8px 4px;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  text-align: center;
}

.board-table td.td-subject {
  text-align: left;
}

.board-table tr:hover td {
  background: #fafafa;
}

.board-table tr.notice td {
  background: #fffef0;
}

/* ===== Subject ===== */
.td-subject a {
  font-weight: 400;
}

.td-subject a:hover {
  text-decoration: underline;
}

.depth-indent {
  display: inline-block;
}

.icon-reply {
  color: #0066cc;
  font-size: 12px;
  margin-right: 3px;
}

.icon-lock {
  color: #999;
  font-size: 12px;
  margin-left: 4px;
}

.icon-notice {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 5px;
  font-family: 'dotum';
  letter-spacing: -0.05em;
}

.icon-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #27ae60;
  color: #fff;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
  font-family: 'Tahoma', 'Verdana', sans-serif;
}

.reply-mark {
  color: #999;
  font-size: 12px;
}

/* ===== Paging ===== */
.paging-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position:relative; text-align:center;
}

.paging {
  text-align: center;
  padding: 20px 0;
}

.paging a,
.paging strong {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 12px;
  border-radius: 3px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.paging strong {
  background: #333;
  color: #fff;
  border-color: #333;
}

.paging a:hover {
  background: #f0f0f0;
}

/* ===== Buttons ===== */
.btn-area {
  padding: 15px 0;
  text-align: right;
}

.btn-area.center {
  text-align: center;
}

.btn,
.search-area button {
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  border: 1px solid #ccc !important;
  background: #fff !important;
  cursor: pointer;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif !important;
  letter-spacing: -0.025em;
  margin: 0;
  box-sizing: border-box;
  line-height: 1;
}

.btn:hover {
  background: #f0f0f0 !important;
}

.btn-primary:hover {
  background: #555;
}

.btn-danger {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

.btn-danger:hover {
  background: #c0392b;
}

.btn-write {
  position:absolute; right:0; top:50%; transform:translateY(-15px);
}

/* ===== View ===== */
.view-image-wrap {
  text-align: center;
  margin: 20px 0;
}

.view-image-wrap img {
  max-width: 100%;
}

.view-wrap {
  background: #fff;
  border-top: 2px solid #333;
}

.view-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.view-header .view-subject {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.view-header .view-info {
  font-size: 12px;
  color: #999;
}

.view-header .view-info span {
  margin-right: 15px;
}

.view-content {
  padding: 20px 15px;
  min-height: 200px;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-size: 15px;
  letter-spacing: -0.025em;
  color: #111;
}

.view-content img {
  max-width: 100%;
  height: auto;
}

.view-files {
  padding: 15px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.view-files img {
  max-width: 100%;
  margin: 5px 0;
  display: block;
}

/* ===== Form ===== */
.form-wrap {
  background: #fff;
  border-top: 2px solid #333;
  padding: 20px;
}

.form-group {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.form-group label {
  width: 120px;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  letter-spacing: -0.025em;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group select {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ddd;
  font-size: 13px;
  border-radius: 3px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.form-group textarea {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  border-radius: 3px;
  height: 250px;
  resize: vertical;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #999;
  outline: none;
}

.form-group .checkbox-label {
  font-weight: normal;
  width: auto;
  margin-left: 5px;
}

/* ===== Password Check ===== */
.password-check {
  max-width: 400px;
  margin: 50px auto;
  background: #fff;
  padding: 30px;
  border-top: 2px solid #333;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  letter-spacing: -0.025em;
}

.password-check h3 {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

/* ===== Search ===== */
.search-area {
  text-align: center;
  padding: 15px 0;
}

.search-area select,
.search-area input[type="text"] {
  padding: 7px 10px;
  border: 1px solid #ddd;
  font-size: 13px;
  border-radius: 3px;
}

.search-area select {
  padding: 6px 10px;
}

.search-area input[type="text"] {
  width: 200px;
}

/* ===== Privacy ===== */
.privacy-btn-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.privacy-btn-wrap input[type="radio"] {
  margin: 0;
}

/* ===== Reservation ===== */
.table-view {
  width: 100%;
}

.table-view td {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  letter-spacing: -0.025em;
  font-size: 14px;
}