/*
 * Script:      stylesheet.css
 * Modified:    04-14-2025
 * Frontend:    HTML5 & CSS3
 * Backend:     PHP 8.3
 * Database:    MariaDB 11.2
 * Author:      Autorisk Solutions, LLC
 * Copyright:   Autorisk Solutions, LLC
 * Email:       webmaster@autoriskdata.com
 * URL:         https://www.autoriskdata.com
 */

/*
 * This script contains all the custom CSS styles for the application.
 */

/* Page Highlight (Text Selection) */
::selection {
    color: #ffffff;
    background-color: red;
}

/* Bootstrap Theme Colors (Light & Dark Mode) */
:root {
    --bs-secondary: #6c757d; /* Default secondary color for light mode */
}

[data-bs-theme="dark"] {
    --bs-secondary: #adb5bd; /* Updated secondary color for dark mode */
}

/* Container Overrides */
.container {
    max-width: 100% !important; /* Override Bootstrap's container width */
}

/* Bootstrap Icons Styling */
.bi {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.125em;
    fill: currentColor; /* Inherits text color */
}

/* Buttons (Dark Mode Support) */
.btn-secondary {
    background-color: var(--bs-secondary) !important; /* Use dynamic secondary color */
    border-color: var(--bs-secondary) !important;
}

/* Dropdown List Item States */
.dropdown-item:focus,
.dropdown-item:focus-visible,
.dropdown-item.active,
.dropdown-item:active {
    background-color: #6c757d !important; /* Highlight selected/focused items */
    color: white !important;
}