/* ══════════════════════════════════════════════════
Table of Contents
-----------------------------------------------------
1. Fonts
2. Header
3. Dropdown
4. Table
5. Modal
6. ...
7. ...
8. ...
9. ...
10. hexCodes: DarkOrange::#ff8c00, DarkTurquoise::#00ced1, HostingerLight::#8c85ff, HostingerDark::#673de6
══════════════════════════════════════════════════ */

/* ╔══════════╗
   ║ 1. Fonts ║
   ╚══════════╝ */
/* 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;
}
@font-face {
  font-family: "CascadiaCode";
  src: url("../../fonts/CascadiaCode/static/CascadiaCode-Regular.ttf") format("truetype");
}
/* Elements */
body {
  font-family: "TitilliumWeb-Regular", sans-serif;
  font-size: 12px !important;
  user-select: none !important;
}
.tooltip-inner {
  font-family: "TitilliumWeb-Regular", sans-serif !important;
  font-size: 12px !important;
}
#search {
  font-family: "TitilliumWeb-Regular", sans-serif;
  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;
}
/* Custom */
.compact-text {
  line-height: 1.2 !important;
}
.compact-select {
  max-width: 70px !important;
  padding-right: 0 !important;
  --bs-form-select-bg-icon: none !important;
}
.font-bold {
  font-family: "TitilliumWeb-SemiBold", sans-serif;
}
.small-fonts {
  font-size: 11px !important;
}
.small-fonts-slot-hours {
  font-size: 11px !important;
  margin-top: -5px !important;
}
.font-10px {
  font-size: 10px !important;
}
.font-11px {
  font-size: 11px !important;
}
.font-12px {
  font-size: 12px !important;
}
.font-13px {
  font-size: 13px !important;
}
.font-14px {
  font-size: 14px !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: 0rem 0.5rem 0.5rem 0.5rem !important; /* m-2 */
  }
  .dropdown-menu[aria-labelledby="libraryDropdown"] {
    margin: 0rem 0.5rem 0.5rem 0.5rem !important; /* m-2 */
  }
  .dropdown-menu[aria-labelledby="reportsDropdown"] {
    margin: 0rem 0.5rem 0.5rem 0.5rem !important; /* m-2 */
  }
  .dropdown-menu[aria-labelledby="mastersDropdown"] {
    margin: 0rem 0.5rem 0.5rem 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. Modal ║
   ╚══════════╝ */
.modal {
  background-color: #000000bf !important; /* black, ~75% opacity */
}
#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;
}

/* 21-Sep-2025 */
.valid-feedback {
  margin-top: 0.05rem !important;
}
.invalid-feedback {
  margin-top: 0.05rem !important;
}

/* 26-Sep-25 (for students.html) */
.hover-danger:hover {
  transition: all 0.3s ease;
  background-color: var(--bs-danger);
  border-color: var(--bs-danger);
  color: #fff;
}
.no-select-icon {
  padding-right: 2rem !important;
  --bs-form-select-bg-icon: none !important;
}

/* 29-Sep-25 (for lockerMap.html, seatMap.html) */
.scrollable-container {
  max-height: 70vh !important;
  overflow-y: auto !important;
}

/* * * * * * </TEST> * * * * * */
/* * * * * * </TEST> * * * * * */
/* * * * * * </TEST> * * * * * */
/* * * * * * </TEST> * * * * * */
/* * * * * * </TEST> * * * * * */

.no-gutter > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.mobile-scroll {
  display: flex !important;
  gap: 0.25rem !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
}
/* @media (max-width: 576px) { */
@media (max-width: 800px) {
  .mobile-scroll > div {
    min-width: 50px !important;
    flex-shrink: 0 !important;
  }
}
.table {
  margin-bottom: 0rem !important;
}
/* ------------------------------ */
.table-compact th,
.table-compact td {
  /* padding: 0 4px !important; */
  padding: 0 2px !important;
}

.bg-warning,
.btn-warning {
  background-color: #ffe39c !important;
}
/* ------------------------------ */
.mt-xs {
  margin-top: 0.1rem !important;
}
.me-xs {
  margin-right: 0.15rem !important;
}
.mb-minus-3px {
  margin-bottom: -3px !important;
}
.mb-minus-2px {
  margin-bottom: -2px !important;
}
.form-control:focus {
  box-shadow: none;
  outline: none;
}

/* TEMP FROM MEMBERS.HTML (CAME HERE ON 06-FEB-26) */
.mt-xs {
  margin-top: 0.05rem !important;
}
.mb-xs {
  margin-bottom: 0.15rem !important;
}
.py-xs {
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
}
.extra-compact-text {
  line-height: 1 !important;
}
.modal-xs {
  --bs-modal-width: 250px !important;
  --bs-modal-margin: 3.5rem !important;
}
input[type="text"] {
  text-transform: uppercase !important;
}
input[type="text"]::placeholder {
  text-transform: none !important;
}

.notify-message {
  white-space: nowrap !important;    /* prevent breaking */
  display: inline-block !important;  /* respect nowrap */
}

.font-bold {
  font-weight: bold;
}
