html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Bootstrap Table 标题行样式 */
.bootstrap-table .table thead th {
    background-color: #007bff !important;
    color: white !important;
    font-weight: 600;
    border: none;
}

.bootstrap-table .table thead th .th-inner {
    color: white !important;
}

/* 序号列固定宽度 */
.bootstrap-table .table th[data-field="index"],
.bootstrap-table .table td[data-field="index"] {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
}

/* 操作列按钮间距 */
.bootstrap-table .table td .btn {
    margin-right: 8px;
}

.bootstrap-table .table td .btn:last-child {
    margin-right: 0;
}

/* 确保按钮不会靠得太近 */
.bootstrap-table .table td .btn-sm {
    margin-right: 8px;
}

.bootstrap-table .table td .btn-sm:last-child {
    margin-right: 0;
}