:root {
  --bc-primary: #1e5a8a;
  --bc-primary-dark: #143f61;
  --bc-accent: #0d9488;
  --bc-accent-light: #14b8a6;
  --bc-bg: #f0f4f8;
  --bc-surface: #ffffff;
  --bc-text: #1e293b;
  --bc-muted: #64748b;
  --bc-border: #e2e8f0;
  --bc-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --bc-radius: 12px;
  --bc-nav-footer-font: 1.375rem;
  --bc-select-font: 1.3125rem;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bc-bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--bc-text);
  background: var(--bc-bg);
  overflow-x: hidden;
}

.bc-site {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background: var(--bc-bg);
}

.bc-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--bc-bg);
}

.bc-page::after {
  content: none;
  display: none;
}

.bc-content {
  width: 100%;
}


a {
  color: var(--bc-primary);
}

a:hover {
  color: var(--bc-accent);
}

.bc-topbar {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--bc-primary) 0%, var(--bc-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.15);
  border-bottom: 3px solid var(--bc-accent);
  position: sticky;
  top: 0;
  z-index: 200;
}

.bc-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bc-topbar-nav {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.bc-topbar-nav > a,
.bc-topbar-nav .nav-item > .dropdown-toggle {
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 12px 16px;
  text-decoration: none !important;
  font-size: var(--bc-nav-footer-font);
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.bc-topbar-nav > a:hover,
.bc-topbar-nav > a.active,
.bc-topbar-nav .nav-item > .dropdown-toggle:hover,
.bc-topbar-nav .nav-item > .dropdown-toggle.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

.bc-topbar-nav .bc-nav-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}

.bc-topbar-nav .bc-nav-muted:hover {
  color: #fff !important;
}

.bc-topbar-nav .nav-item.dropdown {
  position: relative;
}

.bc-topbar-nav .dropdown-menu,
.bc-topbar-nav .bc-nav-dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.2);
  padding: 8px;
  min-width: 300px;
  margin-top: 10px;
  background: var(--bc-surface);
}

.bc-topbar-nav .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--bc-text) !important;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.bc-topbar-nav .dropdown-item .bc-dd-icon {
  flex: 0 0 1.75rem;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
}

.bc-topbar-nav .dropdown-item:hover,
.bc-topbar-nav .dropdown-item:focus,
.bc-topbar-nav .dropdown-item.active {
  background: #e8f4fc;
  color: var(--bc-primary) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.bc-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff !important;
  text-decoration: none !important;
}

.bc-brand:hover {
  color: #e0f2fe !important;
}

.bc-brand-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.bc-user-chip {
  text-align: right;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  min-width: 0;
}

.bc-user-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.bc-user-role {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  opacity: 0.92;
  font-weight: 500;
}

/* ескі .bc-nav жолағы жоғарғы жолаққа (.bc-topbar-nav) көшірілді */

.bc-admin-toolbar {
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--bc-accent) 0%, #0f766e 100%);
  padding: 12px 0;
}

.bc-admin-toolbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bc-admin-toolbar .btn {
  font-size: var(--bc-select-font);
  font-weight: 600;
  padding: 10px 18px;
  line-height: 1.35;
  border-radius: 8px;
}

.bc-admin-toolbar .btn-sm {
  font-size: var(--bc-select-font);
  padding: 10px 18px;
}

.bc-admin-toolbar .btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.bc-admin-toolbar .btn-outline-light:hover,
.bc-admin-toolbar .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

.bc-admin-toolbar .btn-outline-light.active,
.bc-admin-toolbar .btn-outline-light.active:hover,
.bc-admin-toolbar .btn-outline-light.active:focus {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

main.bc-content {
  flex: 0 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 8px;
  box-sizing: border-box;
}

.bc-panel-compact {
  margin-bottom: 8px;
  padding: 16px 20px;
}

.bc-panel-compact .table {
  margin-bottom: 0;
}

.bc-panel-compact .table tbody td {
  padding: 10px 14px;
}

.bc-chart-wrap {
  position: relative;
  height: 220px;
  max-height: 220px;
}

.bc-chart-wrap-wide {
  height: 320px;
  max-height: 320px;
}

.bc-chart-wrap-legend {
  height: 300px;
  max-height: 300px;
}

.bc-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.bc-page-head {
  margin-bottom: 24px;
}

.bc-page-head h1,
.bc-content > h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bc-primary-dark);
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--bc-accent);
  display: inline-block;
}

.bc-page-sub {
  display: none;
}

.bc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--bc-surface);
  border-radius: var(--bc-radius);
  border: 1px solid var(--bc-border);
  box-shadow: var(--bc-shadow);
}

.bc-toolbar label {
  font-weight: 500;
  color: var(--bc-muted);
  margin: 0;
}

.bc-toolbar select,
.bc-toolbar input[type="text"],
.bc-toolbar input[type="search"] {
  padding: 10px 14px;
  border: 1px solid var(--bc-border);
  border-radius: 8px;
  font-size: var(--bc-select-font);
  min-width: 160px;
  min-height: 48px;
}

select,
textarea,
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="password"],
.form-control {
  font-size: var(--bc-select-font);
  line-height: 1.4;
}

select,
.form-control {
  min-height: 48px;
}

select option {
  font-size: var(--bc-select-font);
  padding: 8px;
}

.chosen-container {
  font-size: var(--bc-select-font) !important;
}

.chosen-container-single .chosen-single {
  height: auto !important;
  min-height: 44px;
  line-height: 1.4 !important;
  padding: 10px 14px !important;
  font-size: var(--bc-select-font) !important;
}

.chosen-container .chosen-results li {
  font-size: var(--bc-select-font) !important;
  padding: 10px 14px !important;
  line-height: 1.4 !important;
}

.chosen-container .chosen-drop {
  border-radius: 8px;
}

.bc-topbar-nav .dropdown-menu {
  font-size: 1.125rem;
}

.bc-toolbar .btn {
  border-radius: 8px;
  font-weight: 500;
}

.bc-page-head .btn,
.bc-toolbar .btn-primary {
  margin-left: auto;
}

.bc-page-head-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.bc-page-head-flex h1 {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.bc-day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.bc-day-tabs .nav-link,
.bc-day-tabs button.nav-link {
  border: 1px solid var(--bc-border) !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 600;
  color: var(--bc-text) !important;
  background: var(--bc-surface) !important;
  cursor: pointer;
}

.bc-day-tabs .nav-link.active,
.bc-day-tabs button.nav-link.active {
  background: var(--bc-primary) !important;
  color: #fff !important;
  border-color: var(--bc-primary) !important;
  box-shadow: 0 2px 8px rgba(30, 90, 138, 0.35);
}

.bc-day-tabs .nav-link:hover:not(.active),
.bc-day-tabs button.nav-link:hover:not(.active) {
  background: var(--bc-bg) !important;
  border-color: var(--bc-primary) !important;
  color: var(--bc-primary) !important;
}

.bc-panel.bc-chart-panel {
  padding: 16px 20px;
}

.bc-result-box {
  background: #f8fafc;
  border-radius: var(--bc-radius);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--bc-border);
}

.bc-result-box h2,
.bc-result-box h3 {
  color: var(--bc-primary-dark);
}

.bc-pearson-block {
  margin: 20px 0;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
}

.bc-pearson-title {
  margin: 0 0 14px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bc-primary-dark);
}

.bc-pearson-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.bc-pearson-img {
  flex: 0 0 auto;
  max-width: min(100%, 260px);
  width: auto;
  max-height: 64px;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.bc-pearson-val {
  flex: 1 1 220px;
  font-size: 1.3125rem;
  line-height: 1.55;
  color: var(--bc-text);
  font-weight: 500;
}

.bc-pearson-val strong {
  font-weight: 700;
}

.bc-pearson-table-title {
  margin: 18px 0 14px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bc-primary-dark);
  text-align: center;
}

.bc-result-box,
.bc-result-box.result {
  font-size: 1.125rem;
  line-height: 1.55;
}

.bc-result-box .table th,
.bc-result-box .table td {
  font-size: 1.0625rem;
}

.result h2,
.result h3 {
  font-size: 1.25rem;
}

.result .bc-pearson-title {
  font-size: 1.375rem;
}

.result .bc-pearson-val {
  font-size: 1.3125rem;
}

/* Bootstrap 3 модаль — ашылған кезде көрінуі керек */
.modal.in {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

.modal-backdrop.in {
  display: block !important;
}

.bc-alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.bc-alert-info {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.bc-alert-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.bc-media-card {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.bc-media-card img {
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
  object-fit: cover;
}

.bc-media-body {
  flex: 1;
  min-width: 260px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.bc-media-body h2 {
  margin-top: 0;
  color: var(--bc-primary-dark);
}

.bc-form-hint {
  font-size: 0.85rem;
  color: var(--bc-muted);
  margin-top: 8px;
}

.bc-panel .modal textarea,
#loaddata {
  width: 100%;
  min-height: 220px;
  padding: 16px;
  font-family: inherit;
  font-size: 1.375rem;
  line-height: 1.55;
  resize: vertical;
}

#loaddata::placeholder {
  font-size: 1.25rem;
  color: var(--bc-muted);
  opacity: 1;
}

.bc-panel input[type="file"] {
  margin-top: 8px;
}

.bc-table-actions a {
  margin-right: 12px;
  font-weight: 500;
}

.bc-status {
  margin-top: 12px;
  padding: 12px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.9rem;
}

.admin .modal-body select,
.admin .modal-body textarea {
  font-size: 1.375rem;
  padding: 12px 16px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid var(--bc-border);
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
}

.bc-content .notes {
  width: 100%;
  max-width: 100%;
  min-height: 80px;
  border-radius: 8px;
  border: 1px solid var(--bc-border);
  padding: 10px;
}

.bc-ref {
  margin: 2px;
  padding: 6px 10px;
  background: #fef9c3;
  border-radius: 6px;
  cursor: pointer;
}

.bc-hidden-port-hint {
  font-size: 0.75rem;
  opacity: 0.85;
}

.bc-panel {
  background: var(--bc-surface);
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--bc-border);
}

.bc-panel.bc-chart-panel {
  margin-bottom: 0;
  padding-bottom: 16px;
}

.bc-admin-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.bc-dash-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  text-decoration: none !important;
  color: var(--bc-text) !important;
  box-shadow: var(--bc-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.bc-dash-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bc-dash-accent, var(--bc-primary));
}

.bc-dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  border-color: var(--bc-dash-accent, var(--bc-accent));
}

.bc-dash-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  border-radius: 16px;
  background: var(--bc-dash-icon-bg, #e8eef4);
}

.bc-dash-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bc-dash-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bc-primary-dark);
  line-height: 1.3;
}

.bc-dash-desc {
  font-size: 1.0625rem;
  color: var(--bc-muted);
  line-height: 1.4;
}

.bc-dash-arrow {
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: var(--bc-muted);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}

.bc-dash-card:hover .bc-dash-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: var(--bc-dash-accent, var(--bc-primary));
}

.bc-dash-card--blue { --bc-dash-accent: #1e5a8a; --bc-dash-icon-bg: #dbeafe; }
.bc-dash-card--teal { --bc-dash-accent: #0d9488; --bc-dash-icon-bg: #ccfbf1; }
.bc-dash-card--indigo { --bc-dash-accent: #4338ca; --bc-dash-icon-bg: #e0e7ff; }
.bc-dash-card--violet { --bc-dash-accent: #7c3aed; --bc-dash-icon-bg: #ede9fe; }
.bc-dash-card--slate { --bc-dash-accent: #475569; --bc-dash-icon-bg: #f1f5f9; }
.bc-dash-card--amber { --bc-dash-accent: #d97706; --bc-dash-icon-bg: #fef3c7; }
.bc-dash-card--cyan { --bc-dash-accent: #0891b2; --bc-dash-icon-bg: #cffafe; }
.bc-dash-card--rose { --bc-dash-accent: #e11d48; --bc-dash-icon-bg: #ffe4e6; }

/* Күнтізбе popup — ағыннан тыс, бет ұзармайды (display:none болғанда орын алмайды) */
#ui-datepicker-div {
  position: fixed !important;
}

.table {
  background: var(--bc-surface);
  border-radius: var(--bc-radius);
  overflow: hidden;
  box-shadow: var(--bc-shadow);
}

.table thead th {
  background: var(--bc-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 12px 14px;
}

.table tbody tr:hover td {
  background: #f8fafc;
}

.table td,
.table th {
  vertical-align: middle !important;
  border-color: var(--bc-border) !important;
}

.btn-primary {
  background: var(--bc-primary);
  border-color: var(--bc-primary);
}

.btn-primary:hover {
  background: var(--bc-primary-dark);
  border-color: var(--bc-primary-dark);
}

.btn-success {
  background: var(--bc-accent);
  border-color: var(--bc-accent);
}

.btn-success:hover {
  background: #0f766e;
  border-color: #0f766e;
}

#loaddata {
  border: 2px dashed var(--bc-accent);
  border-radius: var(--bc-radius);
  background: #f0fdfa;
}

.modal-content {
  border-radius: var(--bc-radius);
  border: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
  background: var(--bc-bg);
  border-radius: var(--bc-radius) var(--bc-radius) 0 0;
  padding: 18px 22px;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bc-primary-dark);
}

.modal-body {
  font-size: 1.375rem;
  line-height: 1.55;
  padding: 24px 26px;
}

.modal-footer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--bc-bg);
  border-radius: 0 0 var(--bc-radius) var(--bc-radius);
}

.modal-footer .btn {
  font-size: 1.375rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  margin: 0;
}

.modal-body select,
.modal-body textarea,
.modal-body .form-control {
  font-size: 1.375rem;
}

.modal-body label {
  font-size: 1.25rem;
}

.bc-login-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.bc-login-box {
  width: 100%;
  max-width: 400px;
  background: var(--bc-surface);
  padding: 40px;
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
  border: 1px solid var(--bc-border);
}

.bc-login-box h1 {
  font-size: 1.35rem;
  margin: 0 0 8px;
  border: none;
  padding: 0;
  display: block;
}

.bc-login-box .form-control {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--bc-border);
  width: 100%;
  font-size: 1.3125rem;
}

.bc-login-box .form-control::placeholder {
  font-size: 1.3125rem;
  color: var(--bc-muted);
  opacity: 1;
}

.bc-login-box .btn {
  width: 100%;
  padding: 12px;
  font-weight: 600;
  border-radius: 8px;
}

.bc-login-error {
  color: #dc2626;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

footer.bc-footer {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--bc-primary-dark);
  border-top: 2px solid var(--bc-border);
  background: var(--bc-surface);
}

.bc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: var(--bc-nav-footer-font);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.bc-footer-brand {
  flex: 1 1 auto;
  text-align: left;
  min-width: 0;
}

.bc-footer-author {
  flex: 0 1 auto;
  text-align: right;
  font-weight: 600;
  color: var(--bc-muted);
  max-width: 100%;
}

.ui-widget-overlay,
.ui-dialog,
.pickmeup {
  position: absolute !important;
  height: auto !important;
  min-height: 0 !important;
}

.bc-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.bc-kpi {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--bc-shadow);
}

.bc-kpi-val {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bc-primary);
  line-height: 1.2;
}

.bc-kpi-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bc-muted);
  margin-top: 8px;
}

.bc-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.bc-chart-title {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bc-primary-dark);
}

body.bc-public,
body.bc-admin {
  background: var(--bc-bg) !important;
}

.bc-timetable-panel {
  margin-bottom: 16px;
}

.bc-timetable {
  margin-bottom: 0;
}

.bc-timetable .bc-tt-time {
  white-space: nowrap;
  width: 130px;
  font-weight: 600;
  color: var(--bc-primary-dark);
}

.bc-timetable .bc-tt-actions {
  white-space: nowrap;
  width: 120px;
  text-align: right;
}

.bc-timetable .bc-tt-actions a {
  font-weight: 600;
}

.bc-timetable tr.bc-tt-empty td.subject,
.bc-timetable tr.bc-tt-empty td.teacher,
.bc-timetable tr.bc-tt-empty td.room {
  color: var(--bc-muted);
  font-style: italic;
}

.bc-day-tabs .nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-day-tabs button.nav-link {
  cursor: pointer;
}

body.bc-admin .bc-content {
  padding-top: 20px;
}

.bc-content .table a {
  font-weight: 500;
}

.bc-content input[type="number"].upd,
.bc-content input.upd {
  width: 72px;
  padding: 6px 8px;
  border: 1px solid var(--bc-border);
  border-radius: 6px;
  text-align: center;
}

.bc-content input.upd.cng {
  background: #fee2e2;
  border-color: #f87171;
}

@media (max-width: 768px) {
  .bc-topbar-inner {
    padding: 10px 12px;
  }
  .bc-topbar-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  .bc-topbar-nav > a,
  .bc-topbar-nav .nav-item > .dropdown-toggle {
    padding: 10px 12px;
    font-size: 1.2rem;
  }
  .bc-brand-title {
    font-size: 1.35rem;
  }

  .bc-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    font-size: 1.1rem;
  }

  .bc-footer-brand,
  .bc-footer-author {
    text-align: left;
    width: 100%;
  }
  .bc-content {
    padding: 20px 16px;
  }
}
