/* ══════════════════════════════════════════════════
Table of Contents
-----------------------------------------------------
1. Fonts
2. Header
3. Dropdown
4. Table
5. Log Out Modal
6. ...
7. ...
8. ...
9. ...
10. hexCodes: DarkOrange::#ff8c00, DarkTurquoise::#00ced1, HostingerLight::#8c85ff, HostingerDark::#673de6
══════════════════════════════════════════════════ */

/* ╔══════════╗
   ║ 1. Fonts ║
   ╚══════════╝ */
@font-face {
  font-family: "TitilliumWeb-Regular";
  src: url("../../fonts/TitilliumWeb/TitilliumWeb-Regular.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "TitilliumWeb-SemiBold";
  src: url("../../fonts/TitilliumWeb/TitilliumWeb-SemiBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
body {
  font-family: "TitilliumWeb-Regular", sans-serif;
  font-size: 25 px !important;
  user-select: none !important;
}
.tooltip-inner {
  font-family: "TitilliumWeb-Regular", sans-serif !important;
  font-size: 12px !important;
}
.font-bold {
  font-family: "TitilliumWeb-SemiBold", sans-serif;
}
.font-14px {
  font-size: 14px;
}
#search {
  font-size: 12px !important;
}
.btn-sm {
  font-family: "TitilliumWeb-SemiBold", sans-serif;
  font-size: 12px !important;
}
input,
select {
  font-size: 12px !important;
}
.modal .modal-header .modal-title {
  font-size: 1.1rem !important;
}

/* ╔═══════════╗
   ║ 2. Header ║
   ╚═══════════╝ */
@media (max-width: 767px) {
  .nav-item {
    border: 1px solid #afb3b8;
    border-radius: 10px;
  }
}
@media (max-width: 767px) {
  .navbar-nav {
    gap: 0.25rem; /* gap-1 */
  }
}

/* ╔═════════════╗
   ║ 3. Dropdown ║
   ╚═════════════╝ */
.nav-item.dropdown .dropdown-toggle::after {
  display: none;
}
.dropdown-item {
  color: inherit !important;
  background-color: transparent !important;
  font-size: 12px !important;
}
.dropdown-item:hover,
.dropdown-item:focus {
  color: inherit !important;
  background-color: #f0f0f0 !important;
}
.dropdown-item {
  display: flex;
}
.dropdown-item i {
  flex: 0 0 20%;
  padding-top: 1.5px;
}
.dropdown-item span {
  flex: 0 0 80%;
}
/* dropdown-menu */
.dropdown-menu {
  --bs-dropdown-min-width: 7.5rem !important;
}
@media (max-width: 576px) {
  .dropdown-menu[aria-labelledby="studentsDropdown"] {
    margin: 0.5rem !important; /* m-2 */
  }
  .dropdown-menu[aria-labelledby="libraryDropdown"] {
    margin: 0.5rem !important; /* m-2 */
  }
  .dropdown-submenu .dropdown-menu {
    margin: 0.25rem !important; /* m-1 */
  }
}
/* dropdown-submenu */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.3rem;
  display: none;
}
.dropdown-submenu .dropdown-menu.show {
  display: block;
}

/* ╔══════════╗
   ║ 4. Table ║
   ╚══════════╝ */
.table th,
.table td {
  padding: 2px !important;
}
.table-responsive {
  max-height: 70vh;
  overflow-y: auto;
}
.table-dark {
  position: sticky;
  top: 0;
  z-index: 10;
}
.table-hover tbody tr:hover td {
  background-color: #f2f7ff !important;
  color: #0d6efd !important;
  /* font-family: "TitilliumWeb-SemiBold", sans-serif; */
}

/* ╔══════════════════╗
   ║ 5. Log Out Modal ║
   ╚══════════════════╝ */
#logOutModalDialog.modal-sm {
  --bs-modal-width: 250px !important;
  --bs-modal-margin: 3.5rem !important;
}

/* * * * * * <TEST> * * * * * */
.large-checkbox {
  margin-top: 5px;
  width: 20px;
  height: 20px;
}
.large-switch {
  scale: 1.2;
}
.form-check {
  min-height: 0rem;
}

/* 14-Sep-2025 (Sun) */
/* .row > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
} */

/* 20-Sep-2025 (Sat) */
.modal {
  background-color: #000000bf !important; /* black, ~75% opacity */
}

/* 21-Sep-2025 (Sun) */
/* .spinner-border {
  --bs-spinner-width: 1.15rem;
  --bs-spinner-height: 1.15rem;
} */
.valid-feedback {
  margin-top: 0.05rem !important;
}
.invalid-feedback {
  margin-top: 0.05rem !important;
}

/* used in students.html... */
.hover-danger:hover {
  transition: all 0.3s ease;
  background-color: var(--bs-danger);
  border-color: var(--bs-danger);
  color: #fff;
}

/* * * * * * </TEST> * * * * * */
