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;
}

/* Header Logo Styles */
.header-logo {
  max-height: 80px;
  height: auto;
  width: auto;
  max-width: 100%;
}

.practice-act-logo {
  max-height: 60px;
  height: auto;
  width: auto;
  max-width: 100%;
}

/* Navbar Logo Styles */
.practice-act-navbar-logo {
  max-height: 40px;
  height: auto;
  width: auto;
  max-width: 100%;
}

/* Responsive adjustments for logos */
@media (max-width: 768px) {
  .header-logo {
    max-height: 60px;
  }

  .practice-act-logo {
    max-height: 45px;
  }

  .practice-act-navbar-logo {
    max-height: 35px;
  }
}

@media (max-width: 480px) {
  .header-logo {
    max-height: 50px;
  }

  .practice-act-logo {
    max-height: 35px;
  }

  .practice-act-navbar-logo {
    max-height: 30px;
  }
}

/* Custom Dashboard Colors */
.bg-primary-custom {
  background-color: #212861 !important;
}

.text-primary-custom {
  color: #212861 !important;
}

.btn-primary-custom {
  background-color: #212861;
  border-color: #212861;
  color: white;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus,
.btn-primary-custom:active {
  background-color: #1a1f4f;
  border-color: #1a1f4f;
  color: white;
}

.btn-outline-primary-custom {
  color: #212861;
  border-color: #212861;
  background-color: transparent;
}

.btn-outline-primary-custom:hover,
.btn-outline-primary-custom:focus,
.btn-outline-primary-custom:active {
  background-color: #212861;
  border-color: #212861;
  color: white;
}

.bg-success-custom {
  background-color: #cfb558 !important;
}

.text-success-custom {
  color: #cfb558 !important;
}

.btn-success-custom {
  background-color: #cfb558;
  border-color: #cfb558;
  color: white;
}

.btn-success-custom:hover,
.btn-success-custom:focus,
.btn-success-custom:active {
  background-color: #b8a04a;
  border-color: #b8a04a;
  color: white;
}

.btn-outline-success-custom {
  color: #cfb558;
  border-color: #cfb558;
  background-color: transparent;
}

.btn-outline-success-custom:hover,
.btn-outline-success-custom:focus,
.btn-outline-success-custom:active {
  background-color: #cfb558;
  border-color: #cfb558;
  color: white;
}

/* Score distribution clickable bars */
.progress[onclick]:hover {
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.5);
  transform: translateY(-1px);
  transition: all 0.2s ease-in-out;
}

.progress[onclick] {
  transition: all 0.2s ease-in-out;
}

/* Modal table row hover */
#modalStudentList tr:hover {
  background-color: rgba(13, 110, 253, 0.1);
}

#modalStudentList a:hover {
  color: #0d6efd !important;
}