/* Confirmation Modal Styles */

/* Ensure modal appears above sidebar (which has z-index: 40) and navbar */
.modal {
  z-index: 1001;
}

/* Clean header style with subtle border instead of gradient shadow */
.modal-card-head {
  box-shadow: none;
  border-bottom: 1px solid #dbdbdb;
}

/* Dark mode modal styling */
[data-theme="dark"] .modal-card-head {
  background-color: #1f2937;
  border-bottom-color: #4b5563;
}

[data-theme="dark"] .modal-card-title {
  color: #f3f4f6;
}

[data-theme="dark"] .modal-card-body {
  background-color: #111827;
  color: #e5e7eb;
}

[data-theme="dark"] .modal-card-foot {
  background-color: #1f2937;
  border-top-color: #4b5563;
}

/* Content Modal — wider card for page-in-a-modal */
.content-modal-card {
  max-width: 720px;
  width: 90vw;
}

.content-modal-card .modal-card-body {
  min-height: 200px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Wide variant for content that needs more horizontal space (e.g. preformatted text) */
.content-modal-wide {
  max-width: 960px;
}

/* Confirmation sub-dialog within the content modal */
.content-modal-confirm {
  padding: 2rem 1rem;
}
