/* ============================================
   수면진정마취 안내 모달 (sleep-sedation-modal)
   푸터 링크 클릭 시 표시 — 의료기관 안내 톤
   ============================================ */
.sleep-sedation-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sleep-sedation-modal.active { display: flex; }

.sleep-sedation-modal .ss-dim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
}

.sleep-sedation-modal .ss-inner {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: ssNoticeIn 0.3s ease;
}
@keyframes ssNoticeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 헤더 */
.sleep-sedation-modal .ss-header {
  background: linear-gradient(135deg, #0c4a6e, #075985);
  color: #fff;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px 16px 0 0;
}
.sleep-sedation-modal .ss-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sleep-sedation-modal .ss-header-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sleep-sedation-modal .ss-header-icon .material-symbols-outlined { font-size: 26px; }
.sleep-sedation-modal .ss-header h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 2px;
  color: #fff;
}
.sleep-sedation-modal .ss-header .ss-sub {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
}
.sleep-sedation-modal .ss-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.sleep-sedation-modal .ss-close:hover { background: rgba(255, 255, 255, 0.25); }

/* 본문 */
.sleep-sedation-modal .ss-body {
  padding: 28px;
  background: #fff;
}
.sleep-sedation-modal .ss-paragraph {
  font-size: 14px;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 18px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.sleep-sedation-modal .ss-paragraph:last-child { margin-bottom: 0; }

/* 푸터 */
.sleep-sedation-modal .ss-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e8eb;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 0 0 16px 16px;
}
.sleep-sedation-modal .ss-footer-text {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sleep-sedation-modal .ss-footer-text .material-symbols-outlined { font-size: 16px; color: #9ca3af; }
.sleep-sedation-modal .ss-confirm-btn {
  padding: 11px 22px;
  background: linear-gradient(135deg, #075985, #0c4a6e);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: background 0.15s;
  font-family: inherit;
}
.sleep-sedation-modal .ss-confirm-btn:hover {
  background: linear-gradient(135deg, #0c4a6e, #082f49);
}

/* 모바일 반응형 */
@media (max-width: 600px) {
  .sleep-sedation-modal .ss-inner { max-height: 95vh; }
  .sleep-sedation-modal .ss-header { padding: 18px 20px; }
  .sleep-sedation-modal .ss-header h2 { font-size: 16px; }
  .sleep-sedation-modal .ss-body { padding: 20px; }
  .sleep-sedation-modal .ss-footer { flex-direction: column; padding: 14px 20px; }
  .sleep-sedation-modal .ss-confirm-btn { width: 100%; justify-content: center; }
}
