/* ==========================================================================
   오솔킹 (OSOLKING) 박지 제보 & 정보 수정 요청 게시판 스타일 (community.css)
   ========================================================================== */

/* 1. 페이지 헤더 & 컴팩트 게시판 안내 바 */
.community-header {
  margin-bottom: 16px;
}

.community-header .header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.btn-top-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid #1d4ed8;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-top-write:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

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

.community-board-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.board-info-main .board-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.board-info-main .board-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.board-info-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.board-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  color: #475569;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
}

/* 2. 게시판 툴바 (카테고리 탭, 검색, 상태 필터) */
.community-toolbar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.category-tab-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #1e293b;
}

.category-tab-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.category-tab-btn .count-badge {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.category-tab-btn.active .count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.toolbar-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-box-wrapper .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 9px 38px 9px 38px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  display: none;
}

.filter-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-select {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  outline: none;
}

.status-select:focus {
  border-color: #2563eb;
}

.btn-table-write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 10px;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease;
  white-space: nowrap;
}

.btn-table-write:hover {
  background: #1d4ed8;
}

/* 3. 게시판 리스트 (PC 테이블 & 모바일 피드) */
.posts-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.posts-count-header {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.posts-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.posts-table th {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid #cbd5e1;
}

.posts-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
  color: #334155;
  vertical-align: middle;
}

.posts-table tr {
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.posts-table tbody tr:hover {
  background-color: #f8fafc;
}

.col-num {
  width: 50px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
}

.col-badge {
  width: 130px;
}

.col-title {
  min-width: 250px;
}

.col-author {
  width: 140px;
}

.col-date {
  width: 100px;
  color: #64748b;
  font-size: 0.82rem;
}

.col-gpx {
  width: 70px;
  text-align: center;
}

.col-status {
  width: 100px;
  text-align: center;
}

/* 뱃지 및 상태 스타일 */
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-badge.spot-add {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.category-badge.spot-edit {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.category-badge.general {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.pending {
  background: #fef3c7;
  color: #b45309;
}

.status-badge.reviewing {
  background: #e0f2fe;
  color: #0369a1;
}

.status-badge.resolved {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.hold {
  background: #f1f5f9;
  color: #64748b;
}

.post-title-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
}

.post-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 450px;
}

.lock-icon-badge {
  color: #64748b;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.gpx-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #c7d2fe;
}

.author-info-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
}

.author-avatar-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name-text {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 모바일 카드 뷰 (768px 이하에서 테이블 숨기고 카드 표시) */
.posts-mobile-list {
  display: none;
  flex-direction: column;
}

.post-mobile-card {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.post-mobile-card:active {
  background-color: #f8fafc;
}

.mobile-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.mobile-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}

.mobile-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  word-break: break-all;
}

.mobile-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748b;
}

.mobile-card-author {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 빈 상태 (Empty state) */
.posts-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #64748b;
}

.empty-state-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.empty-state-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 20px;
}

/* 4. 글쓰기 모달 스타일 */
.community-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.community-modal-overlay.is-active {
  display: flex;
}

.community-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalPop 0.22s ease-out;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.community-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.community-modal-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.15s;
}

.community-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.community-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.community-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.btn-modal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 10px;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease;
  white-space: nowrap;
}

.btn-modal-submit:hover {
  background: #1d4ed8;
}

.btn-modal-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-modal-cancel:hover {
  background: #e2e8f0;
}

/* 폼 컨트롤 */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-label .req {
  color: #ef4444;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-hint {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 5px;
  line-height: 1.4;
}

/* 카테고리 선택 라디오 그룹 */
.category-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-radio-item {
  position: relative;
}

.category-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.category-radio-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.category-radio-box .icon {
  font-size: 1.3rem;
}

.category-radio-box .label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.category-radio-item input[type="radio"]:checked + .category-radio-box {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #2563eb;
}

.category-radio-item input[type="radio"]:checked + .category-radio-box .label {
  color: #1d4ed8;
}

/* GPX 파일 드래그앤드롭 영역 */
.gpx-upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.gpx-upload-dropzone:hover,
.gpx-upload-dropzone.dragover {
  border-color: #2563eb;
  background: #eff6ff;
}

.dropzone-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #3b82f6;
}

.dropzone-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.dropzone-sub {
  font-size: 0.76rem;
  color: #64748b;
}

.gpx-file-info-badge {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 10px;
}

.gpx-file-info-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gpx-file-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e40af;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gpx-file-size {
  font-size: 0.75rem;
  color: #3b82f6;
}

.gpx-remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.gpx-remove-btn:hover {
  background: #fee2e2;
}

/* 비밀글 안내 알림 박스 */
.secret-notice-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.5;
}

.secret-notice-card strong {
  color: #1e3a8a;
}

/* 5. 상세 보기 모달 스타일 */
.post-detail-header {
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.post-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.post-detail-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 10px 0;
  word-break: break-word;
}

.post-detail-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #64748b;
}

.post-detail-target-info {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: #334155;
}

.post-detail-content-area {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #1e293b;
  white-space: pre-wrap;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  min-height: 80px;
  word-break: break-word;
}

/* 비밀글 잠금 화면 (제3자 열람 시) */
.secret-locked-state {
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  margin-bottom: 20px;
}

.secret-locked-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.secret-locked-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.secret-locked-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto;
}

/* GPX 다운로드 배너 */
.gpx-download-banner {
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.gpx-download-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gpx-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4f46e5;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s;
}

.gpx-download-btn:hover {
  background: #4338ca;
}

/* 관리자 답변 / 검토 결과 영역 */
.admin-reply-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.admin-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-reply-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #166534;
}

.admin-reply-content {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #14532d;
  white-space: pre-wrap;
}

/* 관리자 전용 제어 패널 (상태 변경 & 답변 등록) */
.admin-control-panel {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}

.admin-panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #854d0e;
  margin-bottom: 12px;
}

.admin-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.btn-admin-save {
  padding: 8px 16px;
  background: #eab308;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.btn-admin-save:hover {
  background: #ca8a04;
}

.btn-delete-post {
  padding: 8px 14px;
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  margin-left: auto;
}

.btn-delete-post:hover {
  background: #fca5a5;
  color: #991b1b;
}

/* 반응형 대응 */
@media (max-width: 768px) {
  .posts-table {
    display: none;
  }
  .posts-mobile-list {
    display: flex;
  }
  .community-board-info-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 10px;
  }
  .board-info-main .board-title {
    font-size: 1.22rem;
  }
  .board-info-main .board-subtitle {
    font-size: 0.82rem;
  }
  .board-info-badges {
    width: 100%;
    justify-content: flex-start;
  }
  .community-header .header-nav-row {
    margin-bottom: 12px;
  }
  .btn-top-write {
    font-size: 0.84rem;
    padding: 7px 14px;
  }
  .category-radio-group {
    grid-template-columns: 1fr;
  }
  .toolbar-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-controls-group {
    justify-content: space-between;
  }
  #btn-open-write-table {
    display: none;
  }

  /* 모바일 모달 바텀시트 & 상시 노출되는 고정 하단 액션 버튼 */
  .community-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .community-modal-box {
    max-width: 100%;
    width: 100%;
    height: 92vh;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }
  .community-modal-header {
    padding: 14px 18px;
  }
  .community-modal-body {
    padding: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .community-modal-footer {
    padding: 12px 16px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    bottom: 0;
    z-index: 10;
  }
  .community-modal-footer .btn-modal-cancel {
    flex: 1;
    padding: 13px;
    font-size: 0.95rem;
    text-align: center;
    box-sizing: border-box;
  }
  .community-modal-footer .btn-modal-submit {
    flex: 2;
    padding: 13px;
    font-size: 0.95rem;
    text-align: center;
    box-sizing: border-box;
  }

  .gpx-download-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .gpx-download-btn {
    width: 100%;
    justify-content: center;
  }
}
