/*!
 * Theme Name: Default
 * Package : DashLite
 * Author: Softnio
 * Author URI: http://themeforest.net/user/softnio
 * Version	 :	1.0.0
 * Updated	 :	07.23.2020
**/

/* Sipinor: dark mode — many views set inline background #F5F6FA on <th>, which wins over theme rules and yields unreadable headers */
.dark-mode .table thead th,
.dark-mode .table tfoot th,
.dark-mode table.dataTable thead > tr > th,
.dark-mode table.dataTable thead > tr > td {
  background-color: #2c3a50 !important;
  color: #ffffff !important;
}

.dark-mode .table-responsive > .table,
.dark-mode .table.table-striped[style*="border"] {
  border-color: #2a3d52 !important;
}

.dark-mode .nk-menu-link,
.dark-mode .nk-menu-main .nk-menu-sub .nk-menu-link {
  color: #b6c6e3 !important;
}

.dark-mode .form-control,
.dark-mode .form-select {
  border-color: rgba(182, 198, 227, 0.33) !important;
}

/* Resource assignment / home-work: staff evaluation list (loaded with dashlite; not in Mix custom.scss) */
.resource-eval-student-row {
  font-size: 90%;
  padding: 10px;
  border-radius: 5px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: #f1f3f4;
  color: #212529;
}

.dark-mode .resource-eval-student-row {
  background-color: #2c3544 !important;
  color: #c9d4ea !important;
  border: 1px solid #3a4d6a !important;
}

.dark-mode .table.custom-show-table tbody td {
  color: #d0dbeb !important;
}

.dark-mode .table.custom-show-table tbody td:last-child {
  color: #ffffff !important;
}

/* Laravel-vue-pagination (Bootstrap .pagination): default --bs-pagination-bg is white — full-width flex looks like a white bar in dark mode */
.dark-mode ul.pagination,
.dark-mode .pagination {
  --bs-pagination-bg: #2c3544;
  --bs-pagination-color: #c9d4ea;
  --bs-pagination-border-color: #3a4d6a;
  --bs-pagination-hover-bg: #364a63;
  --bs-pagination-hover-color: #e8eef8;
  --bs-pagination-hover-border-color: #4a5f7a;
  --bs-pagination-disabled-bg: #252f3f;
  --bs-pagination-disabled-color: #6b7a90;
  --bs-pagination-disabled-border-color: #3a4d6a;
}