.text-primary {
  color: var(--primary-color, #007bff) !important;
}

.text-secondary-color {
  color: var(--secondary-color, #6c757d) !important;
}

.text-accent {
  color: var(--accent-color, #ff6a5c) !important;
}

.text-success-color {
  color: var(--success-color, #28a745) !important;
}

.text-warning-color {
  color: var(--warning-color, #ffc107) !important;
}

.text-error {
  color: var(--danger-color, #dc3545) !important;
}

.text-info-color {
  color: var(--info-color, #17a2b8) !important;
}

.bg-primary-color {
  background-color: var(--primary-color, #007bff) !important;
}

.bg-secondary-color {
  background-color: var(--secondary-color, #6c757d) !important;
}

.bg-accent {
  background-color: var(--accent-color, #ff6a5c) !important;
}

.bg-success-color {
  background-color: var(--success-color, #28a745) !important;
}

.bg-warning-color {
  background-color: var(--warning-color, #ffc107) !important;
}

.bg-error {
  background-color: var(--danger-color, #dc3545) !important;
}

.bg-info-color {
  background-color: var(--info-color, #17a2b8) !important;
}

.border-primary-color {
  border-color: var(--primary-color, #007bff) !important;
}

.border-secondary-color {
  border-color: var(--secondary-color, #6c757d) !important;
}

.border-accent {
  border-color: var(--accent-color, #ff6a5c) !important;
}

.text-primary {
  color: var(--primary-color, #007bff) !important;
}

.text-secondary-color {
  color: var(--secondary-color, #6c757d) !important;
}

.text-accent {
  color: var(--accent-color, #ff6a5c) !important;
}

.text-success-color {
  color: var(--success-color, #28a745) !important;
}

.text-warning-color {
  color: var(--warning-color, #ffc107) !important;
}

.text-error {
  color: var(--danger-color, #dc3545) !important;
}

.text-info-color {
  color: var(--info-color, #17a2b8) !important;
}

.bg-primary-color {
  background-color: var(--primary-color, #007bff) !important;
}

.bg-secondary-color {
  background-color: var(--secondary-color, #6c757d) !important;
}

.bg-accent {
  background-color: var(--accent-color, #ff6a5c) !important;
}

.bg-success-color {
  background-color: var(--success-color, #28a745) !important;
}

.bg-warning-color {
  background-color: var(--warning-color, #ffc107) !important;
}

.bg-error {
  background-color: var(--danger-color, #dc3545) !important;
}

.bg-info-color {
  background-color: var(--info-color, #17a2b8) !important;
}

.border-primary-color {
  border-color: var(--primary-color, #007bff) !important;
}

.border-secondary-color {
  border-color: var(--secondary-color, #6c757d) !important;
}

.border-accent {
  border-color: var(--accent-color, #ff6a5c) !important;
}

.board-page {
  padding: 3.2rem 0;
}

.board-header {
  margin-bottom: 2.4rem;
}
.board-header .board-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.8rem;
}
.board-header .board-desc {
  color: #6c757d;
  font-size: 1.6rem;
}

.board-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
  padding: 1.6rem;
  background: var(--bg-color, #f8f9fa);
  border-radius: 0.4rem;
}
.board-search .board-info {
  font-size: 1.4rem;
  color: var(--text-color-muted, #6c757d);
  white-space: nowrap;
}
.board-search .board-info strong {
  color: var(--primary-color, #007bff);
  font-weight: 600;
}
.board-search .search-form {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}
.board-search .search-select {
  min-width: 120px;
}
.board-search .search-input {
  min-width: 200px;
  max-width: 300px;
}
@media (max-width: 768px) {
  .board-search {
    flex-direction: column;
    align-items: stretch;
  }
  .board-search .board-info {
    text-align: center;
    margin-bottom: 0.4rem;
  }
  .board-search .search-form {
    flex-direction: column;
    width: 100%;
  }
  .board-search .search-select,
  .board-search .search-input {
    width: 100%;
    max-width: 100%;
  }
  .board-search .btn {
    width: 100%;
  }
}

.board-table-wrapper {
  margin-bottom: 2.4rem;
}
@media (max-width: 768px) {
  .board-table-wrapper {
    display: none;
  }
}

.board-card-list {
  display: none;
  margin-bottom: 2.4rem;
}
@media (max-width: 768px) {
  .board-card-list {
    display: block;
  }
}
.board-card-list .board-card-item {
  display: block;
  padding: 1.6rem;
  border-bottom: 1px solid #dee2e6;
  text-decoration: none;
  color: #212529;
  transition: background-color 0.2s ease;
}
.board-card-list .board-card-item:first-child {
  border-top: 2px solid #212529;
}
.board-card-list .board-card-item:hover {
  background: #f8f9fa;
}
.board-card-list .board-card-item.notice {
  background: rgb(189.6666666667, 239.0217391304, 246.8333333333);
}
.board-card-list .board-card-item.notice:hover {
  background: rgb(167, 233.4782608696, 244);
}
.board-card-list .card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}
.board-card-list .notice-badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 8px;
  background: #17a2b8;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0.2rem;
  margin-top: 2px;
}
.board-card-list .card-title {
  flex: 1;
  font-size: 1.6rem;
  font-weight: 500;
  color: #212529;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.board-card-list .attach-icon {
  flex-shrink: 0;
  color: #6c757d;
  font-size: 1.4rem;
  margin-top: 3px;
}
.board-card-list .card-meta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 1.1rem;
  color: #6c757d;
}
.board-card-list .card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.board-card-list .card-meta .card-author {
  color: #6c757d;
}
.board-card-list .empty-card {
  padding: 3.2rem;
  text-align: center;
  color: #6c757d;
  border-top: 2px solid #212529;
  border-bottom: 1px solid #dee2e6;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #212529;
  margin-bottom: 2.4rem;
}
.board-table th,
.board-table td {
  padding: 1.6rem;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}
.board-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #212529;
}
.board-table td {
  color: #6c757d;
}
.board-table .col-num {
  width: 5rem;
  text-align: center;
}
.board-table .col-checkbox {
  width: 4rem;
}
.board-table .col-title {
  width: auto;
  text-align: left;
}
.board-table .col-author {
  width: 12rem;
}
.board-table .col-date {
  width: 10rem;
}
.board-table .col-views {
  width: 8rem;
}
.board-table .col-status {
  width: 10rem;
}
.board-table .col-actions {
  width: 12rem;
}
.board-table .post-title {
  color: #212529;
  text-decoration: none;
  font-weight: 500;
}
.board-table .post-title:hover {
  color: var(--primary-color, #007bff);
  text-decoration: underline;
}
.board-table .post-title .badge-new {
  display: inline-block;
  padding: 2px 6px;
  margin-left: 0.4rem;
  background: #dc3545;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 0.2rem;
}
.board-table .post-title .comment-count {
  color: var(--primary-color, #007bff);
  font-size: 1.4rem;
  margin-left: 0.4rem;
}
.board-table .status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 0.2rem;
  font-size: 1.1rem;
  font-weight: 500;
}
.board-table .status-badge.status-complete {
  background: rgb(175.1304347826, 235.8695652174, 189);
  color: #28a745;
}
.board-table .status-badge.status-pending {
  background: rgb(255, 231.25, 160);
  color: #a07800;
}
.board-table .status-badge.status-reject {
  background: rgb(246.3607594937, 205.1392405063, 209.0886075949);
  color: #dc3545;
}
.board-table tbody tr {
  transition: background-color 0.2s ease;
}
.board-table tbody tr:hover {
  background: #f8f9fa;
}
.board-table tr.notice {
  background: rgb(189.6666666667, 239.0217391304, 246.8333333333);
}
.board-table tr.notice .notice-label {
  display: inline-block;
  padding: 2px 8px;
  background: #17a2b8;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0.2rem;
  margin-right: 0.4rem;
}

.board-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 3.2rem;
  margin-bottom: 2.4rem;
}
@media (max-width: 576px) {
  .board-actions {
    flex-direction: column;
  }
  .board-actions .btn {
    width: 100%;
  }
}

.board-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.4rem;
}
.board-pagination .page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.4rem;
  color: #6c757d;
  font-size: 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.board-pagination .page-btn:hover {
  border-color: var(--primary-color, #007bff);
  color: var(--primary-color, #007bff);
}
.board-pagination .page-btn.active {
  background: var(--primary-color, #007bff);
  border-color: var(--primary-color, #007bff);
  color: #ffffff;
}
.board-pagination .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.board-view {
  border-top: 2px solid #212529;
}
.board-view .view-header {
  padding: 2.4rem;
  border-bottom: 1px solid #dee2e6;
}
.board-view .view-header .view-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1.6rem;
}
.board-view .view-header .view-meta {
  display: flex;
  gap: 2.4rem;
  color: #6c757d;
  font-size: 1.4rem;
}
.board-view .view-header .view-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.board-view .view-header .view-meta span i {
  color: #6c757d;
}
.board-view .view-content {
  padding: 3.2rem 2.4rem;
  min-height: 300px;
  line-height: 1.75;
  color: #212529;
}
.board-view .view-content img {
  max-width: 100%;
  height: auto;
}
.board-view .view-attachments {
  padding: 1.6rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}
.board-view .view-attachments h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.board-view .view-attachments .attachment-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.board-view .view-attachments .attachment-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #6c757d;
  text-decoration: none;
  font-size: 1.4rem;
}
.board-view .view-attachments .attachment-list a:hover {
  color: var(--primary-color, #007bff);
}
.board-view .view-attachments .attachment-list a .file-size {
  color: #6c757d;
  font-size: 1.1rem;
}
.board-view .view-actions {
  display: flex;
  justify-content: space-between;
  padding: 1.6rem;
  border-top: 1px solid #dee2e6;
}
.board-view .view-actions .left-actions,
.board-view .view-actions .right-actions {
  display: flex;
  gap: 0.8rem;
}
@media (max-width: 576px) {
  .board-view .view-actions {
    flex-direction: column;
    gap: 1.6rem;
  }
  .board-view .view-actions .left-actions,
  .board-view .view-actions .right-actions {
    justify-content: center;
  }
}
.board-view .view-navigation {
  border-top: 1px solid #dee2e6;
}
.board-view .view-navigation .nav-item {
  display: flex;
  align-items: center;
  padding: 1.6rem;
  border-bottom: 1px solid #dee2e6;
}
.board-view .view-navigation .nav-item:last-child {
  border-bottom: none;
}
.board-view .view-navigation .nav-item .nav-label {
  min-width: 60px;
  color: #6c757d;
  font-size: 1.4rem;
}
.board-view .view-navigation .nav-item .nav-title {
  flex: 1;
  color: #212529;
  text-decoration: none;
}
.board-view .view-navigation .nav-item .nav-title:hover {
  color: var(--primary-color, #007bff);
}

.board-form {
  border-top: 0.2rem solid #212529;
}
.board-form .form-row {
  display: flex;
  border-bottom: 0.1rem solid #dee2e6;
}
.board-form .form-row .form-label {
  width: 12rem;
  padding: 1.6rem;
  background: #f8f9fa;
  font-weight: 500;
  display: flex;
  align-items: center;
}
@media (max-width: 576px) {
  .board-form .form-row .form-label {
    width: 100%;
  }
}
.board-form .form-row .form-input {
  flex: 1;
  padding: 1.6rem;
}
@media (max-width: 576px) {
  .board-form .form-row .form-input {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .board-form .form-row {
    flex-direction: column;
  }
}
.board-form .form-actions {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  padding: 2.4rem;
  background: #f8f9fa;
  border-top: 0.1rem solid #dee2e6;
}

.board-table,
.sb-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.board-table th,
.sb-table th {
  background: #f8fafc;
  color: #374151;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 2px solid #e5e7eb;
}
.board-table td,
.sb-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #4b5563;
  font-size: 14px;
}
.board-table tbody tr:hover,
.sb-table tbody tr:hover {
  background: #f8fafc;
}
.board-table tr.notice,
.board-table tr.is-notice,
.sb-table tr.notice,
.sb-table tr.is-notice {
  background: #fffbeb;
}
.board-table tr.notice td,
.board-table tr.is-notice td,
.sb-table tr.notice td,
.sb-table tr.is-notice td {
  color: #92400e;
}
.board-table .empty-row td,
.board-table .no-data td,
.sb-table .empty-row td,
.sb-table .no-data td {
  text-align: center;
  padding: 40px 16px;
  color: #9ca3af;
}

.board-search,
.search-form,
.search-box,
.filter-box {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--bg-color, #fff);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}
.board-search input[type=text],
.board-search input[type=search],
.search-form input[type=text],
.search-form input[type=search],
.search-box input[type=text],
.search-box input[type=search],
.filter-box input[type=text],
.filter-box input[type=search] {
  padding: 10px 14px;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 6px;
  font-size: 14px;
  min-width: 200px;
  background: var(--bg-color, #fff);
  color: var(--text-color, #333);
}
.board-search input[type=text]::placeholder,
.board-search input[type=search]::placeholder,
.search-form input[type=text]::placeholder,
.search-form input[type=search]::placeholder,
.search-box input[type=text]::placeholder,
.search-box input[type=search]::placeholder,
.filter-box input[type=text]::placeholder,
.filter-box input[type=search]::placeholder {
  color: var(--text-color-muted, #9ca3af);
}
.board-search input[type=text]:focus,
.board-search input[type=search]:focus,
.search-form input[type=text]:focus,
.search-form input[type=search]:focus,
.search-box input[type=text]:focus,
.search-box input[type=search]:focus,
.filter-box input[type=text]:focus,
.filter-box input[type=search]:focus {
  outline: none;
  border-color: var(--primary-color, #3b82f6);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color, #3b82f6) 10%, transparent);
}
.board-search select,
.search-form select,
.search-box select,
.filter-box select {
  padding: 10px 14px;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 6px;
  font-size: 14px;
  background: var(--bg-color, #fff);
  color: var(--text-color, #333);
  min-width: 120px;
}
.board-search select:focus,
.search-form select:focus,
.search-box select:focus,
.filter-box select:focus {
  outline: none;
  border-color: var(--primary-color, #3b82f6);
}

.board-pagination,
.pagination,
.paging {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
}
.board-pagination a, .board-pagination span, .board-pagination button,
.pagination a,
.pagination span,
.pagination button,
.paging a,
.paging span,
.paging button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-color-muted, #4b5563);
  background: var(--bg-color, #fff);
  text-decoration: none;
  transition: all 0.2s;
}
.board-pagination a:hover, .board-pagination span:hover, .board-pagination button:hover,
.pagination a:hover,
.pagination span:hover,
.pagination button:hover,
.paging a:hover,
.paging span:hover,
.paging button:hover {
  background: var(--hover-bg, #f3f4f6);
  border-color: var(--border-color, #d1d5db);
}
.board-pagination a.active, .board-pagination a.current, .board-pagination span.active, .board-pagination span.current, .board-pagination button.active, .board-pagination button.current,
.pagination a.active,
.pagination a.current,
.pagination span.active,
.pagination span.current,
.pagination button.active,
.pagination button.current,
.paging a.active,
.paging a.current,
.paging span.active,
.paging span.current,
.paging button.active,
.paging button.current {
  background: var(--primary-color, #00704A);
  border-color: var(--primary-color, #00704A);
  color: #fff;
}

.board-buttons,
.btn-area,
.button-area,
.btn-wrap {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color, #f1f5f9);
}

.sb-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.sb-btn.btn-outline, .sb-btn.btn-secondary,
.btn.btn-outline,
.btn.btn-secondary {
  background: #fff !important;
  border-color: #d1d5db !important;
  color: #374151 !important;
}
.sb-btn.btn-outline:hover, .sb-btn.btn-secondary:hover,
.btn.btn-outline:hover,
.btn.btn-secondary:hover {
  background: #f9fafb !important;
  border-color: #9ca3af !important;
}
.sb-btn.btn-primary,
.btn.btn-primary {
  background: var(--primary-color, #00704A) !important;
  border-color: var(--primary-color, #00704A) !important;
  color: #fff !important;
}
.sb-btn.btn-primary:hover,
.btn.btn-primary:hover {
  filter: brightness(0.9);
}
.sb-btn.btn-primary-dark,
.btn.btn-primary-dark {
  background: var(--primary-color, #00704A) !important;
  border-color: var(--primary-color, #00704A) !important;
  color: #fff !important;
}
.sb-btn.btn-primary-dark:hover,
.btn.btn-primary-dark:hover {
  filter: brightness(0.85);
}
.sb-btn.btn-danger,
.btn.btn-danger {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #fff !important;
}
.sb-btn.btn-danger:hover,
.btn.btn-danger:hover {
  background: #dc2626 !important;
}
.sb-btn.btn-search,
.btn.btn-search {
  background: var(--primary-color, #00704A);
  color: #fff;
  border-color: var(--primary-color, #00704A);
}
.sb-btn.btn-search:hover,
.btn.btn-search:hover {
  filter: brightness(0.9);
}

.board-write {
  max-width: 90rem;
  margin: 0 auto;
  padding: 2rem;
}
.board-write .page-header {
  margin-bottom: 3rem;
  padding-bottom: 1.6rem;
  border-bottom: 0.2rem solid var(--border-color, #dee2e6);
}
.board-write .page-header h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-color, #212529);
}
.board-write .form-group {
  margin-bottom: 2.4rem;
}
.board-write .form-label {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color, #334155);
  margin-bottom: 0.8rem;
}
.board-write .form-label.required::after {
  content: "*";
  color: #dc3545;
  margin-left: 0.4rem;
}
.board-write .form-input {
  width: 100%;
  padding: 1.2rem 1.6rem;
  font-size: 1.5rem;
  border: 0.1rem solid var(--border-color, #d1d5db);
  border-radius: 0.8rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.board-write .form-input:focus {
  outline: none;
  border-color: var(--primary-color, #007bff);
  box-shadow: 0 0 0 0.3rem rgba(99, 102, 241, 0.1);
}
.board-write .form-input.input--narrow {
  max-width: 30rem;
}
.board-write .form-options {
  display: flex;
  gap: 2rem;
}
.board-write .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-color-muted, #6c757d);
}
.board-write .checkbox-label input[type=checkbox] {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--primary-color, #007bff);
}
.board-write .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 3.2rem;
  padding-top: 2.4rem;
  border-top: 0.1rem solid var(--border-color, #dee2e6);
}
.board-write .form-hint {
  font-size: 1.3rem;
  color: var(--text-color-muted, #6c757d);
  margin-top: 0.6rem;
}

.secret-check {
  max-width: 40rem;
  margin: 4rem auto;
  padding: 3.2rem;
  background: #ffffff;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.15);
  text-align: center;
}
.secret-check .secret-check__icon {
  font-size: 4.8rem;
  margin-bottom: 1.6rem;
}
.secret-check .secret-check__title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.8rem;
}
.secret-check .secret-check__desc {
  font-size: 1.4rem;
  color: #6c757d;
  margin-bottom: 2.4rem;
}
.secret-check .secret-check__input {
  width: 100%;
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  border: 0.1rem solid #dee2e6;
  border-radius: 0.4rem;
  margin-bottom: 1.6rem;
  text-align: center;
}
.secret-check .secret-check__input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.1);
}
.secret-check .secret-check__error {
  color: #dc3545;
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
}
.secret-check .secret-check__actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.contact-form-page {
  max-width: 70rem;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.contact-form-page .contact-header {
  text-align: center;
  margin-bottom: 4rem;
}
.contact-form-page .contact-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1.2rem;
}
.contact-form-page .contact-desc {
  font-size: 1.6rem;
  color: #6c757d;
  line-height: 1.6;
}
.contact-form-page .contact-form {
  background: #ffffff;
  border-radius: 0.8rem;
  padding: 3.2rem;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.15);
}
.contact-form-page .form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 0;
}
@media (max-width: 576px) {
  .contact-form-page .form-row {
    flex-direction: column;
    gap: 0;
  }
}
.contact-form-page .form-group {
  margin-bottom: 2rem;
}
.contact-form-page .form-group--half {
  flex: 1;
}
.contact-form-page .form-label {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.8rem;
}
.contact-form-page .form-label.required::after {
  content: "*";
  color: #dc3545;
  margin-left: 0.4rem;
}
.contact-form-page .form-input {
  width: 100%;
  padding: 1.2rem 1.6rem;
  font-size: 1.5rem;
  border: 0.1rem solid #dee2e6;
  border-radius: 0.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-page .form-input:focus {
  outline: none;
  border-color: var(--primary-color, #007bff);
  box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.1);
}
.contact-form-page .form-input::placeholder {
  color: #6c757d;
}
.contact-form-page .privacy-agree {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.4rem;
  color: #6c757d;
  cursor: pointer;
}
.contact-form-page .privacy-agree input[type=checkbox] {
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.2rem;
  accent-color: var(--primary-color, #007bff);
}
.contact-form-page .privacy-agree a {
  color: var(--primary-color, #007bff);
  text-decoration: none;
}
.contact-form-page .privacy-agree a:hover {
  text-decoration: underline;
}
.contact-form-page .form-actions {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 3.2rem;
  padding-top: 2.4rem;
  border-top: 0.1rem solid #dee2e6;
}
.contact-form-page .form-actions .btn-lg {
  min-width: 14rem;
  padding: 1.4rem 3.2rem;
  font-size: 1.6rem;
}
