.tech-board-wrap {
}
/* ===== 카테고리 탭 ===== */
.tech-category-tabs {
  margin-bottom: 20px;
}
.tech-category-tabs ul {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  gap: .25rem;
}
.tech-category-tabs li a {
  display: block;
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid #eee;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}
.tech-category-tabs li.on a {
  color: #fff !important;
  font-weight: 600;
}
.tech-category-tabs li a:hover {
  color: #fff !important;
}
.tech-list table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #0056b3;
}
.tech-list th,
.tech-list td {
  border: 1px solid #ddd;
  padding: .5rem;
  text-align: center;
  font-size: 0.95rem;
}
.tech-list .td_subject {
  text-align: left;
}
.tech-list thead th {
  background: #f5f5f5;
  font-weight: 600;
}
.tech-list tr.even {
  background: #fafafa;
}
.td-subject a {
  color: #0073aa;
  text-decoration: none;
}
.td-subject a:hover {
  text-decoration: underline;
}

.btn-consult {
  display: inline-block;
  padding: 6px 12px;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
}
.btn-consult:hover {
  background: #0056b3;
}

.td-manage {
  white-space: nowrap;
}
.btn-manage {
  display: inline-block;
  margin: 0 2px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #fff;
}
.btn-manage.edit {
  background: #43a047;
}
.btn-manage.delete {
  background: #e53935;
}
.btn-manage.edit:hover {
  background: #2e7d32;
}
.btn-manage.delete:hover {
  background: #c62828;
}

.board-btn-area {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.board-btn-area a,
.board-btn-area button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.2s ease;
}
.btn-list {
  background: #e0e0e0;
  color: #333;
}
.btn-delete {
  background: #e53935;
  color: #fff;
  border: none;
}
.btn-write {
  background: #1e88e5;
  color: #fff;
}
.btn-admin {
  background: #6d4c41;
  color: #fff;
}
.btn-list:hover {
  background: #d5d5d5;
}
.btn-delete:hover {
  background: #c62828;
}
.btn-write:hover {
  background: #1565c0;
}
.btn-admin:hover {
  background: #5d4037;
}

#bo_sch {
  margin-top: 25px;
  text-align: right;
}
.sch_input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.btn_submit {
  padding: 6px 12px;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
.btn_submit:hover {
  background: #0056b3;
}

/* 글쓰기 */
.tech-write-wrap {
  max-width: 680px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.tech-write-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.form-row .req {
  color: #e53935;
  margin-left: 3px;
}

.form-row input[type=text],
.form-row input[type=url],
.form-row select,
.form-row input[type=file] {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus {
  border-color: #2196f3;
  outline: none;
}

.file-existing {
  margin-top: 5px;
  font-size: 0.9rem;
  color: #666;
}

.btn-area {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}