/**
 * Hospital Network Modal Styles
 * 병원 제휴망 풀스크린 모달 스타일
 *
 * @version 1.0.0
 * @path /service/template/web5/c0107-all/components/hospital-modal/hospital-modal.css
 */

/* 풀스크린 모달 기본 스타일 */
.hospital-fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 999999;
  overflow: hidden;
}

/* 모달 활성화 상태 */
.hospital-fullscreen-modal.active {
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 모달 헤더 */
.hospital-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* 모달 타이틀 */
.hospital-modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

/* 닫기 버튼 */
.hospital-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.hospital-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hospital-modal-close:active {
  transform: scale(0.95);
}

/* 모달 본문 */
.hospital-modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f8f9fa;
}

/* 본문 컨텐츠 래퍼 */
.hospital-modal-content-wrapper {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* 준비중 텍스트 */
.preparing-text {
  font-size: 2rem;
  font-weight: 600;
  color: #667eea;
  text-align: center;
  margin: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .hospital-modal-header {
    padding: 1.2rem 1.5rem;
  }

  .hospital-modal-title {
    font-size: 1.2rem;
  }

  .hospital-modal-close {
    width: 40px;
    height: 40px;
  }

  .preparing-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hospital-modal-header {
    padding: 1rem;
  }

  .hospital-modal-title {
    font-size: 1rem;
  }

  .hospital-modal-close {
    width: 36px;
    height: 36px;
  }

  .hospital-modal-close svg {
    width: 24px;
    height: 24px;
  }

  .preparing-text {
    font-size: 1.25rem;
  }
}
