    :root {
      --primary: #264b5d;
      --primary-fg: #f7f7f7;
  
      --body-fg: #eeeeee;
      --body-bg: #121212;
      --body-quiet-color: #e0e0e0;
      --body-loud-color: #ffffff;
  
      --breadcrumbs-link-fg: #e0e0e0;
      --breadcrumbs-bg: var(--primary);
  
      --link-fg: #81d4fa;
      --link-hover-color: #4ac1f7;
      --link-selected-fg: #6f94c6;
  
      --hairline-color: #272727;
      --border-color: #353535;
  
      --error-fg: #e35f5f;
      --message-success-bg: #006b1b;
      --message-warning-bg: #583305;
      --message-error-bg: #570808;
  
      --darkened-bg: #212121;
      --selected-bg: #1b1b1b;
      --selected-row: #00363a;
  
      --close-button-bg: #333333;
      --close-button-hover-bg: #666666;
      
      /* Bootstrap Alert Variables for Dark Mode */
      --bs-alert-bg: #4a5568;
      --bs-alert-border-color: #3b82f6;
      
      /* Alert Info Specific Dark Mode */
      --bs-alert-info-bg: #1e3a8a;
      --bs-alert-info-border-color: #3b82f6;
      --bs-alert-info-color: #dbeafe;
      
      /* Tertiary Background for Dark Mode */
      --bs-tertiary-bg: #4a5568;
      
      /* POS System Dark Mode Variables */
      --pos-card-bg: #2d3748;
      --pos-card-border: #4a5568;
      --pos-card-hover-bg: #374151;
      --pos-card-selected-bg: #1e40af;
      --pos-text-primary: #f7fafc;
      --pos-text-secondary: #e2e8f0;
      --pos-text-muted: #a0aec0;
      --pos-icon-bg: #4a5568;
      --pos-icon-selected-bg: rgba(255, 255, 255, 0.2);
      --pos-badge-bg: #059669;
      --pos-badge-selected-bg: rgba(255, 255, 255, 0.25);
      --pos-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
      --pos-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    }
    
    /* Alert Info Dark Mode Override */
    .alert-info {
      background-color: var(--bs-alert-info-bg) !important;
      border-color: var(--bs-alert-info-border-color) !important;
      color: var(--bs-alert-info-color) !important;
    }
    
    .alert-info .alert-heading {
      color: #f1f5f9 !important;
    }
  


html {
    --primary: #264b5d;
    --primary-fg: #f7f7f7;

    --body-fg: #eeeeee;
    --body-bg: #121212;
    --body-quiet-color: #e0e0e0;
    --body-loud-color: #ffffff;

    --breadcrumbs-link-fg: #e0e0e0;
    --breadcrumbs-bg: var(--primary);

    --link-fg: #81d4fa;
    --link-hover-color: #4ac1f7;
    --link-selected-fg: #6f94c6;

    --hairline-color: #272727;
    --border-color: #353535;

    --error-fg: #e35f5f;
    --message-success-bg: #006b1b;
    --message-warning-bg: #583305;
    --message-error-bg: #570808;

    --darkened-bg: #212121;
    --selected-bg: #1b1b1b;
    --selected-row: #00363a;

    --close-button-bg: #333333;
    --close-button-hover-bg: #666666;
    
    /* Bootstrap Alert Variables for Dark Mode */
    --bs-alert-bg: #4a5568;
    --bs-alert-border-color: #3b82f6;
    
    /* Alert Info Specific Dark Mode */
    --bs-alert-info-bg: #1e3a8a;
    --bs-alert-info-border-color: #3b82f6;
    --bs-alert-info-color: #dbeafe;
    
      /* Tertiary Background for Dark Mode */
      --bs-tertiary-bg: #4a5568;
      
      /* POS System Dark Mode Variables */
      --pos-card-bg: #2d3748;
      --pos-card-border: #4a5568;
      --pos-card-hover-bg: #374151;
      --pos-card-selected-bg: #1e40af;
      --pos-text-primary: #f7fafc;
      --pos-text-secondary: #e2e8f0;
      --pos-text-muted: #a0aec0;
      --pos-icon-bg: #4a5568;
      --pos-icon-selected-bg: rgba(255, 255, 255, 0.2);
      --pos-badge-bg: #059669;
      --pos-badge-selected-bg: rgba(255, 255, 255, 0.25);
      --pos-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
      --pos-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    }
    
    /* Alert Info Dark Mode Override */
    .alert-info {
      background-color: var(--bs-alert-info-bg) !important;
      border-color: var(--bs-alert-info-border-color) !important;
      color: var(--bs-alert-info-color) !important;
    }
    
    .alert-info .alert-heading {
      color: #f1f5f9 !important;
    }

/* THEME SWITCH */
.theme-toggle {
    cursor: pointer;
    border: none;
    padding: 0;
    background: transparent;
    vertical-align: middle;
    margin-inline-start: 5px;
    margin-top: -1px;
}

.theme-toggle svg {
    vertical-align: middle;
    height: 1rem;
    width: 1rem;
    display: none;
}

/*
Fully hide screen reader text so we only show the one matching the current
theme.
*/
.theme-toggle .visually-hidden {
    display: none;
}

html[data-theme="auto"] .theme-toggle .theme-label-when-auto {
    display: block;
}

html[data-theme="dark"] .theme-toggle .theme-label-when-dark {
    display: block;
}

html[data-theme="light"] .theme-toggle .theme-label-when-light {
    display: block;
}

/* ICONS */
.theme-toggle svg.theme-icon-when-auto,
.theme-toggle svg.theme-icon-when-dark,
.theme-toggle svg.theme-icon-when-light {
    fill: var(--header-link-color);
    color: var(--header-bg);
}

html[data-theme="auto"] .theme-toggle svg.theme-icon-when-auto {
    display: block;
}

html[data-theme="dark"] .theme-toggle svg.theme-icon-when-dark {
    display: block;
}

html[data-theme="light"] .theme-toggle svg.theme-icon-when-light {
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    color: var(--body-fg);
    background-color: var(--body-bg);
}
