.search-row th {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.action-col .btn {
  font-size: 0.75rem !important;
  margin-bottom: 2px !important;
}

.sticky-table th {
  background: #ccc;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  white-space: nowrap;
}

/* テーブルスクロールコンテナ（スクロールバー常時表示） */
.tbl-scroll {
  overflow-x: scroll;   /* 横バーを常時表示 (iOS含む) */
  overflow-y: auto;
  scrollbar-color: #adb5bd #e9ecef;
}
.tbl-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.tbl-scroll::-webkit-scrollbar-track {
  background: #e9ecef;
}
.tbl-scroll::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 4px;
}
.tbl-scroll::-webkit-scrollbar-thumb:hover {
  background: #6c757d;
}

/* Material Dashboard のモバイル制限を上書き */
@media (max-width: 991px) {
  body {
    min-width: 0 !important;
  }
  .main-panel {
    height: auto !important;
    max-height: none !important;
  }
}

/* Bootstrap4 の .form-control に合わせる */
.select2-container .select2-selection--single {
  height: calc(1.5em + .75rem + 2px); /* Bootstrap4 の form-control と同じ式 */
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: calc(1.5em + .75rem + 2px);
  padding-left: .75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: calc(1.5em + .75rem + 2px);
}
