/* ==========================================================================
   [modal-view.css]
   역할: 모달 팝업 & 카카오/네이버 초록색 듀얼 버튼 전용 스타일 (1파일 1기능)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

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

.modal-header {
  margin-bottom: 16px;
  padding-right: 36px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.modal-sub {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
}

.modal-map-wrap {
  width: 100%;
  height: 220px;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f8fafc;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

#modal-map {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.modal-info-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.4;
}

.modal-info-icon {
  font-size: 1.1rem;
}

/* 💛 카카오 지도로 길찾기 입체 노란색 버튼 */
.modal-kakao-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: #FEE500;
  color: #191919;
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(254, 229, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modal-kakao-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.6);
}

/* 🟢 네이버 블로그 후기 & 네이버 지도 리뷰 초록색 듀얼 버튼 */
.modal-naver-btn-wrap {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.modal-naver-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  background: #03C75A;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
  transition: transform 0.15s ease, background 0.15s ease;
}

.modal-naver-btn:hover {
  background: #02b350;
  transform: translateY(-2px);
}
