/* 주소 검색 임베드 높이 강제 제한 (ID 대신 클래스 사용) */
.address-search-embed,
.address-search-embed iframe,
.address-search-embed > div {
  height: 300px !important;
  max-height: 300px !important;
  min-height: 300px !important;
  overflow: auto !important;
}

/* 주소 입력 필드 텍스트 오버플로우 처리 */
.hospital-address {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* 퀵바 및 모달 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.4s ease-out forwards;
}

.animate-modal-slide-up {
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 배경 스크롤 방지용 클래스 */
body.modal-open {
  overflow: hidden;
}

/* 모바일 모달 스크롤바 숨김 (기능은 유지) */
#mobile-inquiry-modal-content {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#mobile-inquiry-modal-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
