/* General body and background colors */
html, body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Navbar background and links */
.top-row.navbar {
    background-color: #BF4E30 !important; /* Burgundy navbar */
    box-shadow: none !important; /* Remove any existing shadow from bootstrap */
}

    .top-row.navbar a,
    .top-row.navbar span {
        color: white !important; /* Ensure links are white */
    }

/* Sidebar background */
.sidebar {
    background-color: #333333 !important; /* Charcoal sidebar */
}

/* Main menu card */
.mainmenu-card {
    background-color: #921522 !important; /* Burgundy card background */
    border-radius: 1.5rem !important; /* More rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white !important;
}

/* Card header inside the main menu with a softer shade of Burgundy */
.b-card-header {
    background-color: #bf1b2c !important; /* Softer Burgundy background */
    color: white !important;
    padding: 1rem;
    border-top-left-radius: 1.5rem !important; /* Rounded top left corner */
    border-top-right-radius: 1.5rem !important; /* Rounded top right corner */
}

/* List group items */
.b-list-group-item {
    background-color: transparent !important;
    border: none !important;
    padding: 0.5rem 1rem;
}

.b-list-group-item a {
    color: white !important;
    text-decoration: none;
}

.b-list-group-item a:hover {
    text-decoration: underline;
}

/* Hover effect for links in main menu */
.b-list-group-item a:hover {
    color: #a8e3fa !important; /* Sail on hover */
    text-decoration: underline;
}

/* Navbar and Sidebar links - Burnt Orange on hover */
.nav-link, .sidebar .nav-link {
    color: white !important; /* Ensure links are white */
}

/* Navbar and Sidebar hover effect */
.nav-link:hover, .sidebar .nav-link:hover {
    color: #BF4E30 !important; /* Burnt orange color on hover */
}

/* Fix navbar background and toggle button */
.navbar-toggler {
    background-color: #BF4E30 !important; /* Set burgundy toggle button */
}

    .navbar-toggler:checked {
        background-color: #BF4E30 !important; /* Set checked toggle to burgundy */
    }

/* Override navbar for a more specific style */
.top-row.navbar, .navbar .navbar-brand {
    background-color: #BF4E30 !important; /* Set navbar background to Burgundy */
}

.navbar .nav-link {
    color: white !important; /* Ensure navbar links are white */
}

/* Override sidebar background style with Blazorise dynamic class */
.sidebar, .sidebar[b-lx1amfgkdj] {
    background-color: #333333 !important; /* Charcoal Gray */
    background-image: none !important; /* Remove any gradient background */
}

    /* Specific styles for the sidebar's background when the dynamic class is present */
    .sidebar[b-lx1amfgkdj] {
        background-color: #333333 !important; /* Charcoal Gray */
        background-image: none !important; /* Remove gradient */
    }

    /* Make sure the links inside the sidebar are also white */
    .sidebar a, .sidebar .nav-link {
        color: white !important; /* Ensure sidebar links are white */
    }

/* Ensure the burnt orange color appears when hovered over the links */
.sidebar a:hover, .sidebar .nav-link:hover {
    color: #BF4E30 !important; /* Burnt orange on hover */
}

.home-faint-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.08;
    width: 100%;
    height: auto; /* Keeps aspect ratio */
    max-height: 600px;
    object-fit: cover;
    z-index: 0;
}

/* Expand container width on very large screens */
@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1750px;
    }
}


.mainmenu-container {
    margin-top: 150px !important;
}

.btn-slate {
    background-color: #708090; /* Slate Gray */
    color: white;
    border: none;
}

.btn-slate:hover {
    /*   background-color: #5a6a7a; */
    background-color: #a8e3fa;
}

.link-slate {
    color: #708090;
    text-decoration: none;
}

.link-slate:hover {
    text-decoration: underline;
    /* color: #708090; */
    color: #a8e3fa;
}

.form-floating .form-control.custom-gray {
    background-color: #f2f2f2 !important; /* Light gray */
    border: 1px solid #ccc !important;
    color: #333 !important;
}

.form-floating .form-control.custom-gray:focus {
    background-color: #f2f2f2 !important; /* Stay gray on focus */
    box-shadow: none !important;
    border-color: #999 !important;
}

.chkb-form-check-input {
    position: relative;
    width: 1.2em;
    height: 1.2em;
    appearance: none;
    border: 2px solid #ccc;
    border-radius: 0.25em;
    outline: none;
    cursor: pointer;
}

    .chkb-form-check-input:checked {
        background-color: #708090;
        border-color: #708090;
    }

    .chkb-form-check-input::after {
        content: '';
        position: absolute;
        top: 0.1em;
        left: 0.35em;
        width: 0.3em;
        height: 0.6em;
        border: solid white;
        border-width: 0 0.2em 0.2em 0;
        transform: rotate(45deg);
        opacity: 0;
    }

    .chkb-form-check-input:checked::after {
        opacity: 1;
    }


    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown-item:focus,
    .dropdown-menu .dropdown-item.active {
        background-color: #708090 !important;
        color: #fff !important;
    }


.fixed-page {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Fill the entire viewport */
    padding: 10px;
}

.scroll-container {
    flex: 1; /* Take up all available space */
    overflow-y: auto; /* Only the list scrolls */
    border: 1px solid #ccc;
    background-color: white;
}

.form-section {
    padding: 10px;
    background-color: #f9f9f9;
    border-top: 2px solid #ddd;
}

.grid-box {
    border: 1px solid #000;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: .5rem;
}

.toolbar {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
}

.w-auto {
    width: auto;
}

/* NEW: Pale yellow dropdowns */
.highlight-dropdown {
    background-color: #fffacd; /* pale yellow */
}
 
/* Blazorise DataGrid header text color */
.b-datagrid thead th,
.b-datagrid .table thead th {
    color: #bf1b2c !important;
}


.pb-30 { padding-bottom: 30px !important; }

/* prevents height jump for small lists */
.grid-box {
    min-height: 240px;
}



/*@keyframes flash-red {
    0%, 100% {
        color: red;
    }

    50% {
        color: gray;
    }
}

.bell-icon.flash-red {
    animation: flash-red 1s infinite;
}

.bell-icon {
    color: White;
    padding: 20px;
}*/

    /* Color when there's an action */
    /*.bell-icon.active {
        padding: 20px;
        color: red !important;*/ /* Red when signaling action */
    /*}*/


 