
/* Fullscreen modal pattern (legacy/optional). Scoped to .fullscreen-modal
   to avoid conflicting with .modal-overlay > .modal pattern. */
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.fullscreen-modal.show {
  display: flex !important;
}

.modal-content {
  background-color: var(--card-bg);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-close {
  color: var(--text-secondary);
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}
