/* ═══════════════════════════════════════════════════════
   DOLBOMNARA COMMON STYLESHEET
   - List page (dolbomnara-pc.html)
   - View page (dolbomnara-view.html)
═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   1. VARIABLES & RESET
═══════════════════════════════════════ */
:root {
  --primary: #ff5758;
  --primary-hover: #e64d4e;
  --primary-bg: #FFF0F0;
  --orange: #FF6F0F;
  --orange-bg: #FFF4ED;
  --bg: #FFFFFF;
  --bg-page: #FFFFFF;
  --gray-50: #F7F8FA;
  --gray-100: #F2F3F6;
  --gray-200: #EAEBED;
  --gray-300: #DCDEE3;
  --gray-400: #AEB0B6;
  --gray-500: #868B94;
  --gray-600: #6B6E78;
  --gray-700: #4D5159;
  --gray-900: #212124;
  --shadow: 0 1px 3px rgba(0,0,0,0.04);
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-page);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }


/* ═══════════════════════════════════════
   2. GNB (GLOBAL NAV)
═══════════════════════════════════════ */
.gnb {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--gray-200);
}

.gnb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.gnb-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  cursor: pointer;
}

.gnb-logo svg { flex-shrink: 0; }

.gnb-logo-img {
  height: 32px;
  object-fit: contain;
}

.gnb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.gnb-link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: all 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

.gnb-link:hover { color: var(--gray-900); background: var(--gray-50); }
.gnb-link.active { color: var(--gray-900); font-weight: 700; }

.gnb-my {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.15s;
  flex-shrink: 0;
  margin-left: 4px;
}

.gnb-my:hover {
  background: var(--gray-100);
}

.gnb-my:hover svg {
  stroke: var(--primary);
}

.gnb-my-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
}

/* ── My Menu Dropdown ── */
.gnb-my-wrap {
  position: relative;
  flex-shrink: 0;
  margin-left: 4px;
}

.gnb-my-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 180px;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  padding: 6px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
}

.gnb-my-wrap.open .gnb-my-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gnb-my-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border-left: 1px solid var(--gray-200);
  border-top: 1px solid var(--gray-200);
  transform: rotate(45deg);
}

.gnb-my-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  transition: all 0.12s;
  cursor: pointer;
}

.gnb-my-menu-item:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.gnb-my-menu-danger {
  color: var(--gray-400);
}

.gnb-my-menu-danger:hover {
  background: #FFF0F0;
  color: #dc2626;
}

.gnb-my-menu-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 8px;
}

.gnb-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.gnb-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 16px;
  width: 240px;
  cursor: text;
  transition: border-color 0.15s;
}

.gnb-search:hover, .gnb-search:focus-within {
  border-color: var(--gray-300);
}

.gnb-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  width: 100%;
}

.gnb-search input::placeholder { color: var(--gray-400); }
.gnb-search svg { flex-shrink: 0; color: var(--gray-400); }


/* ═══════════════════════════════════════
   3. COMMON BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-primary:hover { background: var(--primary-hover); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-outline:hover { border-color: var(--gray-300); background: var(--gray-50); }


/* ═══════════════════════════════════════
   3-1. SUB BAR (검색 + 로그인 + 구인등록)
═══════════════════════════════════════ */
.sub-bar-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px 0;
}

.sub-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.sub-bar .gnb-search {
  flex: 1;
}

.sub-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-bar-user {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}


/* ═══════════════════════════════════════
   4. BREADCRUMB
═══════════════════════════════════════ */
.breadcrumb-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-400);
}

.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--gray-700); }
.breadcrumb span { color: var(--gray-900); font-weight: 500; }


/* ═══════════════════════════════════════
   5. MAIN LAYOUT
═══════════════════════════════════════ */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* view page uses top padding */
.main-wrap--view { padding-top: 24px; }

.page-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 24px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}


/* ═══════════════════════════════════════
   6. SIDEBAR (공통)
═══════════════════════════════════════ */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-bottom: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.content {
  flex: 1;
  min-width: 0;
}


/* ═══════════════════════════════════════
   7. COMMON TAGS
═══════════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
}

.tag-default { background: var(--gray-100); color: var(--gray-600); }
.tag-green { background: var(--primary-bg); color: var(--primary); }
.tag-orange { background: var(--orange-bg); color: var(--orange); }
.tag-yellow { background: #FFF8E1; color: #D49A00; }
.tag-blue { background: #EBF2FF; color: #3B82F6; }

.dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gray-400);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════
   8. QUICK BANNERS (우측 플로팅)
═══════════════════════════════════════ */
.quick-banners {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 68px;
  padding: 14px 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: none;
  font-family: inherit;
}

.quick-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.qb-primary { background: var(--primary); color: #fff; }
.qb-primary:hover { background: var(--primary-hover); }
.qb-secondary { background: #2B3A67; color: #fff; }
.qb-secondary:hover { background: #1e2d54; }
.qb-top { background: #fff; color: var(--gray-500); border: 1px solid var(--gray-200); }
.qb-top:hover { color: var(--gray-900); border-color: var(--gray-300); }

.qb-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qb-top .qb-icon { background: none; }
.qb-text { font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: -0.2px; }
.qb-text-sm { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; }


/* ═══════════════════════════════════════
   9. FOOTER
═══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
}

.footer-brand { flex-shrink: 0; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-link { font-size: 13px; color: var(--gray-600); cursor: pointer; }
.footer-link:hover { color: var(--gray-900); }
.footer-link.bold { font-weight: 700; }
.footer-info { flex: 1; }
.footer-company { font-size: 12px; color: var(--gray-500); line-height: 1.8; }
.footer-copyright { font-size: 12px; color: var(--gray-400); margin-top: 12px; }


/* ═══════════════════════════════════════
   9-1. APP INSTALL BANNER
═══════════════════════════════════════ */
.app-banner {
  width: 100%;
  background: linear-gradient(135deg, #ff5758 0%, #e64d4e 50%, #d4393a 100%);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.app-banner.show {
  max-height: 70px;
  opacity: 1;
}

.app-banner.hide {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.app-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-banner-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-banner-text {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.app-banner-text strong {
  color: #fff;
  font-weight: 700;
}

.app-banner-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.app-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.app-banner-btn-google {
  background: rgba(255,255,255,0.18);
}

.app-banner-btn-google:hover {
  background: rgba(255,255,255,0.28);
}

.app-banner-btn-apple {
  background: rgba(255,255,255,0.18);
}

.app-banner-btn-apple:hover {
  background: rgba(255,255,255,0.28);
}

.app-banner-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.15s;
  margin-left: 4px;
  flex-shrink: 0;
}

.app-banner-close:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}


/* ═══════════════════════════════════════
   10. COMMON ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatEmoji {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


/* ═══════════════════════════════════════════════════════
   LIST PAGE ONLY STYLES
═══════════════════════════════════════════════════════ */

/* ── Sidebar Filters ── */
.filter-block { margin-bottom: 28px; }

.filter-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.filter-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.filter-reset {
  font-size: 13px;
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}

.filter-reset:hover { color: var(--gray-600); }

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
}

.filter-chip:hover { border-color: var(--gray-400); }

.filter-chip.active {
  background: var(--gray-900);
  color: #fff;
  border-color: var(--gray-900);
}

.filter-days {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-day {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.filter-day:hover { border-color: var(--gray-400); }

.filter-day.active {
  background: var(--gray-900);
  color: #fff;
  border-color: var(--gray-900);
}

.filter-time-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.filter-time-select {
  flex: 1;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
}

.filter-time-sep { color: var(--gray-400); font-size: 14px; }

.filter-apply-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.filter-apply-btn:hover { background: var(--primary-hover); }


/* ── Banner + Notice Split ── */
.banner-notice-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
}

.banner-notice-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.banner-slider-area {
  flex: 1;
  min-width: 0;
}

.banner-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.banner-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.banner-slide {
  min-width: 100%;
  cursor: pointer;
}

.banner-slide-img-link {
  display: block;
  width: 100%;
}

.banner-slide-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  image-rendering: -webkit-optimize-contrast;
}

.banner-slide-inner {
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 260px;
  height: 100%;
}

.banner-slide-text {
  color: #fff;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.banner-slide-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.22);
  border-radius: 100px;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

.banner-slide-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.banner-slide-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 18px;
}

.banner-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  background: #fff;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.banner-slide-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.banner-slide-visual {
  font-size: 64px;
  flex-shrink: 0;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
  animation: floatEmoji 3s ease-in-out infinite;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
}

.banner-slider:hover .slider-arrow { opacity: 1; }

.slider-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.slider-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 10;
  backdrop-filter: blur(4px);
}

/* ── Notice Panel ── */
.notice-area {
  width: 320px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.notice-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.notice-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--gray-900);
}

.notice-more {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
  transition: color 0.15s;
}

.notice-more:hover { color: var(--gray-700); }

.notice-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  overflow: hidden;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  transition: background 0.12s;
  cursor: pointer;
}

.notice-item:hover { background: var(--gray-50); }

.notice-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gray-100);
  color: var(--gray-500);
}

.notice-badge.new {
  background: var(--primary);
  color: #fff;
}

.notice-link {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.12s;
}

.notice-item:hover .notice-link { color: var(--gray-900); }

.notice-date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
}


/* ── Ad Banner ── */
.ad-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--primary) 0%, #FF8A8B 100%);
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 24px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}

.ad-banner::before {
  content: '';
  position: absolute;
  right: 60px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.ad-banner::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.ad-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,87,88,0.2);
}

.ad-banner-text { position: relative; z-index: 1; }
.ad-banner-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.ad-banner-desc { font-size: 14px; opacity: 0.85; }
.ad-banner-icon { position: relative; z-index: 1; font-size: 36px; }


/* ── Promo Premium Cards ── */
.promo-section {
  margin-bottom: 28px;
  background: var(--bg);
  border: none;
  border-radius: 0;
  padding: 0;
}

.promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.promo-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-fire { font-size: 16px; }

.promo-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}

.promo-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.promo-more {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
}

.promo-more:hover { color: var(--gray-700); }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-card {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  animation: promoIn 0.4s ease both;
}

.promo-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(255,87,88,0.12);
  transform: translateY(-3px);
}

.promo-card:nth-child(1) { animation-delay: 0.05s; }
.promo-card:nth-child(2) { animation-delay: 0.12s; }
.promo-card:nth-child(3) { animation-delay: 0.19s; }

@keyframes promoIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.promo-card-top {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.promo-card-top img {
  max-width: 70%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.promo-card-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 40%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.promo-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 1;
}

.promo-card-emoji {
  font-size: 40px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}

.promo-card-body { padding: 14px 16px 16px; }

.promo-card-company {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gray-900);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
  min-height: 40px;
}

.promo-card-pay { display: flex; align-items: baseline; gap: 5px; margin-bottom: 8px; }
.promo-pay-label { font-size: 12px; color: var(--gray-500); }
.promo-pay-value { font-size: 16px; font-weight: 800; color: var(--primary); }

.promo-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.promo-card-tags { display: flex; gap: 5px; flex-wrap: wrap; }


/* ── Tab / Sort bar ── */
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.list-tabs { display: flex; gap: 4px; }

.list-tab {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  background: none;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.list-tab:hover { color: var(--gray-700); }

.list-tab.active {
  color: var(--gray-900);
  font-weight: 700;
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.list-sort {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--gray-500);
  cursor: pointer;
}

.list-sort:hover { color: var(--gray-700); }

/* ── Sort Dropdown ── */
.list-sort-wrap {
  position: relative;
}

.list-sort-wrap.open .list-sort svg {
  transform: rotate(180deg);
}

.list-sort svg {
  transition: transform 0.2s;
}

.list-sort-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  padding: 4px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
}

.list-sort-wrap.open .list-sort-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.list-sort-item {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: all 0.12s;
  cursor: pointer;
  white-space: nowrap;
}

.list-sort-item:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.list-sort-item.active {
  color: var(--primary);
  font-weight: 700;
}

.list-count {
  font-size: 13px;
  color: var(--gray-500);
  margin-left: 8px;
}


/* ── Job Cards ── */
.job-card {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: background 0.1s;
  border-radius: 4px;
  animation: fadeIn 0.3s ease both;
}

.job-card:hover {
  background: var(--gray-50);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.job-card:last-child { border-bottom: none; }

.job-card:nth-child(1) { animation-delay: 0.02s; }
.job-card:nth-child(2) { animation-delay: 0.05s; }
.job-card:nth-child(3) { animation-delay: 0.08s; }
.job-card:nth-child(4) { animation-delay: 0.11s; }
.job-card:nth-child(5) { animation-delay: 0.14s; }
.job-card:nth-child(6) { animation-delay: 0.17s; }
.job-card:nth-child(7) { animation-delay: 0.20s; }
.job-card:nth-child(8) { animation-delay: 0.23s; }
.job-card:nth-child(9) { animation-delay: 0.26s; }
.job-card:nth-child(10) { animation-delay: 0.29s; }

.job-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.job-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 4px;
  color: var(--gray-900);
  letter-spacing: -0.2px;
}

.job-title:hover { text-decoration: underline; }

.job-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.job-pay-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.job-pay-label { font-size: 13px; color: var(--gray-500); }
.job-pay { font-size: 15px; font-weight: 700; color: var(--gray-900); }

.job-schedule {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.job-thumb {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--gray-200);
}

.job-thumb img {
  max-width: 75%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.job-thumb-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,0.55);
  color: #fff;
}


/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 32px 0 8px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  padding: 0 4px;
}

.page-btn:hover { border-color: var(--gray-400); background: var(--gray-50); }

.page-btn.active {
  background: var(--gray-900);
  color: #fff;
  border-color: var(--gray-900);
}

.page-btn.nav-arrow { color: var(--gray-500); }


/* ── Section Dividers & Headers ── */
.section-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 32px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-more {
  font-size: 14px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  cursor: pointer;
}

.section-more:hover { color: var(--gray-700); }


/* ── Video Cards ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.video-card { cursor: pointer; transition: transform 0.15s; }
.video-card:hover { transform: translateY(-2px); }

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  transition: background 0.15s;
}

.video-card:hover .video-thumb::after { background: rgba(0,0,0,0.25); }

.video-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ── Marketplace Cards ── */
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.market-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.market-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow);
}

.market-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.market-info { flex: 1; min-width: 0; }

.market-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-detail {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 2px;
}


/* ── Community Cards ── */
.community-list { margin-bottom: 32px; }

.community-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.1s;
  border-radius: 4px;
}

.community-item:hover {
  background: var(--gray-50);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

.community-item:last-child { border-bottom: none; }

.community-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.community-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-date {
  font-size: 13px;
  color: var(--gray-400);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════
   VIEW PAGE ONLY STYLES
═══════════════════════════════════════════════════════ */

/* ── Sidebar (View) ── */
.sidebar-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 10px 0;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.15s;
}

.sidebar-back:hover { color: var(--primary); }

.sidebar-section { margin-bottom: 28px; }

.sidebar-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.sidebar-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
  margin-bottom: 2px;
}

.sidebar-list-item:hover { background: var(--gray-50); }
.sidebar-list-item.active { background: var(--primary-bg); }

.sidebar-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-item-thumb img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
}

.sidebar-item-info { flex: 1; min-width: 0; }

.sidebar-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.sidebar-item-meta {
  font-size: 11px;
  color: var(--gray-400);
}


/* ── View Header ── */
.view-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 28px;
  animation: fadeIn 0.35s ease both;
  position: relative;
  z-index: 10;
}

.view-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.view-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.view-tag-red { background: var(--primary-bg); color: var(--primary); }
.view-tag-blue { background: #EBF2FF; color: #3B82F6; }
.view-tag-gray { background: var(--gray-100); color: var(--gray-600); }

.view-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.view-company-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.view-company-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.view-company-logo img {
  max-width: 75%;
  max-height: 60%;
  object-fit: contain;
}

.view-company-name { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.view-company-sub { font-size: 13px; color: var(--gray-500); }

.view-header-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-apply {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.btn-apply:hover { background: var(--primary-hover); }

.btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.btn-icon:hover { border-color: var(--gray-300); background: var(--gray-50); }


/* ── View Sections ── */
.view-section {
  margin-bottom: 32px;
  animation: fadeIn 0.35s ease both;
}

.view-section:nth-child(2) { animation-delay: 0.05s; }
.view-section:nth-child(3) { animation-delay: 0.10s; }
.view-section:nth-child(4) { animation-delay: 0.15s; }
.view-section:nth-child(5) { animation-delay: 0.20s; }

.view-section-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
}


/* ── Info Table ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
}

.info-table tr { border-bottom: 1px solid var(--gray-200); }
.info-table tr:last-child { border-bottom: none; }

.info-table th {
  background: var(--gray-50);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  text-align: left;
  width: 140px;
  vertical-align: middle;
  white-space: nowrap;
}

.info-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--gray-900);
  line-height: 1.6;
}

.info-table .highlight {
  color: var(--primary);
  font-weight: 700;
}


/* ── Detail Content Box ── */
.view-detail-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px;
  line-height: 1.85;
  font-size: 14px;
  color: var(--gray-700);
}

.view-detail-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 20px 0 10px;
}

.view-detail-box h4:first-child { margin-top: 0; }

.view-detail-box ul { list-style: none; padding: 0; }

.view-detail-box ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.view-detail-box ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: 0;
  font-weight: 700;
  color: var(--gray-400);
}

.view-detail-box .disqualify {
  background: #FFF8F0;
  border: 1px solid #FFE0B2;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.8;
}

.view-detail-box .disqualify-title {
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
  font-size: 13px;
}


/* ── Contact Box ── */
.contact-box {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-row:last-child { border-bottom: none; }

.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  width: 80px;
  flex-shrink: 0;
}

.contact-value {
  font-size: 14px;
  color: var(--gray-900);
  font-weight: 500;
  word-break: break-all;
}

.contact-value a { color: var(--primary); text-decoration: underline; }
.contact-value a:hover { color: var(--primary-hover); }

.contact-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 16px;
  transition: background 0.15s;
}

.contact-call-btn:hover { background: var(--primary-hover); }


/* ── Map ── */
.map-wrap {}

.map-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.map-location-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.map-iframe-wrap {
  height: 416px;
  overflow: hidden;
  position: relative;
}

.map-iframe-wrap iframe { display: block; }


/* ── Share Dropdown ── */
.share-wrap {
  position: relative;
}

.share-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 200px;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.14);
  padding: 8px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.share-wrap.open .share-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border-left: 1px solid var(--gray-200);
  border-top: 1px solid var(--gray-200);
  transform: rotate(45deg);
}

.share-dropdown-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  padding: 6px 12px 10px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 4px;
}

.share-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}

.share-item:hover {
  background: var(--gray-50);
}

.share-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-icon-link { background: var(--gray-500); }
.share-icon-kakao { background: #FEE500; }
.share-icon-facebook { background: #1877F2; }
.share-icon-x { background: #000; }

/* Share Toast */
.share-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gray-900);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.share-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


/* ── Back to list button ── */
.btn-back-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  background: var(--bg);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-back-list:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--gray-900);
}


/* ── Related Jobs ── */
.related-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.related-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s;
}

.related-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255,87,88,0.08);
  transform: translateY(-2px);
}

.related-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-company {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.related-card-pay {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}


/* ═══════════════════════════════════════════════════════
   AUTH PAGES (LOGIN & JOIN)
   - body.page-auth 클래스로 스코핑
═══════════════════════════════════════════════════════ */

/* ── 11. Auth Layout ── */
body.page-auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.2px;
  background: #f5f5f5;
}

body.page-auth ul,
body.page-auth ol { list-style: none; }

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

/* Footer 로고 이미지 */
.footer-logo img { height: 28px; }


/* ── 11-1. Auth Common Form Elements ── */
.input-group {
  margin-bottom: 14px;
}

.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gray-50);
}

.input-field::placeholder { color: var(--gray-400); }

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 88, 0.12);
  background: var(--bg);
}

.input-row {
  display: flex;
  gap: 8px;
}

.input-row .input-field { flex: 1; }

.btn-sub {
  padding: 0 16px;
  background: var(--gray-700);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-sub:hover { background: var(--gray-900); }

.phone-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-row .input-field { flex: 1; text-align: center; }
.phone-row .sep { color: var(--gray-500); font-size: 14px; flex-shrink: 0; }

/* Radio */
.radio-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
}

.radio-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.radio-wrap input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.radio-wrap label {
  font-size: 14px;
  color: var(--gray-900);
  cursor: pointer;
  font-weight: 500;
}

/* Checkbox */
.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-wrap span {
  font-size: 13px;
  color: var(--gray-700);
}


/* ── 11-2. Login Page ── */
.login-card {
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}

.login-banner {
  background: var(--primary);
  padding: 32px 28px 28px;
  text-align: center;
  color: #fff;
}

.login-banner-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.login-banner p {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 300;
}

/* 탭 메뉴 */
.login-tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  background: var(--bg);
}

.login-tab {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  position: relative;
  transition: color 0.2s;
}

.login-tab:hover { color: var(--gray-600); }

.login-tab.active { color: var(--primary); }

.login-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.login-form-wrap {
  padding: 28px 28px 24px;
}

/* 로그인 옵션 */
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-top: 4px;
}

.find-link {
  font-size: 13px;
  color: var(--gray-400);
  transition: color 0.2s;
}

.find-link:hover { color: var(--primary); }

/* 로그인 버튼 */
.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
}

.btn-login:hover { background: var(--primary-hover); }
.btn-login:active { transform: scale(0.99); }

/* 구분선 */
.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  gap: 12px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.divider span {
  font-size: 12px;
  color: var(--gray-400);
  white-space: nowrap;
}

/* 소셜 로그인 */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-kakao {
  width: 100%;
  padding: 13px;
  background: #FEE500;
  color: #3C1E1E;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-kakao:hover { background: #F5D800; }
.btn-kakao svg { width: 20px; height: 20px; }

/* 회원가입 안내 */
.signup-area {
  text-align: center;
  padding: 20px 28px 28px;
  border-top: 1px solid var(--gray-100);
}

.signup-area p {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.btn-signup {
  display: inline-block;
  padding: 10px 32px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.btn-signup:hover { background: var(--primary); color: #fff; }

/* 기관회원 폼 토글 */
.form-business { display: none; }
.form-business.active { display: block; }
.form-general { display: block; }
.form-general.active { display: block; }


/* ── 11-3. Join Page ── */
.join-card {
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.join-banner {
  background: var(--primary);
  padding: 32px 28px 28px;
  text-align: center;
  color: #fff;
}

.join-banner-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.join-banner p {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 300;
}

.join-guide {
  text-align: center;
  padding: 20px 28px 0;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.join-form-wrap {
  padding: 20px 28px 28px;
}

/* 회원유형 라디오 */
.member-type-group {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 6px 0 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--gray-100);
}

.member-type-group .radio-wrap label { font-size: 16px; font-weight: 600; }

/* 프로필 이미지 업로드 */
.profile-upload {
  background: var(--primary-bg);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.profile-upload .upload-label {
  display: block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.profile-upload input[type="file"] {
  font-size: 13px;
  color: var(--gray-600);
}

/* 옵션 행 */
.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.option-row .option-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  flex-shrink: 0;
  min-width: 110px;
}

.option-row .option-label.accent { color: var(--primary); }

/* 한교원 추천인 영역 */
.refer-field {
  display: none;
  margin-top: 10px;
}

.refer-field.show { display: block; }

.refer-hint {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 6px;
}

.refer-hint a { color: var(--primary); text-decoration: underline; }

/* 약관 동의 */
.agree-section {
  border-top: 1px solid var(--gray-100);
  padding-top: 18px;
  margin-top: 10px;
}

.agree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.agree-row button {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--gray-600);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

.agree-row button:hover { color: var(--primary); }

/* 제출 버튼 */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
  margin-top: 20px;
}

.btn-submit:hover { background: var(--primary-hover); }
.btn-submit:active { transform: scale(0.99); }

/* 로그인 안내 */
.login-area {
  text-align: center;
  padding: 20px 28px 28px;
  border-top: 1px solid var(--gray-100);
}

.login-area p {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.btn-to-login {
  display: inline-block;
  padding: 10px 32px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.btn-to-login:hover { background: var(--primary); color: #fff; }


/* ── 11-4. Auth Responsive ── */
@media (max-width: 768px) {
  .gnb-inner { padding: 0 16px; gap: 16px; }
  .gnb-nav { display: none; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
  .main-content { padding: 24px 12px; }

  /* login */
  .login-banner { padding: 24px 20px 22px; }
  .login-banner-logo { font-size: 24px; }
  .login-form-wrap { padding: 22px 20px 18px; }
  .signup-area { padding: 16px 20px 22px; }

  /* join */
  .join-banner { padding: 24px 20px 22px; }
  .join-banner-logo { font-size: 24px; }
  .join-form-wrap { padding: 18px 20px 22px; }
  .login-area { padding: 16px 20px 22px; }
  .option-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* ── 11-5. Find ID/PW Page ── */
.find-card {
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}

.find-banner {
  background: var(--primary);
  padding: 32px 28px 28px;
  text-align: center;
  color: #fff;
}

.find-banner-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.find-banner p {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 300;
}

.find-guide {
  text-align: center;
  padding: 20px 28px 0;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.find-form-wrap {
  padding: 20px 28px 28px;
}

.find-section {
  padding: 20px 0;
}

.find-section + .find-section {
  border-top: 1px solid var(--gray-100);
}

.find-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.find-section-title::before {
  content: '';
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.btn-find {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
  margin-top: 6px;
}

.btn-find:hover { background: var(--primary-hover); }
.btn-find:active { transform: scale(0.99); }

/* Find page responsive */
@media (max-width: 480px) {
  .find-banner { padding: 24px 20px 22px; }
  .find-banner-logo { font-size: 24px; }
  .find-form-wrap { padding: 18px 20px 22px; }
}

/* =========================================
   11-6. Member Modify Page
   ========================================= */
.mod-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}

.mod-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 32px 24px 28px;
}

.mod-banner-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.mod-banner p {
  font-size: 14px;
  opacity: 0.92;
  font-weight: 400;
}

.mod-form-wrap {
  padding: 28px 32px 32px;
}

/* 읽기전용/비활성 필드 스타일 */
.input-field:disabled,
.input-field[readonly] {
  background: #f5f5f5;
  color: var(--gray-600);
  cursor: default;
}

/* 전화번호 읽기전용 구분선 */
.phone-row .sep {
  color: var(--gray-400);
}

/* 알림/한교원 옵션 행 - 비활성 상태 */
.option-row.disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* 하단 버튼 그룹 */
.mod-btn-group {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.btn-mod-submit {
  flex: 1;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
}

.btn-mod-submit:hover { background: var(--primary-hover); }
.btn-mod-submit:active { transform: scale(0.99); }

.btn-mod-delete {
  flex: 0 0 auto;
  padding: 13px 20px;
  background: #fff;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-mod-delete:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-bg);
}

/* Mod page responsive */
@media (max-width: 480px) {
  .mod-banner { padding: 24px 20px 22px; }
  .mod-banner-logo { font-size: 24px; }
  .mod-form-wrap { padding: 20px 20px 24px; }
  .mod-btn-group { flex-direction: column; }
  .btn-mod-delete { text-align: center; }
}

/* =========================================
   12. Marketplace (돌봄나눔장터) Page
   ========================================= */

/* 장터 아이템 카드 */
.mkt-card {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.mkt-card:hover {
  background: var(--gray-50);
}

.mkt-card-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
}

.mkt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkt-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mkt-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mkt-card-title .done {
  color: var(--gray-400);
  font-weight: 500;
}

.mkt-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
}

.mkt-card-meta .author {
  color: var(--primary);
  font-weight: 600;
}

.mkt-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

.mkt-card-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-600);
}

.mkt-card-info .label {
  color: var(--gray-400);
  font-weight: 500;
  flex-shrink: 0;
}

.mkt-card-tags {
  display: flex;
  gap: 5px;
  margin-top: 2px;
}

.mkt-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.mkt-badge-sell {
  background: #EBF5FF;
  color: #2563EB;
}

.mkt-badge-share {
  background: #ECFDF5;
  color: #059669;
}

.mkt-badge-done {
  background: var(--gray-100);
  color: var(--gray-400);
}

/* 물품등록 버튼 (툴바 내) */
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-register:hover {
  background: var(--primary-hover);
}

.btn-register svg {
  flex-shrink: 0;
}

/* 장터 반응형 */
@media (max-width: 768px) {
  .mkt-card { padding: 16px 18px; gap: 14px; }
  .mkt-card-thumb { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
  .mkt-card { padding: 14px 16px; gap: 12px; }
  .mkt-card-thumb { width: 80px; height: 80px; border-radius: 10px; }
  .mkt-card-title { font-size: 14px; }
}

/* =========================================
   12-1. Marketplace View (장터 상세) Page
   ========================================= */

/* 이미지 갤러리 */
.mkt-gallery {
  margin-bottom: 28px;
}

.mkt-gallery-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 10px;
  cursor: pointer;
}

.mkt-gallery-main img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.mkt-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.88);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  opacity: 0;
  transition: opacity 0.15s, background 0.15s;
}

.mkt-gallery-main:hover .mkt-gallery-nav { opacity: 1; }
.mkt-gallery-nav:hover { background: #fff; }
.mkt-gallery-prev { left: 12px; }
.mkt-gallery-next { right: 12px; }

.mkt-gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 10;
}

.mkt-gallery-thumbs {
  display: flex;
  gap: 8px;
}

.mkt-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
  flex-shrink: 0;
}

.mkt-gallery-thumb.active {
  border-color: var(--primary);
}

.mkt-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 상품 상세 헤더 */
.mkt-view-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 28px;
}

.mkt-view-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mkt-view-status.selling { background: #EBF5FF; color: #2563EB; }
.mkt-view-status.sharing { background: #ECFDF5; color: #059669; }
.mkt-view-status.done { background: var(--gray-100); color: var(--gray-400); }

.mkt-view-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.mkt-view-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-500);
}

.mkt-view-meta .author {
  color: var(--primary);
  font-weight: 700;
}

.mkt-view-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
}

.mkt-view-price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mkt-view-price .price-label {
  font-size: 13px;
  color: var(--gray-500);
}

.mkt-view-price .price-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

/* 상품 정보 테이블 (info-table 재사용) */

/* 상품 설명 */
.mkt-view-desc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px 28px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray-700);
  white-space: pre-line;
}

/* 댓글 영역 */
.mkt-comments {
  margin-top: 8px;
}

.mkt-comment-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.mkt-comment-input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  outline: none;
  resize: none;
  min-height: 48px;
  transition: border-color 0.2s;
  background: var(--gray-50);
}

.mkt-comment-input:focus {
  border-color: var(--primary);
  background: var(--bg);
}

.mkt-comment-input::placeholder { color: var(--gray-400); }

.mkt-comment-submit {
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.mkt-comment-submit:hover { background: var(--primary-hover); }

.mkt-comment-secret {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -10px;
  margin-bottom: 16px;
}

.mkt-comment-secret label {
  font-size: 13px;
  color: var(--gray-500);
  cursor: pointer;
}

/* 이미지 라이트박스 오버레이 */
.mkt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mkt-lightbox.active { display: flex; }

.mkt-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.mkt-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.mkt-lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* 장터 뷰 반응형 */
@media (max-width: 768px) {
  .mkt-gallery-thumb { width: 60px; height: 60px; }
  .mkt-view-title { font-size: 20px; }
  .mkt-view-price .price-value { font-size: 20px; }
}

@media (max-width: 480px) {
  .mkt-gallery-thumbs { gap: 6px; }
  .mkt-gallery-thumb { width: 52px; height: 52px; border-radius: 6px; }
  .mkt-view-desc { padding: 18px 20px; }
}

.kPv {
    float: left;
    margin-right: 5px;
    width: 27px;
    height: 27px;
    border-radius: 150px;
}

/* =========================================
   13. Video (돌봄영상) Page
   ========================================= */

/* 피처드 영상 (상단 대형) */
.vid-featured {
  display: block;
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--gray-900);
  transition: box-shadow 0.2s;
}

.vid-featured:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.vid-featured-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.vid-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.vid-featured:hover .vid-featured-thumb img {
  transform: scale(1.03);
}

.vid-featured-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 50%);
  pointer-events: none;
}

.vid-featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}

.vid-featured:hover .vid-featured-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.vid-featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.vid-featured-body {
  padding: 20px 24px;
  background: var(--bg);
}

.vid-featured-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 8px;
}

.vid-featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
}

.vid-featured-meta .channel {
  color: var(--primary);
  font-weight: 600;
}

/* 영상 그리드 */
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 영상 카드 */
.vid-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
  background: var(--bg);
}

.vid-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(255,87,88,0.1);
  transform: translateY(-3px);
}

.vid-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}

.vid-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.vid-card:hover .vid-card-thumb img {
  transform: scale(1.05);
}

.vid-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  transition: background 0.15s;
  pointer-events: none;
}

.vid-card:hover .vid-card-thumb::after {
  background: rgba(0,0,0,0.18);
}

.vid-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.2s, transform 0.15s;
}

.vid-card:hover .vid-card-play {
  opacity: 1;
}

.vid-card-body {
  padding: 14px 16px 16px;
}

.vid-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--gray-900);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
  min-height: 40px;
}

.vid-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
}

.vid-card-meta .channel {
  color: var(--primary);
  font-weight: 600;
}

.vid-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

/* 영상 반응형 */
@media (max-width: 1024px) {
  .vid-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .vid-grid { grid-template-columns: 1fr; gap: 14px; }
  .vid-featured-body { padding: 16px 18px; }
  .vid-featured-title { font-size: 16px; }
  .vid-featured-play { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .vid-card-body { padding: 12px 14px 14px; }
  .vid-card-title { font-size: 13px; min-height: auto; }
}


/* ===================================================================
   13-1. 돌봄영상 상세 (video-view.html)
   =================================================================== */

/* 유튜브 반응형 임베드 */
.vid-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.vid-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 영상 헤더 */
.vid-view-header {
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--gray-100);
}

.vid-view-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.vid-view-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
}

.vid-view-meta .channel {
  color: var(--primary);
  font-weight: 600;
}

.vid-view-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

/* 광고 안내 */
.vid-view-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-radius: 10px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

.vid-view-notice svg {
  flex-shrink: 0;
  color: var(--gray-400);
}

/* 관련 영상 섹션 */
.vid-related {
  padding: 28px 0 0;
}

.vid-related-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-900);
  letter-spacing: -0.2px;
}

.vid-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.vid-related-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-100);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.vid-related-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(255, 87, 88, 0.10);
  transform: translateY(-2px);
}

.vid-related-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: var(--gray-100);
}

.vid-related-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vid-related-card:hover .vid-related-thumb img {
  transform: scale(1.05);
}

.vid-related-thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.25s ease;
}

.vid-related-card:hover .vid-related-thumb .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vid-related-body {
  padding: 12px 14px 14px;
}

.vid-related-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  min-height: 38px;
  letter-spacing: -0.2px;
}

.vid-related-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-500);
}

.vid-related-card-meta .channel {
  color: var(--primary);
  font-weight: 600;
}

/* 목록 버튼 영역 */
.vid-back-wrap {
  text-align: center;
  padding: 28px 0 8px;
}

/* 영상 상세 반응형 */
@media (max-width: 1024px) {
  .vid-related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
  .vid-view-title { font-size: 18px; }
  .vid-player { border-radius: 12px; }
  .vid-related-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .vid-view-title { font-size: 16px; }
  .vid-view-notice { padding: 12px 14px; font-size: 12px; }
  .vid-related-body { padding: 10px 12px 12px; }
  .vid-related-card-title { font-size: 13px; min-height: auto; }
}


/* =========================================
   14. 돌봄취업동향 (board.html)
   ========================================= */

/* 사이드바 메뉴 (세로 리스트) */
.sidebar-menu-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  transition: all 0.15s;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 2px;
}

.sidebar-menu-item:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.sidebar-menu-item.active {
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 700;
}

/* 게시판 카드 */
.board-card {
  display: block;
  padding: 22px 24px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.board-card:first-child {
  border-top: 2px solid var(--gray-900);
}

.board-card:hover {
  background: var(--gray-50);
}

.board-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.45;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-card:hover .board-card-title {
  color: var(--primary);
}

.board-card-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-500);
}

.board-card-region {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: #EBF2FF;
  color: #3B82F6;
}

.board-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

/* 게시판 검색 입력 */
.board-search {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.board-search .input-field {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
}

.board-search .btn-search {
  padding: 0 14px;
  background: var(--gray-700);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  flex-shrink: 0;
}

.board-search .btn-search:hover {
  background: var(--gray-900);
}

/* 게시판 반응형 */
@media (max-width: 768px) {
  .board-card { padding: 18px 16px; }
  .board-card-title { font-size: 15px; }
  .board-card-desc { font-size: 13px; }
}

@media (max-width: 480px) {
  .board-card { padding: 16px 14px; }
  .board-card-title { font-size: 14px; }
  .board-card-desc { -webkit-line-clamp: 1; margin-bottom: 10px; }
}

/* =========================================
   14-1. 돌봄취업동향 상세 (board-view.html)
   ========================================= */

/* 게시글 헤더 */
.board-view-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.board-view-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.board-view-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.board-view-meta .source {
  color: var(--primary);
  font-weight: 700;
}

.board-view-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

.board-view-meta .board-card-region {
  margin-left: auto;
}

/* 게시글 본문 */
.board-view-body {
  padding: 32px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-700);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.board-view-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  display: block;
}

.board-view-body p {
  margin: 0 0 12px;
}

.board-view-body a {
  color: var(--primary);
  text-decoration: underline;
  word-break: break-all;
}

.board-view-body a:hover {
  color: var(--primary-hover);
}

/* 출처 영역 */
.board-view-source-box {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

.board-view-source-box a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
}

.board-view-source-box a:hover {
  text-decoration: underline;
}

/* 게시글 뷰 반응형 */
@media (max-width: 768px) {
  .board-view-title { font-size: 20px; }
  .board-view-body { font-size: 14px; padding: 24px 0; }
  .board-view-meta .board-card-region { margin-left: 0; }
}

@media (max-width: 480px) {
  .board-view-title { font-size: 18px; }
  .board-view-body { padding: 20px 0; }
  .board-view-source-box { padding: 16px 18px; }
}


/* ═══════════════════════════════════════════════════════
   15. MYPAGE (나의돌봄)
   - body.page-auth 레이아웃 기반, 전체 너비
═══════════════════════════════════════════════════════ */

/* 마이페이지 카드 */
.mypage-card {
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

/* 마이페이지 헤더 */
.mypage-header {
  background: var(--primary);
  padding: 32px 28px 28px;
  text-align: center;
  color: #fff;
}

.mypage-header-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.mypage-header p {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 300;
}

/* 탭 메뉴 */
.mypage-tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  background: var(--bg);
}

.mypage-tab {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
}

.mypage-tab:hover { color: var(--gray-600); }
.mypage-tab.active { color: var(--primary); }

.mypage-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

/* 마이페이지 본문 */
.mypage-body {
  padding: 28px;
}

/* 배너 */
.mypage-banner {
  display: block;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.mypage-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 안내 박스 */
.mypage-info-box {
  background: var(--primary-bg);
  border: 1px solid rgba(255, 87, 88, 0.15);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.mypage-info-box p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 12px;
}

.mypage-info-box p:last-child { margin-bottom: 0; }

.mypage-info-box .btn-register-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mypage-info-box .btn-register-link:hover { opacity: 0.7; }

/* 구인 리스트 테이블 */
.mypage-list {
  margin-bottom: 24px;
}

.mypage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mypage-table thead th {
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  font-weight: 700;
  color: var(--gray-700);
  text-align: center;
  white-space: nowrap;
}

.mypage-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  text-align: center;
  vertical-align: middle;
}

.mypage-table tbody tr:hover {
  background: var(--gray-50);
}

.mypage-table .td-title {
  text-align: left;
  font-weight: 500;
  color: var(--gray-900);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-table .td-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.mypage-table .td-title a:hover {
  color: var(--primary);
}

.mypage-table .btn-edit,
.mypage-table .btn-delete {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s;
}

.mypage-table .btn-edit {
  background: var(--gray-100);
  color: var(--gray-700);
}

.mypage-table .btn-edit:hover {
  background: var(--gray-200);
}

.mypage-table .btn-delete {
  background: var(--primary-bg);
  color: var(--primary);
}

.mypage-table .btn-delete:hover {
  background: var(--primary);
  color: #fff;
}

/* 빈 상태 */
.mypage-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
  font-size: 15px;
}

.mypage-empty svg {
  display: block;
  margin: 0 auto 16px;
  color: var(--gray-300);
}

/* 페이지네이션 */
.mypage-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding-top: 8px;
}

.mypage-pagination a,
.mypage-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  transition: all 0.2s;
}

.mypage-pagination a:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.mypage-pagination .active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* 마이페이지 반응형 */
@media (max-width: 768px) {
  .mypage-card { border-radius: 12px; }
  .mypage-header { padding: 24px 20px 22px; }
  .mypage-header-title { font-size: 24px; }
  .mypage-body { padding: 20px; }
  .mypage-table thead { display: none; }
  .mypage-table tbody td { display: block; text-align: left; padding: 8px 16px; border-bottom: none; }
  .mypage-table tbody td:first-child { padding-top: 16px; }
  .mypage-table tbody td:last-child { padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
  .mypage-table .td-title { max-width: none; }
}

@media (max-width: 480px) {
  .mypage-body { padding: 16px; }
  .mypage-info-box { padding: 16px 18px; }
  .mypage-empty { padding: 40px 16px; }
}


/* ═══════════════════════════════════════════════════════
   15-1. MYPAGE WRITE (구인정보 등록)
   - mypage-card 내부 폼 스타일
═══════════════════════════════════════════════════════ */

/* 폼 안내 텍스트 */
.mypage-form-guide {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-radius: 10px;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.mypage-form-guide svg {
  flex-shrink: 0;
  color: var(--gray-400);
}

/* 섹션 구분 */
.mypage-form-section {
  margin-bottom: 32px;
}

.mypage-form-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-900);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

/* 폼 필드 행 */
.mypage-form-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.mypage-form-row:last-child {
  border-bottom: none;
}

.mypage-form-label {
  width: 120px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding-top: 10px;
  line-height: 1.4;
}

.mypage-form-required {
  color: var(--primary);
  margin-right: 2px;
}

.mypage-form-control {
  flex: 1;
  min-width: 0;
}

/* 셀렉트 박스 */
.mypage-form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  outline: none;
  background: var(--gray-50);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23868B94' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.mypage-form-select:focus {
  border-color: var(--primary);
  background-color: var(--bg);
}

/* 셀렉트 inline 두 개 */
.mypage-form-select-row {
  display: flex;
  gap: 8px;
}

.mypage-form-select-row .mypage-form-select {
  flex: 1;
}

/* 힌트 텍스트 */
.mypage-form-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

.mypage-form-hint svg {
  flex-shrink: 0;
  color: var(--gray-400);
}

/* 인라인 입력 (모집인원 등) */
.mypage-form-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mypage-form-inline .input-field {
  width: auto;
}

.mypage-form-inline .mypage-form-unit {
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
  flex-shrink: 0;
}

/* 텍스트영역 */
.mypage-form-textarea {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  outline: none;
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mypage-form-textarea::placeholder { color: var(--gray-400); }

.mypage-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 88, 0.12);
  background: var(--bg);
}

/* 전화번호 입력 */
.mypage-form-phone {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mypage-form-phone .input-field {
  flex: 1;
  text-align: center;
}

.mypage-form-phone .sep {
  color: var(--gray-400);
  font-size: 14px;
  flex-shrink: 0;
}

/* 하단 안내사항 */
.mypage-form-notice {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 32px;
  margin-bottom: 24px;
}

.mypage-form-notice li {
  list-style: none;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.mypage-form-notice li::before {
  content: '*';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--gray-400);
}

/* 동의 체크 */
.mypage-form-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 0;
  border-top: 1px solid var(--gray-100);
  margin-top: 12px;
}

.mypage-form-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.mypage-form-agree label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
}

/* 버튼 영역 */
.mypage-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.mypage-form-actions .btn-submit {
  flex: 1;
  margin-top: 0;
}

.mypage-form-actions .btn-cancel {
  flex: 0 0 auto;
  padding: 14px 32px;
  background: var(--bg);
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.mypage-form-actions .btn-cancel:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--gray-900);
}

/* 작성 폼 반응형 */
@media (max-width: 768px) {
  .mypage-form-row {
    flex-direction: column;
    gap: 6px;
  }
  .mypage-form-label {
    width: auto;
    padding-top: 0;
  }
  .mypage-form-select-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .mypage-form-section-title { font-size: 15px; }
  .mypage-form-phone .input-field { min-width: 0; }
  .mypage-form-actions { flex-direction: column; }
  .mypage-form-actions .btn-cancel { text-align: center; }
}


/* ═══════════════════════════════════════════════════
   15-2. MYPAGE VIEW (구인정보 상세)
   ═══════════════════════════════════════════════════ */

/* 상세 헤더 */
.mypage-view-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--gray-200);
}

.mypage-view-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 12px;
}

.mypage-view-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--gray-500);
}

.mypage-view-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 섹션 */
.mypage-view-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-100);
}

.mypage-view-section:last-child {
  border-bottom: none;
}

.mypage-view-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

/* 정보 테이블 (2열) */
.mypage-view-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.mypage-view-table th,
.mypage-view-table td {
  padding: 13px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.mypage-view-table tr:last-child th,
.mypage-view-table tr:last-child td {
  border-bottom: none;
}

.mypage-view-table th {
  width: 130px;
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 500;
  white-space: nowrap;
}

.mypage-view-table td {
  color: var(--gray-900);
}

/* 본문 콘텐츠 박스 */
.mypage-view-content {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-800);
  min-height: 60px;
  word-break: keep-all;
}

.mypage-view-content p {
  margin: 0 0 8px;
}

.mypage-view-content p:last-child {
  margin-bottom: 0;
}

.mypage-view-content ul,
.mypage-view-content ol {
  margin: 8px 0;
  padding-left: 20px;
}

.mypage-view-content li {
  margin-bottom: 4px;
}

/* 빈 콘텐츠 */
.mypage-view-content-empty {
  color: var(--gray-400);
  font-style: italic;
}

/* 통화하기 버튼 */
.mypage-view-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 8px auto 0;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.mypage-view-call:hover {
  background: var(--primary-hover);
}

/* 하단 액션 */
.mypage-view-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 0 8px;
}

.mypage-view-actions .btn-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  background: var(--bg);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.mypage-view-actions .btn-list:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.mypage-view-actions .btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.mypage-view-actions .btn-edit:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.mypage-view-actions .btn-delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  background: var(--bg);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.mypage-view-actions .btn-delete:hover {
  background: var(--primary-bg);
}

/* 다른 구인정보 */
.mypage-view-related {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--gray-200);
}

.mypage-view-related-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.mypage-view-related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mypage-view-related-item {
  display: block;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.mypage-view-related-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(255, 87, 88, 0.1);
}

.mypage-view-related-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mypage-view-related-item-info {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  gap: 8px;
}

/* 상세 뷰 반응형 */
@media (max-width: 768px) {
  .mypage-view-title { font-size: 20px; }
  .mypage-view-meta { flex-wrap: wrap; gap: 8px; }
  .mypage-view-table th { width: 100px; }
  .mypage-view-related-list { grid-template-columns: 1fr; }
  .mypage-view-actions { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .mypage-view-title { font-size: 18px; }
  .mypage-view-section { padding: 20px 0; }
  .mypage-view-section-title { font-size: 15px; }
  .mypage-view-table th,
  .mypage-view-table td { padding: 10px 12px; font-size: 13px; }
  .mypage-view-table th { width: 80px; }
  .mypage-view-content { padding: 16px; font-size: 13px; }
  .mypage-view-call { font-size: 15px; padding: 12px 20px; }
  .mypage-view-actions .btn-list,
  .mypage-view-actions .btn-edit,
  .mypage-view-actions .btn-delete { padding: 10px 20px; font-size: 14px; }
}


/* ═══════════════════════════════════════════════════
   16. PARTNER (협력기관)
   ═══════════════════════════════════════════════════ */

/* 사이드바 검색 */
.sidebar-search {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.sidebar-search .input-field {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 13px;
}

.sidebar-search .btn-search {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

.sidebar-search .btn-search:hover {
  background: var(--primary-hover);
}

/* 기관 카드 */
.partner-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}

.partner-card:hover {
  background: var(--gray-50);
}

/* 기관 아이콘 */
.partner-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* 기관 정보 */
.partner-card-body {
  flex: 1;
  min-width: 0;
}

.partner-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.partner-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.partner-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
}

.partner-card-row svg {
  flex-shrink: 0;
  color: var(--gray-400);
}

.partner-card-row a {
  color: var(--gray-700);
  font-weight: 500;
  transition: color 0.15s;
}

.partner-card-row a:hover {
  color: var(--primary);
}

.partner-card-addr {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.partner-card-addr svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gray-400);
}

/* 협력기관 반응형 */
@media (max-width: 768px) {
  .partner-card { padding: 16px 18px; gap: 14px; }
  .partner-card-icon { width: 44px; height: 44px; border-radius: 10px; }
  .partner-card-name { font-size: 15px; }
}

@media (max-width: 480px) {
  .partner-card { padding: 14px 16px; gap: 12px; }
  .partner-card-icon { width: 40px; height: 40px; }
  .partner-card-name { font-size: 14px; }
  .partner-card-row { font-size: 13px; }
  .partner-card-addr { font-size: 12px; }
}
