/* 채용공고 상세페이지 새 디자인 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.employer-detail-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 30px 50px;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2c3e50;
}

/* 상단 메타 정보 */
.top-meta {
  font-size: 14px;
  color: #95a5a6;
  margin-bottom: 16px;
  font-weight: 500;
}

/* 제목 영역 */
.job-title {
  padding: 20px 32px;
  font-size: 18px;
  border: 1px solid var(--brand-color);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-dark) 100%);
  line-height: 1.8;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--brand-color-light);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.job-title:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.job-title strong {
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.job-title .location {
  color: rgba(255,255,255,0.95);
  font-weight: normal;
}

/* 메인 카드 */
.job-card {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}

.job-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 상단 이미지 영역 */
.top-info {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.main-photo {
  flex: 1;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--brand-color-light);
  position: relative;
}

.main-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-photo.text-mode {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  padding: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thumbs-wrap {
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.thumb-arrow {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #95a5a6;
  cursor: pointer;
  transition: color 0.3s ease;
  background: #f8f9fa;
  border-radius: 8px;
}

.thumb-arrow:hover {
  color: var(--brand-color);
  background: #e9ecef;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.thumbs::-webkit-scrollbar {
  width: 6px;
}

.thumbs::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.thumbs::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.thumbs::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f8f9fa;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.thumb.highlight {
  border: 2px solid var(--brand-color);
  box-shadow: 0 2px 12px var(--brand-color-light);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 업체 요약 정보 */
.company-summary {
  border-top: 1px solid #f0f2f5;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  line-height: 1.8;
  color: #5f6c7b;
}

.summary-text {
  max-width: 70%;
}

.summary-text a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.summary-text a:hover {
  text-decoration: underline;
}

.summary-buttons {
  display: flex;
  gap: 8px;
}

.btn-gray,
.btn-yellow {
  border-radius: 20px;
  font-size: 12px;
  padding: 8px 16px;
  border: 1px solid transparent;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-gray {
  border-color: #e5e8eb;
}

.btn-gray:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.btn-yellow {
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-dark) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--brand-color-light);
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--brand-color-light);
}

/* 섹션 공통 */
.section {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.section:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2c3e50;
}

.section-title-icon {
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--brand-color) 0%, var(--brand-color-dark) 100%);
  border-radius: 2px;
}

/* 채용정보 섹션 스타일 */
.info-subsection {
  margin-bottom: 32px;
}

.subsection-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-color);
  margin-bottom: 16px;
}

.info-table {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.info-row {
  display: flex;
  margin-bottom: 12px;
  align-items: flex-start;
  font-size: 15px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row .label {
  width: 120px;
  color: #95a5a6;
  flex-shrink: 0;
  font-weight: 500;
}

.info-row .value {
  flex: 1;
  word-break: keep-all;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.6;
}

.info-row .phone-number {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-row .phone-number small {
  font-size: 13px;
  color: #95a5a6;
  font-weight: normal;
}

/* 기존 info-grid 제거하고 새로운 스타일로 대체 */
.info-grid {
  display: none;
}

/* 태그 리스트 */
.tag-list {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid #f0f2f5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.tag {
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  color: #5f6c7b;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, var(--brand-color), var(--brand-color-dark));
  color: #fff;
}

/* 상세정보 섹션 */
.detail-section {
  padding-top: 30px;
  padding-bottom: 40px;
  text-align: center;
}

.detail-banner {
  width: 400px;
  height: 90px;
  margin: 0 auto 32px;
  background: #0066cc;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-narrow {
  width: 700px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 2.2;
}

.shop-name-main {
  font-size: 42px;
  color: #ff33aa;
  font-weight: 600;
  margin-bottom: 16px;
}

.shop-sub {
  font-size: 22px;
  color: #999;
  margin-bottom: 32px;
}

/* 상세 내용 스타일 */
.description-content {
  font-size: 20px;
  line-height: 2;
  color: #5f6c7b;
  text-align: left;
  margin-bottom: 32px;
}

.description-content p {
  margin-bottom: 16px;
}

.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4,
.description-content h5,
.description-content h6 {
  color: var(--brand-color);
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 16px;
}

.description-content ul,
.description-content ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.description-content li {
  margin-bottom: 8px;
}

.description-content strong,
.description-content b {
  font-weight: 700;
  color: #2c3e50;
}

/* 에디터로 삽입된 이미지 스타일 */
.description-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.description-content figure {
  margin: 20px 0;
  text-align: center;
}

.description-content figcaption {
  color: #7f8c8d;
  font-size: 14px;
  margin-top: 10px;
}

.description-content blockquote {
  border-left: 4px solid var(--brand-color);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #555;
}

.description-content pre {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 12px;
  overflow-x: auto;
  margin: 16px 0;
}

.description-content code {
  background-color: #f8f9fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9em;
}

.check-list {
  text-align: left;
  margin-top: 16px;
  list-style: none;
  font-size: 24px;
}

.check-list li {
  margin-bottom: 16px;
  line-height: 2;
}

/* 핑크 타이틀 바 */
.pink-title-wrap {
  margin: 48px auto 32px;
  width: 400px;
  position: relative;
  height: 36px;
}

.pink-title-wrap:before,
.pink-title-wrap:after {
  content: "";
  position: absolute;
  top: 17px;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-color));
}

.pink-title-wrap:before {
  left: 0;
  background: linear-gradient(90deg, transparent, var(--brand-color));
}

.pink-title-wrap:after {
  right: 0;
  background: linear-gradient(270deg, transparent, var(--brand-color));
}

.pink-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 40px;
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-dark) 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--brand-color-light);
}

.detail-block-title {
  font-size: 22px;
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-bottom: 16px;
}

.detail-block {
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid #f0f2f5;
  color: #5f6c7b;
  line-height: 2;
  font-size: 20px;
}

/* 안내/주의 텍스트 */
.notice-text {
  text-align: left;
  font-size: 11px;
  line-height: 1.6;
}

.notice-text strong {
  color: #ff33aa;
}

/* 상세 안내사항 섹션 */
.detail-notice-content {
  text-align: left;
  font-size: 20px;
  line-height: 2;
  color: #5f6c7b;
  margin-bottom: 30px;
}

.notice-item {
  margin-bottom: 16px;
  color: #4a5568;
}

.notice-item strong {
  color: var(--brand-color);
  font-weight: 700;
}

.notice-hashtag {
  color: var(--brand-color);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 18px;
}

/* 사이트 소개 섹션 */
.site-intro-content {
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  color: #5f6c7b;
  padding: 0 40px;
}

.site-intro-content h3 {
  font-size: 28px;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.site-intro-content p {
  margin-bottom: 20px;
  text-align: center;
}

.site-features {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  text-align: center;
}

.site-features li {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #5f6c7b;
  text-align: center;
}

.more-jobs {
  font-weight: 600;
  color: #2c3e50;
  margin-top: 40px !important;
  text-align: center;
}

.hashtag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  justify-content: center;
  line-height: 1.6;
}

.hashtag-links a {
  color: var(--brand-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0 4px;
}

.hashtag-links a:hover {
  color: var(--brand-color-dark);
  text-decoration: underline;
}

.contact-tip {
  background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-dark) 100%);
  color: #fff !important;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 18px !important;
  font-weight: 700;
  text-align: center !important;
  box-shadow: 0 4px 12px var(--brand-color-light);
  margin-top: 40px !important;
  white-space: nowrap;
}

.contact-tip strong {
  color: #fff;
  text-decoration: underline;
}

/* 하단 배너 */
.bottom-banner {
  width: 260px;
  height: 70px;
  margin: 18px auto 0;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #777;
}

/* 지도 영역 */
.map-wrap {
  margin-top: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
  font-size: 12px;
}

.map-desc {
  margin-bottom: 8px;
  color: #777;
}

.map-box {
  width: 100%;
  height: 260px;
  background: #e5e5e5;
  border: 1px solid #ddd;
}

#map {
  width: 100%;
  height: 400px;
}

.doc-info {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: #777;
}

.doc-icon {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  border: 1px solid #eee;
  background: #fafafa;
  position: relative;
  flex-shrink: 0;
}

.doc-icon:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 24px;
  height: 30px;
  border-radius: 3px;
  border: 1px solid #ffc107;
}

.doc-icon:after {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 16px;
  height: 2px;
  background: #ffc107;
  box-shadow: 0 5px 0 #ffc107, 0 10px 0 #ffc107;
}

/* 지원하기 버튼 */
.btn-wrap {
  text-align: center;
  margin-top: 32px;
}

.btn-apply {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

/* 하단 고정 버튼 */
.fixed-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e5e8eb;
  padding: 12px;
  display: flex;
  gap: 12px;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
}

.fixed-bottom-bar .btn {
  flex: 1;
  max-width: 150px;
  padding: 12px 16px;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fixed-bottom-bar .btn i {
  font-size: 16px;
}

.btn-copy {
  background: linear-gradient(135deg, var(--brand-color), var(--brand-color-dark));
  color: #fff;
  opacity: 0.8;
}

.btn-sms {
  background: linear-gradient(135deg, var(--brand-color), var(--brand-color-dark));
  color: #fff;
  opacity: 0.9;
}

.btn-call {
  background: linear-gradient(135deg, var(--brand-color), var(--brand-color-dark));
  color: #fff;
}

.fixed-bottom-bar .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fixed-bottom-bar .btn:active {
  transform: translateY(0);
}

/* 주의사항 섹션 - 토스 스타일 */
.notice-section {
  background: #f9fafb;
  border: none;
  border-radius: 16px;
  position: relative;
  padding: 36px !important;
  box-shadow: none;
  overflow: hidden;
}

.notice-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
}

.notice-doc-icon {
  display: none;
}

.notice-section .section-title {
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.notice-section .section-title i {
  width: 28px;
  height: 28px;
  background: #ff6b6b;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.notice-content {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.8;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.notice-content p {
  margin-bottom: 16px;
  padding-left: 36px;
  position: relative;
  color: #4a5568;
  letter-spacing: -0.2px;
}

.notice-content p:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-content p:nth-child(1):before {
  content: "1";
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
}

.notice-content p:nth-child(2):before {
  content: "2";
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
}

.notice-content p:nth-child(3):before {
  content: "3";
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
}

.notice-content p:nth-child(4):before {
  content: "4";
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
}

.notice-content p:last-child {
  margin-bottom: 0;
}

/* 모바일 전용 하단 바 */
.mobile-only {
  display: none !important;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .mobile-only {
    display: flex !important;
  }

  .fixed-bottom-bar {
    display: flex;
    z-index: 9999;
  }

  .fixed-bottom-bar .btn {
    flex: 1;
    max-width: none;
    font-size: 15px;
    padding: 14px 20px;
  }
  .employer-detail-wrap {
    padding: 15px 15px 100px 15px; /* Add bottom padding for fixed bar */
  }

  .job-title {
    font-size: 16px;
    padding: 16px 20px;
  }

  .section {
    padding: 24px 20px;
  }

  .section-title {
    font-size: 16px;
  }

  .subsection-title {
    font-size: 14px;
  }

  .info-row {
    font-size: 14px;
  }

  .info-row .label {
    width: 100px;
  }

  .tag {
    font-size: 13px;
    padding: 8px 16px;
  }

  .top-info {
    flex-direction: column;
  }

  .main-photo {
    width: 100%;
    height: 240px;
  }

  .thumbs-wrap {
    width: 100%;
    flex-direction: row;
    gap: 8px;
  }

  .thumbs {
    flex-direction: row;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .thumb {
    width: 80px;
    flex-shrink: 0;
  }

  .thumb-arrow {
    display: none;
  }

  .center-narrow {
    width: 100%;
    padding: 0 15px;
    font-size: 18px;
  }

  .shop-name-main {
    font-size: 28px;
  }

  .shop-sub {
    font-size: 16px;
  }

  .check-list {
    font-size: 18px;
  }

  .detail-block-title {
    font-size: 18px;
  }

  .detail-block {
    font-size: 16px;
  }

  .detail-banner {
    width: 90%;
    height: 70px;
    font-size: 16px;
  }

  .pink-title-wrap {
    width: 90%;
  }

  .pink-title {
    font-size: 16px;
    padding: 6px 24px;
  }

  .company-summary {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .summary-text {
    max-width: 100%;
  }

  .summary-buttons {
    width: 100%;
    gap: 10px;
  }

  .btn-gray,
  .btn-yellow {
    flex: 1;
    font-size: 14px;
    padding: 12px 16px;
    text-align: center;
  }

  .detail-notice-content {
    font-size: 15px;
    padding: 0;
  }

  .notice-item {
    margin-bottom: 12px;
  }

  .notice-hashtag {
    font-size: 13px;
  }

  .site-intro-content {
    font-size: 15px;
    padding: 0;
  }

  .site-intro-content h3 {
    font-size: 20px;
  }

  .site-features li {
    font-size: 15px;
  }

  .hashtag-links a {
    font-size: 13px;
  }

  .contact-tip {
    font-size: 14px !important;
    padding: 12px 16px;
    white-space: normal;
  }

  body {
    padding-bottom: 70px;
  }
}