/*
 * Bootstrap 4 最小抽出版 — kanhome.net用
 * 使用クラスのみ抽出: text-center, text-danger, text-left,
 * table, table-striped, table-bordered,
 * btn, btn-success, btn-danger, btn-info,
 * checkbox-inline, pagination
 * 元サイズ: 147KB → 約3KB
 */

/* === Reboot (必要最小限) === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* === Text Utilities === */
.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.text-danger {
  color: #dc3545 !important;
}

/* === Table === */
.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: .75rem;
  vertical-align: top;
  border-top: 1px solid #eceeef;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #eceeef;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, .05);
}

.table-bordered {
  border: 1px solid #eceeef;
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #eceeef;
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  padding: .5rem 1rem;
  font-size: 1rem;
  line-height: 1.25;
  border-radius: .25rem;
  transition: all .15s ease-in-out;
  text-decoration: none;
}
.btn:hover,
.btn:focus {
  text-decoration: none;
  outline: 0;
}

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #5cb85c;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #449d44;
  border-color: #419641;
}

.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d9534f;
}
.btn-danger:hover,
.btn-danger:focus {
  background-color: #c9302c;
  border-color: #c12e2a;
}

.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #5bc0de;
}
.btn-info:hover,
.btn-info:focus {
  background-color: #31b0d5;
  border-color: #2aabd2;
}

/* === Checkbox Inline === */
.checkbox-inline {
  display: inline-block;
  padding-left: 1.25rem;
  margin-bottom: 0;
  font-weight: normal;
  vertical-align: middle;
  cursor: pointer;
}

/* === Pagination === */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: .25rem;
  margin: 0;
  gap: .25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination li {
  display: inline-block;
}
