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;
  background: radial-gradient(circle at top right, rgba(37, 140, 251, 0.15), transparent 45%),
              radial-gradient(circle at bottom left, rgba(13, 110, 253, 0.12), transparent 40%);
}

.glass-nav {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background-color: rgba(var(--bs-body-bg-rgb), 0.75);
  backdrop-filter: blur(10px);
  border-radius: 14px;
}

.glass-nav .nav-link.active {
  color: var(--bs-primary);
  font-weight: 600;
}

.shadow-modern {
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.18) !important;
}

.clean-card {
  background: linear-gradient(180deg, rgba(var(--bs-body-bg-rgb), 0.92), rgba(var(--bs-body-bg-rgb), 0.82));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clean-card:hover {
  transform: translateY(-2px);
}

.info-chip {
  background-color: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.2);
}

.hero-section .badge {
  font-weight: 500;
}

.profile-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background-color: var(--bs-primary);
  color: var(--bs-light);
}

.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;
}

.theme-fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 50%;
  background: rgba(var(--bs-body-bg-rgb), 0.88);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.2);
  backdrop-filter: blur(6px);
  z-index: 1080;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.theme-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.26);
}

.theme-fab:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(var(--bs-body-bg-rgb), 1), 0 0 0 0.35rem rgba(37, 140, 251, 0.45);
}

.footer-clean {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background-color: rgba(var(--bs-body-bg-rgb), 0.58);
  backdrop-filter: blur(5px);
}

.footer-clean .container {
  padding-top: 0.125rem !important;
  padding-bottom: 0.125rem !important;
}

.footer-caption {
  font-size: 0.78rem;
  opacity: 0.72;
  letter-spacing: 0.02em;
}

.ticket-call-modal-dialog {
  width: min(94vw, 1200px);
  max-width: none;
}

.ticket-call-modal-content {
  min-height: min(86vh, 860px);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(145deg, rgba(var(--bs-body-bg-rgb), 0.98), rgba(13, 110, 253, 0.1));
  box-shadow: 0 28px 80px rgba(2, 8, 23, 0.35);
}

.ticket-call-modal-header,
.ticket-call-modal-footer {
  padding-left: clamp(1.1rem, 3vw, 2.6rem);
  padding-right: clamp(1.1rem, 3vw, 2.6rem);
}

.ticket-call-modal-title {
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticket-call-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.2rem, 3.2vw, 3.2rem);
}

.ticket-call-label {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--bs-secondary-color);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-call-number {
  font-size: clamp(2.3rem, 9vw, 7rem);
  line-height: 1.05;
  letter-spacing: 0.05em;
  margin-bottom: clamp(0.8rem, 2.5vw, 1.6rem);
  color: var(--bs-primary-text-emphasis);
}

.ticket-call-student {
  font-size: clamp(1.15rem, 3vw, 2.2rem);
}

.dashboard-card {
  cursor: grab;
}

.dashboard-card .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover .card {
  transform: translateY(-2px);
}

.dashboard-card-dragging {
  opacity: 0.6;
}

.dashboard-card .card {
  min-height: 170px;
}

.dashboard-chart {
  position: relative;
  width: 100% !important;
  height: 290px !important;
}

.tv-panel-page {
  margin-bottom: 0;
  overflow: hidden;
}

.tv-panel-page .tv-main {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 3rem;
  padding-right: 3rem;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .tv-panel-page .tv-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.tv-panel-page main {
  padding-bottom: 0.35rem !important;
}

.tv-panel-page .display-6 {
  font-size: 1.95rem;
}

.tv-panel-page .dashboard-chart {
  height: 210px !important;
}

.tv-panel-page .card-body {
  padding: 0.65rem !important;
}

.tv-panel-page .table-sm > :not(caption) > * > * {
  padding: 0.23rem 0.35rem;
  font-size: 0.78rem;
}