/* static/css/main.css — Design tokens in design-tokens.css (load before this) */

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  /* CustomerRepo browser_report.php — .browser-report-page */
  min-height: 100vh;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-on-dark);
  line-height: 1.75;
  transition: var(--transition);
  margin: 0;
  padding: 0;
}

html[data-bs-theme="dark"] body {
  color: var(--text-primary);
}

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.25rem 0.75rem;
}

.main-container {
  font-family: var(--font-sans);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────
   CARD
───────────────────────────────────────── */
.card {
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  overflow: visible;
  position: relative;
  font-size: 1rem;
  padding: 0.5rem;
  color: var(--text-primary);
}

/* Override Bootstrap's card background (and any bg-white utilities) */
.card:not(.header-card) {
  background-color: var(--surface-color) !important;
  background-image: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.03);
  border-color: var(--primary);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.card:hover::before {
  transform: scaleY(1);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card .dropdown {
  position: relative;
  z-index: var(--z-base);
}

.header-card {
  background: var(--nav-gradient) !important;
  background-image: var(--nav-gradient) !important;
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.header-card .text-primary,
.header-card h1,
.header-card .h1,
.header-card .h2,
.header-card .h3,
.header-card .h4,
.header-card .h5 {
  color: var(--text-inverse) !important;
}

.header-card .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Semantic accents pop on grey card tiles (admin dashboard, etc.) */
.card [class*="bg-opacity-10"] {
  --bs-bg-opacity: 0.45 !important;
}

.card .btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
  background-color: rgba(var(--primary-rgb), 0.16);
}

.card .btn-outline-primary:hover {
  background-color: rgba(var(--primary-rgb), 0.32);
}

.card .btn-outline-success {
  border-width: 2px;
  font-weight: 600;
  background-color: rgba(var(--success-rgb), 0.16);
}

.card .btn-outline-success:hover {
  background-color: rgba(var(--success-rgb), 0.32);
}

.card .btn-outline-danger {
  border-width: 2px;
  font-weight: 600;
  background-color: rgba(var(--danger-rgb), 0.14);
}

.card .btn-outline-danger:hover {
  background-color: rgba(var(--danger-rgb), 0.28);
}

.card .btn-outline-warning {
  border-width: 2px;
  font-weight: 600;
  color: #92400e;
  border-color: var(--warning);
  background-color: rgba(var(--warning-rgb), 0.18);
}

.card .btn-outline-warning:hover {
  background-color: rgba(var(--warning-rgb), 0.34);
  color: #78350f;
}

.card .btn-outline-info {
  border-width: 2px;
  font-weight: 600;
  background-color: rgba(var(--info-rgb), 0.16);
}

.card .btn-outline-info:hover {
  background-color: rgba(var(--info-rgb), 0.32);
}

.card .btn-outline-secondary {
  border-width: 2px;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.28);
  color: var(--text-primary);
}

.card .btn-outline-secondary:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  box-shadow: var(--shadow);
  background: var(--nav-gradient) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand .brand-text {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 3px rgba(15, 23, 42, 0.28);
}

.navbar-brand .brand-text::first-letter {
  letter-spacing: inherit;
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
}

.navbar .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.navbar .dropdown-toggle::after {
  margin-left: 0.5rem;
}

.navbar .nav-item .collapse {
  position: absolute;
  left: 100%;
  top: 0;
  z-index: var(--z-dropdown-menu);
  width: 200px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.navbar .nav-item:hover .collapse {
  display: block;
}

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background-color: var(--nav-bg-a);
  color: var(--text-inverse);
  transition: left 0.3s ease;
  z-index: var(--z-sidebar);
  overflow-y: auto;
}

.sidebar.open {
  left: 0;
  z-index: var(--z-sidebar-open);
}

.sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.sidebar .nav-link {
  color: var(--nav-text);
  padding: 0.75rem 1rem;
  transition: var(--transition-fast);
}

.sidebar .nav-link:hover {
  color: var(--nav-text-hover);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link i {
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}

.sidebar .collapse-inner {
  background-color: rgba(0, 0, 0, 0.2) !important;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  margin: 0 1rem;
  box-shadow: var(--shadow);
}

.sidebar .collapse-header {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  padding: 0.5rem 1rem;
  margin-bottom: 0.25rem;
}

.sidebar .collapse-item {
  display: block;
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
}

.sidebar .collapse-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
}

#sidebarColumn {
  position: fixed;
  top: 70px;
  left: 0;
  width: 250px;
  height: calc(100% - 70px);
  background: var(--surface-color);
  border-right: var(--border-width) solid var(--border-color);
  transition: transform 0.3s ease;
  transform: translateX(-100%);
  z-index: var(--z-sidebar);
  overflow-y: auto;
}

#sidebarColumn.open {
  transform: translateX(0);
}

#contentColumn {
  transition: margin-left 0.3s ease-in-out !important;
  margin-left: 0;
  padding-left: 2.75rem;
}

#contentColumn.shifted {
  margin-left: 250px;
  padding-left: 1rem;
}

.toggle-sidebar {
  position: fixed;
  top: 70px;
  left: 10px;
  z-index: var(--z-sidebar-open);
}

#sidebarHoverZone {
  position: fixed;
  top: 70px;
  left: 0;
  width: 30px;
  height: calc(100% - 70px);
  background-color: transparent;
  z-index: var(--z-sidebar);
}

#sidebarHoverZone:hover {
  pointer-events: auto;
}

#sidebarToggle {
  z-index: var(--z-sticky);
  background-color: var(--nav-bg-a);
  border-color: var(--nav-bg-a);
  color: var(--text-inverse);
}

#sidebarToggle:hover {
  background-color: var(--nav-bg-b);
  border-color: var(--nav-bg-b);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer,
footer {
  background: var(--nav-bg-a);
  color: var(--text-muted);
  padding: 1rem 0;
  margin-top: auto;
}

footer a {
  color: var(--text-inverse);
  text-decoration: none;
}

footer a:hover {
  color: var(--text-inverse);
  text-decoration: underline;
}

/* ─────────────────────────────────────────
   AUTH PAGE
───────────────────────────────────────── */
.auth-container {
  background: var(--primary);
  animation: preventCacheFlash 1ms;
}

.auth-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.logo-wrapper {
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: scale(1.05);
}

@keyframes preventCacheFlash {
  from {
    opacity: 0.999;
  }
  to {
    opacity: 1;
  }
}

/* ─────────────────────────────────────────
   FORMS
───────────────────────────────────────── */
.input-group-text {
  border-right: 0;
  border-color: var(--border-color);
  transition: border-color 0.3s ease;
}

.form-control {
  border-left: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary);
}

/* Keyboard focus — Phase A (accessibility); do not remove mouse :focus styles on buttons */
:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

.form-control:focus-visible,
.form-select:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.form-control:user-invalid,
.form-select:user-invalid {
  border-color: var(--danger);
}

.form-control:user-invalid:focus-visible,
.form-select:user-invalid:focus-visible {
  outline-color: var(--danger);
  box-shadow: 0 0 0 0.2rem rgba(var(--danger-rgb), 0.2);
}

.invalid-feedback {
  display: block;
  margin-top: 0.5rem;
}

.is-invalid {
  border-color: var(--danger);
}

.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
}

/* ─────────────────────────────────────────
   ALERTS
───────────────────────────────────────── */
.alert {
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────
   TABLES
───────────────────────────────────────── */
.table {
  background-color: var(--surface-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.table thead th {
  background: var(--nav-gradient) !important;
  color: var(--text-inverse) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  /* Bootstrap table-light sets inset box-shadow + dark --bs-table-color on th */
  --bs-table-color: var(--text-inverse);
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  box-shadow: none !important;
}

.table > thead.table-light > tr > th {
  background: var(--nav-gradient) !important;
  color: var(--text-inverse) !important;
  box-shadow: none !important;
}

/* Section headings on the dark page gradient (outside .card tiles) */
.settings-group > .group-header h4 {
  color: var(--text-inverse);
}

.settings-group > .group-header .text-muted {
  color: rgba(255, 255, 255, 0.82) !important;
}

.card .card-header.bg-light {
  background-color: var(--surface-raised) !important;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.card .card-header.bg-light h6,
.card .card-header.bg-light .h6 {
  color: var(--text-primary);
}

/* Subtitles in thead (e.g. schedule "Time & duty") must stay readable on the gradient */
.table thead th .text-muted,
.table thead th small.text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ─────────────────────────────────────────
   TOAST NOTIFICATIONS
───────────────────────────────────────── */
.toast-container {
  z-index: var(--z-toast) !important;
  pointer-events: none;
}

.toast-container .toast {
  background-color: var(--surface-color) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: var(--z-toast) !important;
  pointer-events: auto;
  border: 1px solid var(--border-color);
}

.toast-container .toast.text-bg-success,
.toast-container .toast.bg-success {
  background-color: #198754 !important;
  color: #fff !important;
  border-color: #157347;
}
.toast-container .toast.text-bg-danger,
.toast-container .toast.bg-danger {
  background-color: #dc3545 !important;
  color: #fff !important;
  border-color: #b02a37;
}
.toast-container .toast.text-bg-warning,
.toast-container .toast.bg-warning {
  background-color: #ffc107 !important;
  color: #212529 !important;
  border-color: #ffca2c;
}
.toast-container .toast.text-bg-info,
.toast-container .toast.bg-info {
  background-color: #0dcaf0 !important;
  color: #000 !important;
  border-color: #0aa2c0;
}
.toast-container .toast.toast-brand {
  background-color: var(--toast-brand-bg) !important;
  color: var(--toast-brand-fg, #fff) !important;
  border-color: var(--toast-brand-border, transparent) !important;
}
.toast-container .toast.text-bg-primary,
.toast-container .toast.bg-primary {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary-hover);
}
.toast-container .toast.text-bg-light,
.toast-container .toast.bg-light {
  background-color: #f1f5f9 !important;
  color: var(--text-primary) !important;
  border-color: #cbd5e1;
}

.toast-success {
  border-color: var(--success);
}
.toast-error {
  border-color: var(--danger);
}
.toast-info {
  border-color: var(--info);
}
.toast-warning {
  border-color: var(--warning);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--border-color);
  animation: progress 3s linear;
}

/* ─────────────────────────────────────────
   LOADING / OVERLAY
───────────────────────────────────────── */
.loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: var(--z-overlay);
}

#loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: var(--z-overlay);
  justify-content: center;
  align-items: center;
}

#loading-overlay.show,
#loading-overlay[aria-busy="true"] {
  display: flex !important;
}

.overlay-dark {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: var(--z-dropdown-menu);
}

.spinner {
  border: 8px solid var(--surface-sunken);
  border-top: 8px solid var(--primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ─────────────────────────────────────────
   TOAST / ALERT FIXED POSITION UTILITIES
───────────────────────────────────────── */
.toast-fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: var(--z-toast);
  min-width: 280px;
}

.flash-messages-container {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  z-index: var(--z-toast);
}

/* ─────────────────────────────────────────
   NOTIFICATION DROPDOWN
───────────────────────────────────────── */
#notificationHistoryDropdown {
  max-width: 300px;
  min-width: 260px;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: anywhere;
}

#notificationHistoryDropdown .dropdown-item {
  color: var(--text-primary) !important;
  background: transparent !important;
  font-weight: 400;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  max-width: 285px;
}

#notificationHistoryDropdown .dropdown-item.fw-bold {
  font-weight: 600 !important;
  background: var(--surface-sunken) !important;
}

#notificationHistoryDropdown .dropdown-item:hover {
  background: var(--surface-sunken) !important;
  color: var(--text-primary) !important;
}

#notificationDropdown {
  position: relative;
}

#notificationBadge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 1.2em;
  min-height: 1.2em;
  font-size: 0.85em;
  display: inline-block !important;
  z-index: var(--z-navbar-link);
  background: var(--danger) !important;
  color: #fff !important;
  text-align: center;
  border-radius: 50%;
  padding: 0 5px;
  line-height: 1.2;
  font-weight: bold;
}

/* ─────────────────────────────────────────
   STATE INDICATORS
───────────────────────────────────────── */
.update-pending {
  background-color: rgba(255, 193, 7, 0.2) !important;
  transition: background-color 0.3s ease;
}

.bg-highlight {
  background-color: rgba(40, 167, 69, 0.2) !important;
  transition: background-color 0.3s ease;
}

/* ─────────────────────────────────────────
   CKEDITOR
───────────────────────────────────────── */
.ck-content {
  font-family: var(--font-sans);
  line-height: 1.6;
  word-break: break-word;
}

.ck-toolbar {
  position: sticky !important;
  top: 70px !important;
  z-index: var(--z-sidebar);
  background: var(--surface-color) !important;
}

.editor-container_classic-editor .editor-container__editor {
  min-width: unset;
  max-width: 100%;
  width: 100%;
}

.ck-content h3.category {
  font-family: "Oswald", var(--font-sans);
  font-size: 20px;
  font-weight: bold;
  color: var(--text-secondary);
  letter-spacing: 10px;
  margin: 0;
  padding: 0;
}
.ck-content h2.document-title {
  font-family: "Oswald", var(--font-sans);
  font-size: 50px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  border: 0;
}
.ck-content h3.document-subtitle {
  font-family: "Oswald", var(--font-sans);
  font-size: 20px;
  color: var(--text-secondary);
  margin: 0 0 1em;
  font-weight: bold;
  padding: 0;
}

.ck-content p.info-box {
  --background-size: 30px;
  --background-color: #e91e63;
  padding: 1.2em 2em;
  border: 1px solid var(--background-color);
  background: linear-gradient(
      135deg,
      var(--background-color) 0%,
      var(--background-color) var(--background-size),
      transparent var(--background-size)
    ),
    linear-gradient(
      135deg,
      transparent calc(100% - var(--background-size)),
      var(--background-color) calc(100% - var(--background-size)),
      var(--background-color)
    );
  border-radius: var(--radius);
  margin: 1.5em 2em;
  box-shadow: 5px 5px 0 #ffe6ef;
}

.ck-content blockquote.side-quote {
  font-family: "Oswald", var(--font-sans);
  font-style: normal;
  float: right;
  width: 35%;
  position: relative;
  border: 0;
  overflow: visible;
  z-index: var(--z-base);
  margin-left: 1em;
}

.ck-content blockquote.side-quote::before {
  content: '"';
  position: absolute;
  top: -37px;
  left: -10px;
  display: block;
  font-size: 200px;
  color: #e7e7e7;
  z-index: -1;
  line-height: 1;
}

.ck-content blockquote.side-quote p {
  font-size: 2em;
  line-height: 1;
}

.ck-content blockquote.side-quote p:last-child:not(:first-child) {
  font-size: 1.3em;
  text-align: right;
  color: var(--text-secondary);
}

.ck-content span.marker {
  background: yellow;
}
.ck-content span.spoiler {
  background: #000;
  color: #000;
}
.ck-content span.spoiler:hover {
  background: #000;
  color: #fff;
}

.ck-content pre.fancy-code {
  border: 0;
  margin-left: 2em;
  margin-right: 2em;
  border-radius: var(--radius);
}

.ck-content pre.fancy-code::before {
  content: "";
  display: block;
  height: 13px;
  background: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NCAxMyI+CiAgPGNpcmNsZSBjeD0iNi41IiBjeT0iNi41IiByPSI2LjUiIGZpbGw9IiNGMzZCNUMiLz4KICA8Y2lyY2xlIGN4PSIyNi41IiBjeT0iNi41IiByPSI2LjUiIGZpbGw9IiNGOUJFNEQiLz4KICA8Y2lyY2xlIGN4PSI0Ny41IiBjeT0iNi41IiByPSI2LjUiIGZpbGw9IiM1NkM0NTMiLz4KPC9zdmc+Cg==);
  margin-bottom: 8px;
  background-repeat: no-repeat;
}

.ck-content pre.fancy-code-dark {
  background: #272822;
  color: #fff;
  box-shadow: 5px 5px 0 #0000001f;
}
.ck-content pre.fancy-code-bright {
  background: #dddfe0;
  color: #000;
  box-shadow: 5px 5px 0 #b3b3b3;
}

.editor_container__word-count .ck-word-count {
  color: var(--ck-color-text);
  display: flex;
  height: 20px;
  gap: var(--ck-spacing-small);
  justify-content: flex-end;
  font-size: var(--ck-font-size-base);
  line-height: var(--ck-line-height-base);
  font-family: var(--ck-font-face);
  padding: var(--ck-spacing-small) var(--ck-spacing-standard);
}

.editor-container_include-word-count.editor-container_classic-editor .editor_container__word-count {
  border: 1px solid var(--ck-color-base-border);
  border-radius: var(--ck-border-radius);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: none;
}

.editor-container_include-word-count.editor-container_classic-editor
  .editor-container__editor
  .ck-editor
  .ck-editor__editable {
  border-radius: 0;
}

/* ─────────────────────────────────────────
   SHARED PATTERNS — dashboards, report hubs
───────────────────────────────────────── */
.report-features-box {
  max-width: 750px;
  width: 100%;
  margin-left: 2rem;
  margin-right: 2rem;
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 1.5rem 2rem;
  background: var(--surface-raised);
  color: var(--text-primary);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.report-features-box .list-group-item {
  background: transparent !important;
  color: inherit;
}

.bg-surface-raised {
  background-color: var(--surface-raised) !important;
  color: var(--text-primary);
}

.bg-accent-customerrepo {
  background: var(--accent-customerrepo-gradient) !important;
  color: var(--text-inverse) !important;
}

.btn-accent-customerrepo {
  background: var(--accent-customerrepo-gradient);
  border: none;
  color: var(--text-inverse);
}

.btn-accent-customerrepo:hover,
.btn-accent-customerrepo:focus {
  filter: brightness(1.06);
  color: var(--text-inverse);
}

.btn-block-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    left: -100%;
  }
  #contentColumn.shifted {
    margin-left: 0;
  }
}

@media print {
  body {
    margin: 0 !important;
  }
}
