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;
}

.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;
}
/* ── Swipeable toolbar (mobile) ── */
.toolbar-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
}
.toolbar-scroll-container::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
}
.toolbar-nav {
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
}
.toolbar-nav .nav-link {
    scroll-snap-align: start;
    font-size: .875rem;
}
/* On wider screens, centre the toolbar */
@media (min-width: 768px) {
    .toolbar-nav {
        min-width: unset;
        justify-content: center;
        width: 100%;
    }
}

/* ── Toolbar extra padding fix ── */
.toolbar-nav .nav-link {
    padding: 0.5rem 0.75rem !important;
}

/* ── Toolbar overflow containment fix ── */
.toolbar-scroll-container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
/* Prevent body/html horizontal scroll from toolbar */
body {
    overflow-x: hidden;
}

/* ── Hard clamp page width — no horizontal scroll ever ── */
html {
    overflow-x: clip;
    max-width: 100vw;
}
body {
    overflow-x: clip;
    max-width: 100vw;
}

/* ── List Group / Card Overrides (Force Light Theme Everywhere) ── */
.card-header.bg-transparent h6.text-muted {
    color: #6c757d !important;
}

.list-group-item {
    background-color: #ffffff !important;
    color: #212529 !important;
}

.list-group-item.list-group-item-action:hover {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.list-group-item .text-muted {
    color: #6c757d !important;
}

.list-group-item .bg-light {
    background-color: #f8f9fa !important;
}
