/**
 * Shared mobile baseline for both client and backend.
 * Keep selectors generic and low-risk.
 */

@media (max-width: 991.98px) {
  html,
  body {
    overflow-x: hidden;
  }

  .content-wrapper,
  .pc-container,
  .pc-content,
  #main-dom-content {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .card,
  .table-card,
  .modal-content {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .content-wrapper {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .btn,
  .form-control,
  .form-select {
    min-height: 38px;
  }
}
