/**
 * PUCDocuments 共通オンラインヘルプ CSS
 * File: /opt/homebrew/var/www/PUCDocuments/common/help/help.css
 */

#HelpModal .modal-dialog {
  max-width: 760px;
  height: 78vh;
  transition: all 0.2s ease-in-out;
}

#HelpModal .modal-content {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#HelpModal .modal-header {
  background-color: #1e293b !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0.75rem 1.25rem !important;
  color: #ffffff !important;
}

#HelpModal .modal-title,
#HelpModalLabel {
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  color: #ffffff !important;
}

#HelpModal .modal-body {
  overflow-y: auto;
  padding: 1.25rem;
  background-color: #ffffff;
}

#HelpModal .modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 0.5rem 1.25rem;
}

/* 全画面独立モード (Fullscreen Mode) */
#HelpModal.modal-fullscreen-mode {
  padding: 0 !important;
  background-color: #f8f9fa;
}

#HelpModal.modal-fullscreen-mode .modal-dialog {
  max-width: 800px !important;
  width: 100% !important;
  height: 100vh !important;
  margin: 0 auto !important;
}

#HelpModal.modal-fullscreen-mode .modal-content {
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  height: 100vh !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  #HelpModal:not(.modal-fullscreen-mode) .modal-dialog {
    max-width: 95vw;
    height: 88vh;
    margin: 1.75rem auto;
  }
}
