/* Load Fonts (Google Fonts Example) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

#dark-bg {
    background-color: rgb(0, 0, 0, 0.03);
}

/* Root Variables */
.my-app-container {
    --def-font: "Inter";
    --heading-font: "Inter";
    --navbar-font: "Inter";
}

.my-app-container .d-flex {
    display: flex;
    flex-direction: row;
    /* Default to row layout */
    justify-content: space-between;
    /* Space between elements */
}

.my-app-container .d-flex .flex-column .align-items-center {
    width: 50%;
}

/* Media query for screens less than 600px */
@media (max-width: 600px) {
    .my-app-container .custom-product-gri .custom-product {
        margin: 0 20px;
    }

    .my-app-container .enum-dropdown-menu {
        top: 20vh !important;
    }

    .my-app-container .container {
        width: 20% !important;
    }

    .my-app-container .search-container {
        width: 90vw !important;
        padding-top: 2vh;
    }

    .my-app-container .sub-features {
        width: 90vw !important;
        justify-content: flex-start;
    }

    .my-app-container .search-input {
        width: 80vw !important;
        /* Make search input full width */
        margin-right: 10px;
        /* Add space between input and button */
    }

    .my-app-container .view-toggle {
        width: 90vw !important;
        /* Push the grid/list icons to the right */
    }

    .my-app-container .burger-menu {
        margin-right: 10px;
        /* Add space between burger menu and icons */
    }

    .my-app-container .accordion-body {
        font-size: 1em !important;
        padding-left: 6vw !important;
    }

    .my-app-container .custom-card .form-group.row {
        width: 70vw !important;
        display: flex;
        flex-direction: row;
        align-items: center;
        /* Center items vertically */
        justify-content: flex-start;
        /* Align items to the start */
    }

    .my-app-container .custom-card .col-sm-1 {
        flex: 0 0 auto;
        /* Prevent the close button from growing */
        margin-right: 0;
        /* Small margin to the right */
        width: 5vw;
    }

    .my-app-container .custom-card .col-sm-10 {
        flex: 1;
        /* Allow the dropdown to take the remaining space */
        margin: 0;
        /* Remove margin */
    }

    .my-app-container .custom-card .close {
        font-size: 0.8rem;
        /* Adjust size */
        padding: 0;
        /* Remove padding */
        margin: 0;
        /* Remove margin */
    }

    .my-app-container .custom-card .close span {
        font-size: 1.2rem;
        /* Adjust icon size */
        margin: 0;
        /* Remove margin */
    }

    .my-app-container .custom-card .form-check-label .fas {
        font-size: 1rem !important;
        /* Adjust icon size */
        margin: 0;
        /* Remove margin */
    }

    .my-app-container .custom-card .col-sm-11 {
        flex: 1;
        /* Allow the input and toggle button to take the remaining space */
        display: flex;
        /* Use flexbox for the input and toggle button */
        align-items: center;
        /* Center items vertically */
    }

    .my-app-container .custom-card .synonym-group-input {
        flex: 1;
        /* Allow the input to take the remaining space */
        margin-right: 5px;
        /* Small margin to the right of the input */
    }

    .my-app-container .custom-card .btn {
        margin-left: 5px;
        /* Small margin to the left of the toggle button */
    }

    .my-app-container .facet-panel,
    .my-app-container .facet-panel .panel-container {
        max-width: 80vw !important;
        flex-basis: 80vw !important;
    }

    .my-app-container .dropdownMenu {
        width: auto !important;
    }

    .my-app-container .alphabet-navigation {
        /* width: 50vw !important; */
        overflow-x: auto;
    }

    .my-app-container .filter-icon {
        max-width: 3vh !important;
        max-height: 3vh !important;
    }

    .my-app-container .btn-outline-primary.custom-outline {
        width: 20vw !important;
    }

    .my-app-container .btn-outline-primary.custom-outline-reverse {
        width: 60vw !important;
    }

    .my-app-container #heading {
        padding-left: 2vw;
        padding-right: 2vw;
        padding-bottom: 0vh;
    }

    .my-app-container .app-heading {
        font-size: 5vh !important;
        align-content: center;
    }

    .my-app-container #facet {
        width: 100vw;
        min-width: 100vw;
        flex-basis: 100vw;
        overflow-y: auto;
    }

    .my-app-container .panel-container {
        width: 100vw;
        min-width: 100vw;
        flex-basis: 100vw;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .my-app-container .price-input-container {
        width: auto !important;
    }
}

/* Reset defaults */
.my-app-container html,
.my-app-container body,
.my-app-container div,
.my-app-container span,
.my-app-container applet,
.my-app-container object,
.my-app-container iframe,
.my-app-container h1,
.my-app-container h2,
.my-app-container h3,
.my-app-container h4,
.my-app-container h5,
.my-app-container h6,
.my-app-container p,
.my-app-container blockquote,
.my-app-container pre,
.my-app-container a,
.my-app-container abbr,
.my-app-container acronym,
.my-app-container address,
.my-app-container big,
.my-app-container cite,
.my-app-container code,
.my-app-container del,
.my-app-container dfn,
.my-app-container em,
.my-app-container img,
.my-app-container ins,
.my-app-container kbd,
.my-app-container q,
.my-app-container s,
.my-app-container samp,
.my-app-container small,
.my-app-container strike,
.my-app-container strong,
.my-app-container sub,
.my-app-container sup,
.my-app-container tt,
.my-app-container var,
.my-app-container b,
.my-app-container u,
.my-app-container i,
.my-app-container center,
.my-app-container dl,
.my-app-container dt,
.my-app-container dd,
.my-app-container ol,
.my-app-container ul,
.my-app-container li,
.my-app-container fieldset,
.my-app-container form,
.my-app-container label,
.my-app-container legend,
.my-app-container table,
.my-app-container caption,
.my-app-container tbody,
.my-app-container tfoot,
.my-app-container thead,
.my-app-container tr,
.my-app-container th,
.my-app-container td,
.my-app-container article,
.my-app-container aside,
.my-app-container canvas,
.my-app-container details,
.my-app-container embed,
.my-app-container figure,
.my-app-container figcaption,
.my-app-container footer,
.my-app-container header,
.my-app-container hgroup,
.my-app-container menu,
.my-app-container nav,
.my-app-container output,
.my-app-container ruby,
.my-app-container section,
.my-app-container summary,
.my-app-container time,
.my-app-container mark,
.my-app-container audio,
.my-app-container video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
.my-app-container article,
.my-app-container aside,
.my-app-container details,
.my-app-container figcaption,
.my-app-container figure,
.my-app-container footer,
.my-app-container header,
.my-app-container hgroup,
.my-app-container menu,
.my-app-container nav,
.my-app-container section {
    display: block;
}

.my-app-container body {
    line-height: 1;
}

.my-app-container ol,
.my-app-container ul {
    list-style: none;
}

.my-app-container blockquote,
.my-app-container q {
    quotes: none;
}

.my-app-container blockquote:before,
.my-app-container blockquote:after,
.my-app-container q:before,
.my-app-container q:after {
    content: '';
    content: none;
}

.my-app-container table {
    border-collapse: collapse;
    border-spacing: 0;
}

.my-app-container * {
    -webkit-tap-highlight-color: transparent;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

.my-app-container a,
.my-app-container img {
    border: 0px;
    outline: none;
    text-decoration: none !important;
    color: inherit;
    padding: 0px;
    margin: 0px;
    z-index: 1 !important;
    position: relative;
}

.my-app-container body {
    font-family: var(--def-font);
    margin: 0;
    padding: 0;
    line-height: 1;
    background-color: rgb(255, 255, 255) !important;
    color: #333;
}

.my-app-container h1,
.my-app-container h2,
.my-app-container h3,
.my-app-container h4,
.my-app-container h5,
.my-app-container h6 {
    margin-right: auto;
    font-family: var(--heading-font);
    font-weight: 400;
}

.my-app-container nav,
.my-app-container .side-menu,
.my-app-container .burger-menu {
    font-family: var(--navbar-font);
}

/* Specific Components */
.my-app-container .search-input,
.my-app-container .search-button {
    font-family: var(--def-font);
}

.my-app-container .custom-product,
.my-app-container .custom-product h3,
.my-app-container .custom-product p,
.my-app-container .custom-product-price,
.my-app-container .custom-product-footer {
    font-family: var(--def-font);
}

.my-app-container .pagination,
.my-app-container .btn-sub,
.my-app-container .button-container {
    font-family: var(--navbar-font);
}

/* Ensure buttons are clickable */
.my-app-container button,
.my-app-container input,
.my-app-container a,
.my-app-container i {
    pointer-events: auto;
    z-index: 100;
    /* Ensure buttons are above other content */
}

/* Fix side menu and overlay z-index issue */
.my-app-container .side-menu {
    pointer-events: none;
    /* Disable interactions when not visible */
}

/* Ensure hover effects aren't causing flickering */
.my-app-container .search-button:hover,
.my-app-container .custom-product:hover {
    transition: all 0.3s ease-out;
    /* Make transitions smoother */
}

/* Ensure side menu and overlays don't block clickable elements */
.my-app-container .side-menu a,
.my-app-container .overlay {
    pointer-events: none;
    /* Prevent accidental clicks when hidden */
}

/* Remove pointer flicker when hovering over links */
.my-app-container .custom-product h3 a:hover {
    transition: color 0.2s ease-in-out;
    /* Smoother transition for hover effect */
    pointer-events: auto;
}

.my-app-container .search-box {
    display: flex;
    align-items: center;
    max-width: 66vw;
    background-color: var(--box-background-color, #ffffff);
    /* Default: white */
    border-radius: var(--box-border-radius, 4px);
    /* Default: 4px */
    padding: 10px;
    margin: 10px auto;
    font-family: var(--def-font);
    /* Add some space between search and products */
}

.my-app-container .sub-features {
    width: 100% !important;
    justify-content: flex-start;
}

/* Search Input Styling */
.my-app-container .search-input {
    flex: 1;
    height: 50px;
    /* Set height for the input */
    width: 50%;
    /* Set width for the input */
    padding: var(--input-padding, 10px);
    /* Default: 10px */
    border: 1px solid var(--input-border-color, #ccc);
    /* Default: #ccc */
    border-radius: var(--input-border-radius, 4px);
    /* Default: 4px */
    color: var(--input-text-color, #000000);
    /* Default: black */
    background-color: var(--input-background-color, #ffffff);
    /* Default: white */
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: var(--def-font);
    z-index: 1;
    /* Smooth transition for border color */
}

.my-app-container .search-input:focus {
    outline: none;
    border-color: var(--button-color, rgb(0, 0, 150));
    font-family: var(--def-font);
    /* Focus border color */
}

/* Search Button Styling */
.my-app-container .search-button {
    border: none;
    color: white;
    padding: var(--button-padding, 10px 15px 10px 15px);
    /* Default: 10px 15px */
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: var(--button-color, rgb(0, 0, 128, 0.05));
    /* Default: blue */
    border-radius: var(--button-border-radius, 4px);
    /* Default: 4px */
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s;
    font-family: var(--def-font);
    height: 50px;
    width: 50px;
    margin: 0px;
}

.my-app-container .search-button:hover {
    opacity: 0.9;
    background-color: var(--button-hover-color, rgb(0, 0, 128, 0.15));
    /* Darker blue for hover */
    transform: scale(1.05);
    /* Slightly larger on hover */
}

/* Grid Layout for Products */
.my-app-container .custom-product-gri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--card-grid-width, 250px), 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    margin-top: 20px;
    background-color: transparent;
}

/* Hover effects for product */
.my-app-container .custom-product:hover {
    transform: scale(1.02);
    /* Slight zoom effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Stronger shadow on hover */
}

/* Image Styling */
.my-app-container .custom-product-image-top img {
    width: 100% !important;
    /* Set image width to be 100% of the container */
    max-height: 55vh !important;
    /* Maintain the aspect ratio */
    border-radius: 8px;
    object-fit: fill;
    transition: transform 0.3s ease;
    margin-bottom: 1vw;
    transform: scale(1.3);
}

/* Product Title Link Styling */
.my-app-container .custom-product h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    font-family: var(--heading-font);
}

.my-app-container .custom-product h3 a:hover {
    color: var(--button-color, #000000);
    /* Change color to blue on hover */
}

/* Product Description Styling */
.my-app-container .custom-product-gri .custom-product p {
    font-size: 14px;
    color: var(--product-description-color, #666);
    /* Lighter color for descriptions */
    margin-bottom: 10px;
}

.my-app-container .custom-product-gri .custom-product-details {
    margin-top: 7vh;
}

/* Product Price Styling */
.my-app-container .custom-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--product-price-color, #000000);
    /* Blue for price */
}

/* Product Footer Styling */
.my-app-container .custom-product-footer .btn:hover {
    background-color: var(--button-hover-color, #0056b3);
    /* Darker blue for button hover */
}

.my-app-container .custom-product-footer .btn:focus {
    outline: none;
}

/* Product Item Styling */
.my-app-container .custom-product {
    padding: 20px;
    border: 1px solid var(--product-border-color, rgb(245, 245, 245));
    /* Default: #ddd */
    border-radius: var(--product-border-radius, 8px) !important;
    /* Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--product-card-color, white);
    /* White background */
    /* Light shadow for depth */
    overflow: hidden;
    font-family: var(--def-font);
    /* Prevent image overflow */
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Grid View: Image goes on top, details below */
.my-app-container .custom-product-gri .custom-product {
    flex-direction: column;
    background-color: var(--product-card-color, white);
    /* Image on top, text below in grid view */
    border: 1px solid var(--product-border-color, rgb(245, 245, 245));
    /* Default: #ddd */
    border-radius: var(--product-border-radius, 8px) !important;
    /* Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Adjust Product Title, Description, and Footer */
.my-app-container .custom-product h3 {
    margin: 15px 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--product-title-color, #000000);
    line-height: 1.4;
    font-family: var(--heading-font);
}

/* For the product card */
.my-app-container .custom-product-list .custom-product {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 66vw;
    padding: 10px;
    border: 1px solid var(--product-border-color, rgb(245, 245, 245));
    border-radius: var(--product-border-radius, 8px) !important;
    background-color: var(--product-card-color, white);
    margin: 10px auto;
    box-shadow: 0;
}

.my-app-container .custom-product-image-left {
    transform: scale(1.1);
    margin-right: 2vw;
    max-width: 20vw;
}

.my-app-container .custom-product-image-left img {
    display: block;
    /* Ensure the image behaves like a block element */
    width: 100%;
    /* Ensure it fills the container */
    height: 100%;
}

/* Add alt text as a fallback if image is missing */
.my-app-container .custom-product-list .custom-product-image-left::before {
    content: attr(alt);
    font-size: 14px;
    color: #666;
    display: block;
    width: 100%;
    height: 100%;
    text-overflow: ellipsis;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Ensure that the details are stacked vertically */
.my-app-container .custom-product-list .custom-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 40vw;
    z-index: 10;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Ensure that the details are stacked vertically */
.my-app-container .custom-product-list .custom-product-details a {
    position: relative;
    /* Ensure the link stays above other elements */
    z-index: 100;
    /* Make sure it's clickable by bringing it on top */
    display: block;
}

.my-app-container .custom-product-details p,
.my-app-container .custom-product-details div {
    overflow: hidden;
    /* Prevent overflow for p and div elements */
    text-overflow: ellipsis;
    /* Show ellipses for overflowing text */
    white-space: nowrap;
    /* Keeps the text on one line */
    width: 100%;
    /* Ensure elements take up full width */
    display: block;
    /* Ensures the element is block level */
}

/* Title styling */
.my-app-container .custom-product-list .custom-product h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--product-title-color, #000000);
    margin: 0 0 5px;
    line-height: 1.4;
    text-overflow: ellipsis;
    font-family: var(--heading-font);
}

/* Description styling */
.my-app-container .custom-product-list .custom-product p {
    font-size: 14px;
    color: var(--product-description-color, #666);
    margin: 5px 0;
    text-overflow: ellipsis;
}

/* Product Price Styling */
.my-app-container .custom-product-list .custom-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--product-price-color, #000000);
}

/* Footer Styling for Product */
.my-app-container .custom-product-list .custom-product-footer {
    font-size: 14px;
    color: var(--product-footer-color, #888);
}

.my-app-container #search-results {
    padding-bottom: 2vh;
    flex-grow: 1;
    width: 100%;
    /* width: 100vw; */
    /* Make the search results take the remaining space */
    /* Adjust the bottom padding to the height of your pagination */
}

.my-app-container #facet-results-container {
    width: 99vw;
    /* width: 100vw; */
    /* Make the search results take the remaining space */
    /* Adjust the bottom padding to the height of your pagination */
}

/* General pagination container - fixed at the bottom of the page */
.my-app-container .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    /* Fix pagination at the bottom of the page */
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10vh;
    /* Ensure it spans across the full width of the page */
    background-color: var(--product-card-color, white);
    /* Ensure a background color so the buttons are legible */
    z-index: 4000;
    /* Ensure the pagination is above other content */
    padding: 10px 0;
    font-family: var(--def-font);
    /* Add padding for spacing around the buttons */
}

/* Pagination buttons and current page style */
.my-app-container .pagination button,
.my-app-container .pagination .current-page {
    background-color: #f4f4f4;
    border: 1px solid var(--product-title-color,#ddd);
    padding: 8px 12px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: var(--product-title-color, black);
}

/* Style for the current page number */
.my-app-container .pagination .current-page {
    background-color: rgb(0, 0, 150);
    color: #fff;
    border-color: rgb(0, 0, 150);
    font-weight: bold;
    pointer-events: none;
}

/* Pagination button hover effect */
.my-app-container .pagination button:hover {
    background-color: var(--product-description-color, rgb(0, 0, 150));
    color: var(--product-card-color, white);
    border-color: rgb(0, 0, 150);
}

/* Disabled button style */
.my-app-container .pagination button:disabled {
    background-color: #ddd;
    color: #aaa;
    cursor: not-allowed;
    border-color: #ddd;
}

/* Previous and Next buttons */
.my-app-container .pagination button {
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

/* Adjust form fields for responsiveness */
.my-app-container .form-group {
    margin-bottom: 15px;
}

.my-app-container .col-sm-4 {
    text-align: right;
}

.my-app-container .form-control {
    width: 100%;
    /* Ensure inputs take full width */
}

.my-app-container .form-control.feature-name-dropdown {
    width: 18vw;
}

/* Responsive styles */
@media (max-width: 768px) {
    .my-app-container .side-menu {
        width: 100%;
        /* Full width on smaller screens */
    }

    .my-app-container .col-sm-4 {
        text-align: left;
        /* Adjust label alignment on smaller screens */
    }

    .my-app-container .col-sm-8 {
        padding-left: 5px;
    }

    .my-app-container .form-control {
        font-size: 14px;
        /* Adjust font size */
    }
}

.my-app-container .btn-sub {
    background-color: rgb(0, 0, 128);
    color: white;
    border: none;
    border-radius: .25rem;
    /* Slightly smaller border radius */
    padding: .1rem .2rem;
    /* Reduced padding for smaller size */
    font-size: 0.8rem !important;
    /* Significantly smaller font size */
    line-height: 1;
    /* Prevents extra height from line spacing */
    width: auto;
    /* Ensure the width adjusts to content */
    height: auto;
    /* Ensure height is minimal */
}

.my-app-container .btn-sub:hover {
    background-color: rgb(0, 0, 190);
    /* Keep the same background color */
    color: #fff;
    /* Keep the same background color */
    border-color: rgb(0, 0, 128);
    /* Darker border on hover */
}

/* Centering the button container */
.my-app-container .button-container {
    display: flex;
    align-items: center;
    /* Centers vertically */
    height: 100%;
    /* Adjust height as needed */
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Side Menu Styles */
.my-app-container .side-menu {
    z-index: 1000;
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgb(0, 0, 128);
    overflow-x: hidden;
    transition: 0.5s;
    color: black;
}

.my-app-container .side-menu a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.my-app-container .side-menu a:hover {
    background-color: rgb(0, 0, 100);
}

.my-app-container .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Blur effect */
    z-index: 999;
    /* Below the side menu but above everything else */
    display: block;
    /* Initially hidden */
    transition: opacity 0.5s ease;
}

.my-app-container .home-icon-link {
    margin-left: 10px;
    margin-right: 10px;
    /* Space between the icon and the input */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.my-app-container #displayConfigurationsSection {
    width: 100%;
    transition: opacity 0.3s ease;
    font-family: var(--def-font);
    overflow-y: auto;
}

.my-app-container .tooltip {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 100;
    /* Ensure it appears above other elements */
    transition: opacity 0.2s;
}

.my-app-container .question-mark-tooltip {
    display: none;
    /* Hidden by default */
    position: absolute;
    /* Position relative to the parent */
    background-color: #f9f9f9;
    /* Background color */
    border: 1px solid #ccc;
    /* Border */
    padding: 10px;
    /* Padding */
    z-index: 1;
    /* Ensure it appears above other elements */
    width: 300px;
    /* Width of the tooltip */
    border-radius: 4px;
    /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Shadow for better visibility */
}

.my-app-container .question-mark {
    cursor: pointer;
    margin-left: 5px;
    color: white;
    font-weight: bold;
}

.my-app-container .justify-content-center {
    justify-content: center;
    /* Center horizontally */
}

.my-app-container .align-items-center {
    align-items: center;
    width: 100%;
    /* Center vertically */
}

.my-app-container .mt-2 {
    margin-top: 0.5rem;
    /* Adjust as needed */
}

.my-app-container .search-container {
    display: flex;
    justify-content: center;
    /* Center the search input and button */
    align-items: center;
    /* Align items vertically */
    width: 100%;
    /* Ensure it takes full width */
}

.my-app-container .view-toggle {
    display: flex;
    align-items: center;
    /* Center icons vertically */
    justify-content: flex-start;
    /* Align icons to the left */
    width: 100%;
    /* Ensure it takes full width */
}

.my-app-container .view-toggle i {
    cursor: pointer;
    margin-right: 10px;
    /* Space between icons */
    font-size: 40px;
    /* Adjust size as needed */
}

.my-app-container .btn {
    height: 50px;
    /* Set height for the button */
    width: 50px;
    /* Set width for the button */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
}

/*---------------------------------------------------------*/
.my-app-container .text-overflow-container {
    width: 750px;
    /* Restrict width */
    white-space: nowrap;
    /* Prevent text from wrapping */
    overflow: hidden;
    /* Hide text overflow */
    text-overflow: ellipsis;
    /* Show ellipsis (...) */
    /*border: 1px solid #ccc; /* Optional border for visibility */
    /* padding: 10px; */
    /* font-size: 16px; */
    position: relative;
}

/* .tooltip {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background: red;
        color: green;
        padding: 5px;
        border-radius: 5px;
        white-space: normal;
        z-index: 10;
        max-width: 300px;
} */

/* Show tooltip on hover */
/* .text-overflow-container:hover .tooltip {
    display: block;
} */

/* Highlight specific words */
.highlight {
    /* background-color: yellow; */
    color: black !important;
    /* font-weight: 400; */
}

.my-app-container .result_divider {
    border: none;
    height: 2px;
    background-color: gray;
    margin: 20px 0;
}

/*.text-overflow-container:hover {*/
/*overflow: visible; /* Make text visible on hover */
/*white-space: normal; /* Allow text to wrap */
/*background-color: #f0f0f0; /* Optional background change on hover */
/* height:auto; */
/*}

/* Optional: Show full text on hover using title attribute */
/* content: attr[title] Show the full text */
/* .text-overflow-container[title]:hover::after {
            content: attr(title);
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            padding: 5px;
            border: 1px solid #ccc;
            white-space: normal;
            width: 100%;
            box-sizing: border-box;
        }  */
/* Highlight specific word */
/* .text-overflow-container:hover::after em {
            background-color: yellow;
            color: black;
            font-weight: 400;
        } */

.my-app-container .custom-card {
    border: none;
    border-radius: 8px;
    width: 100%;
    height: auto;
    margin: 0;
    margin-left: -3vw;
    padding: 0;
    text-align: left;
}

/* Style for the form group row */
.my-app-container .custom-card .form-group.row {
    margin-left: 2vw;
    margin-bottom: 1vh;
    align-items: center;
    /* Ensure all items are vertically aligned properly */
    text-align: left;
    width: 24vw;
}

/* Style for the close button container */
.my-app-container .custom-card .form-group .col-sm-1 {
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* Restrict max width to ensure close button stays in frame */
}

/* Style for the close button */
.my-app-container .custom-card .form-group .close {
    padding: 0;
    font-size: 3vh;
    /* Adjust font size to avoid overflow */
    line-height: 1;
    /* Adjust line height to make sure the icon fits properly */
}

/* Style for the input field and toggle button container */
.my-app-container .custom-card .form-group .col-sm-11 {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 2px;
}

/* ```css
/* Style for the input field and toggle button container */
.my-app-container .custom-card .form-group .col-sm-10 {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 0;
    width: auto;
}

/* Style for the input field */
.my-app-container .custom-card .form-control.synonym-group-input {
    width: 100%;
    margin: 0;
    height: 5vh;
    flex-grow: 1;
}

/* Style for the toggle button */
.my-app-container .custom-card .form-group .btn {
    padding: 0 10px;
    font-size: 16px;
    background-color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5vh;
}

/* Style for the toggle button icon */
.my-app-container .custom-card .form-group i.fas {
    color: rgb(0, 0, 128);
}

.my-app-container .custom-card .form-group .col-sm-1.sort-buttons {
    padding: 0;
    align-items: center;
    gap: 0;
    margin-top: 0.5vh;
}

.my-app-container .custom-card .form-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 0.7vw;
    margin-left: 1vw;
}

.my-app-container .custom-card .form-check-input {
    display: none;
}

.my-app-container .form-check-input:checked {
    background-color: rgb(42, 42, 150);
    border-color: rgb(255, 255, 255, 0.5);
}

.my-app-container #productsFilter:checked {
    background-color: rgb(42, 42, 149);
    border-color: rgb(255, 255, 255, 0.5);
}

.my-app-container .custom-card .form-check-label {
    cursor: pointer;
}

.my-app-container .custom-card .form-check-label span {
    font-size: 4vh;
}

.my-app-container .custom-card .form-check-label .fas {
    font-size: 4vh;
    color: rgb(0, 0, 128);
}

.my-app-container .custom-card .form-check-label .fas.gray {
    color: gray;
}

/* Style for the input field */
.my-app-container .custom-card .feature-name-dropdown {
    width: 13vw;
    margin: 0;
    height: 5vh;
}

/* State when a feature is selected */
.my-app-container .custom-card .feature-name-dropdown .dropdown-select-feature {
    color: gray;
    /* Lighter color */
    font-style: italic;
    /* Italic text */
}

/* Style for the sort radio buttons container */
.my-app-container .custom-sort-radio-container {
    align-items: center;
    gap: 0;
}

/* Style for individual radio buttons */
.my-app-container .custom-sort-radio-container input {
    margin: 0;
}

/* Style for the toggle button icons */
.my-app-container .custom-card .form-group i.fas {
    color: rgb(0, 0, 128);
}

/* Style for the radio button icons */
.my-app-container .custom-sort-radio-container i.fas {
    font-size: 4vh;
    color: gray;
    /* Default color for unselected icon */
    transition: color 0.3s ease-in-out;
}

/* When a radio button is selected, color changes */
.my-app-container .custom-sort-radio-container input[type="radio"]:checked+label span.fas {
    color: rgb(0, 0, 128);
    /* Blue when selected */
}

.my-app-container .custom-sort-radio-container label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Display results */
.my-app-container .attribute-container {
    /* border: 1px solid #ccc; */
    /* padding: 10px; */
    display: inline-block;
    margin: 0;
    padding: 0;
    color: var(--product-description-color, #444444);
}

.my-app-container .attribute-text {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0;
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 5%);
}

.my-app-container #query-display {
    color: var(--product-description-color, rgba(0, 0, 0, 0.7)) !important;
}

.my-app-container .attribte-title {
    white-space: nowrap;
    /* Prevents wrapping */
}

.my-app-container .attribute-description {
    margin: 0;
    /* Removes default margin */
    font-weight: 300;
    color: var(--product-description-color, rgb(0, 0, 0, 0.7));
}

/* Accordion styles */
.my-app-container .accordion {
    background-color: #ffffff;
    margin-top: 5px;
    width: 100%;
    /* Make accordion 100% width */
}

.my-app-container .accordion-item {
    width: 100%;
    border: none;
    background-color: #ffffff;
}

/* Header Style */
.my-app-container .accordion-button {
    font-family: var(--navbar-font);
    background-color: rgb(0, 0, 128) !important;
    color: white !important;
    font-size: 2.5vh;
    font-weight: 400;
    height: 40px;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0 !important;
    height: auto;
    padding: 2vh;
}

.my-app-container .accordion-button:focus,
.my-app-container .accordion-button:not(.collapsed) {
    background-color: rgb(0, 0, 95) !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 128, 0.1) !important;
    color: white !important;
}

/* Hide default Bootstrap icon */
.my-app-container .accordion-button::after {
    display: none;
    border: 0;
}

/* Accordion Body (Smaller Font) */
.my-app-container .accordion-body {
    font-family: var(--navbar-font);
    background-color: rgb(42, 42, 149);
    color: #fff;
    padding: 10px;
    padding-left: 2vw;
    font-size: 2.4vh;
    width: 100%;
}

/* Ensure the accordion takes the same width as the side menu */
.my-app-container #fgAccordion {
    width: 100%;
}

.my-app-container select.default-selected,
.my-app-container .default-option {
    color: gray;
    /* Lighter color */
    font-style: italic;
    /* Italic text */
    font-weight: bold;
    /* Example: Bold text */
}

.my-app-container .dropdown-focused {
    border: 2px solid blue;
    /* Change border color */
    background-color: lightyellow;
    /* Change background color */
}

.my-app-container #loadingSpinner {
    margin-top: 10px;
    margin-bottom: 10px;
}

.my-app-container #errorMessage {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2000;
    color: red;
}

.my-app-container #successMessage {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2000;
    color: green;
    background-color: rgba(0, 255, 0, 0.08);
}

.my-app-container .accordion-header {
    display: flex;
    align-items: center;
    color: white;
}

.my-app-container .btn-sub.add-features-button {
    margin-left: 0;
    /* Push the button to the right */
}

.my-app-container .filter-button-dropdown {
    display: inline-flex;
    /* Ensures it stays inline with other buttons */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: transparent;
    border-radius: 5px;
    z-index: 900;
    margin-left: 0.5vw;
    /* Ensure the filter button is above other elements */
}

.my-app-container .facet-results-panel-container {
    display: flex;
    /* Use flexbox to align children horizontally */
    width: 100%;
    /* Take full width of the parent container */
    justify-content: flex-start;
    /* Align items to the left */
    gap: 20px;
    /* Space between facet and search results */
}

/* Layout when facet is in panel mode (left of search results) */
.my-app-container .facet-panel {
    flex-basis: 20vw;
    /* Set the facet panel to 20% of the container width */
    /* Padding inside the facet panel */
    overflow-y: auto;
    /* Allow scrolling if the content overflows */
    min-width: 20vw;
    /* Set the width of the panel */
    margin-right: 2vw;
    /* Space between the facet and the search results */
    margin-left: 1vw;
    /* Space between the facet and the search results */
    border: 1px solid #ccc;
    /* Border around the entire panel */
    background-color: var(--product-card-color, #fff);
    color: var(--product-description-color, #666);
    /* White background for the panel */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow to make it look like a card */
    z-index: 10;
}

/* Styles for the panel view */
.my-app-container .facet-panel .panel-container {
    margin-bottom: 15px;
    overflow-x: hidden;
}

.my-app-container .facet-panel .panel-header {
    font-weight: bold;
    font-size: 15px;
    /* Make the header text slightly larger */
    padding-bottom: 10px;
    margin-bottom: 10px;
    /* Margin to separate from checkboxes */
    color: #333;
    /* Dark color for header */
}

.my-app-container .facet-panel .panel-list {
    /* padding-left: 5px; */
    display: flex;
    flex-direction: column;
    gap: 0.8vh;
    /* Space between each checkbox */
}

/* Layout for the facet-dropdown card (navbar-like) */
.my-app-container .facet-dropdown {
    display: flex;
    justify-content: center;
    /* Center the navbar horizontally */
    align-items: center;
    /* Center vertically */
    width: auto;
    max-width: auto;
    margin: 1vh auto;
    /* Center the card with space above and below */
    background-color: transparent;
    /* White background for the card */
    border-radius: 8px;
    /* Rounded corners for the card */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    /* Subtle shadow around the card */
    z-index: 100;
}

/* Each dropdown section in the navbar */
.my-app-container .facet-dropdown .dropdown-container {
    position: relative;
    /* Control the visibility of the dropdown list */
    flex-grow: 1;
    /* Flex layout for equal width and alignment */
    justify-content: center;
    /* Center the dropdown section */
    z-index: 100;
    max-width: 20vw;
}

/* Header for each dropdown in the navbar (like navbar items) */
.my-app-container .facet-dropdown .dropdown-header {
    padding: 10px 15px;
    cursor: pointer;
    text-align: center;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 20vw;
    /* Make the header take full width of the dropdown */
    z-index: 100;
    background-color: #ddd;
}

/* The dropdown list (hidden by default) */
.my-app-container .facet-dropdown .dropdown-list {
    display: none;
    /* Initially hide the dropdown list */
    position: absolute;
    top: 100%;
    /* Position the list directly below the header */
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    /* Rounded bottom corners */
    padding: 1vw;
    list-style-type: none;
    max-height: 30vh;
    /* Limit the height of the dropdown */
    overflow-y: auto;
    /* Scrollbar for overflowing items */
    z-index: 3000;
    min-height: 16vh;
    width: 30vw;
}

/* Display the dropdown list when the container is hovered */
/* .my-app-container .facet-dropdown .dropdown-container:hover .dropdown-list {
    display: block;
    /* Show the dropdown list
} */

/* Style for individual dropdown items */
.my-app-container .facet-dropdown .dropdown-item {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

/* Style for the checkboxes inside the dropdown */
.my-app-container .facet-dropdown .dropdown-item input {
    margin-right: 10px;
}

/* Hover effect for each item inside the dropdown */
.my-app-container .facet-dropdown .dropdown-item:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
}

.my-app-container .facet-dropdown .dropdown-header:hover {
    background-color: #fff;
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: #ccc;
    /* Darken background when hovering over the header */
}

.my-app-container .checkbox-container {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.my-app-container .checkbox-container label {
    margin-left: 5px;
    font-size: 15px;
    /* Make label text slightly larger */
}

/* Styles for individual checkboxes */
.my-app-container .checkbox-container input[type="checkbox"] {
    transform: scale(1.2);
    /* Slightly enlarge checkboxes */
}

/* Optional hover effect on the checkbox items */
.my-app-container .checkbox-container:hover {
    background-color: #f9f9f9;
    border-radius: 5px;
    cursor: pointer;
}

.my-app-container #view-toggle {
    display: flex;
    justify-content: space-evenly;
    width: 10vw;
}

/* Hide the radio buttons but keep them functional */
.my-app-container input[type="radio"] {
    display: none;
}

/* Apply hover effect on the labels */
.my-app-container #view-toggle label:hover {
    background-color: rgb(0, 0, 128);
    border-radius: 5px;
}

/* Optional: Adding padding and cursor for clickable labels */
.my-app-container #view-toggle label {
    padding: 5px;
    cursor: pointer;
}

.my-app-container .price-input-container {
    width: 20vw;
    padding: 10px;
}

.my-app-container .price-display-container {
    color: var(--product-description-color, #666);
}

.my-app-container .price-input {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    width: 60%
}

.my-app-container .price-field {
    flex: 1;
    margin-right: 10px;
    margin-left: -1vw;
}

.my-app-container .price-field:last-child {
    margin-right: 0;
}

.my-app-container .price-field span {
    margin-right: 10px;
    margin-top: 6px;
    font-size: 17px;
}

.my-app-container .price-field input {
    width: 100%;
    height: 35px;
    font-size: 15px;
    font-family: "DM Sans", sans-serif;
    border-radius: 9px;
    text-align: center;
    border: 0px;
    background: transparent;
}

.my-app-container .slider-container {

    position: relative;
    height: 35px;
    /* Adjust height as needed */
}

.my-app-container .range-input {
    position: relative;
    width: 100%;
    height: 5px;
    margin-top: 10px;
    /* Height of the track */
    background: var(--product-description-color, (0, 0, 128));
    /* Background color of the track */
    border-radius: 5px;
    /* Rounded corners for the track */
}

.my-app-container input[type="range"] {
    -webkit-appearance: none;
    /* Remove default styling */
    appearance: none;
    /* Remove default styling */
    position: absolute;
    /* Position absolute to overlay the track */
    width: 100%;
    height: 6px;
    /* Height of the track */
    background: transparent;
    /* Make the input background transparent */
    cursor: pointer;
    /* Change cursor to pointer */
    top: 0;
    /* Align with the top of the track */
}

.my-app-container .min-range,
.my-app-container .max-range {
    position: relative;
    /* Position relative to the slider */
    z-index: 2;
    /* Ensure thumbs are above the track */
}

.my-app-container .min-range::-webkit-slider-thumb,
.my-app-container .max-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    padding-bottom: 20px;
    background: var(--product-description-color, #007bff);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    top: 0;
}


/* .my-app-container input[type="range"]::-webkit-slider-thumb {
    
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: rgb(0, 0, 128) !important;
    pointer-events: auto;
}

.my-app-container input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: rgb(0, 0, 128) !important;
    pointer-events: auto;
} */


/* .my-app-container .min-range::-moz-range-thumb, 
.my-app-container .max-range::-moz-range-thumb {
    width: 20px; 
    height: 20px; 
    background: #007bff;
    border-radius: 50%;
    cursor: pointer; 
    position: relative; 
    top: 0; 
} */

.my-app-container .checkbox-section {
    width: 95%;
    margin-bottom: 1vh;
}

.my-app-container .section-header {
    font-size: 16px;
    margin: 0 0 10px 10px;
}

.my-app-container .slider-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.my-app-container .slider-container input[type="range"] {
    pointer-events: none;
    /* Disable pointer events on the track */
}

.my-app-container .slider-container input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    /* Enable pointer events on the thumb */
}

.my-app-container .slider-container input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    /* Enable pointer events on the thumb */
}

.my-app-container .slider-container input[type="range"]::-ms-thumb {
    pointer-events: auto;
    /* Enable pointer events on the thumb */
}

.my-app-container .slider-textbox {
    width: 100%;
    height: 35px;
    font-size: 15px;
    text-align: center;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #e4e4e4;
}

.my-app-container .min-textbox {
    position: absolute;
    left: 0;
}

.my-app-container .max-textbox {
    position: absolute;
    right: 0;
}

.my-app-container .arrow {
    cursor: pointer;
    margin-left: 5px;
}

.my-app-container .highlighted {
    background-color: rgba(255, 255, 255, 0.1);
    /* Light blue background */
    padding: 2px;
    border-radius: 2px;
}

.my-app-container .highlighted-user {
    background-color: rgba(0, 0, 255, 0.1);
    /* Light blue background */
    padding: 8px;
    border-radius: 2px;
}

.my-app-container .alphabet-navigation {
    display: flex;
    flex-direction: row;
    /* Change to horizontal layout */
    position: sticky;
    /* Change to absolute */
    top: 0;
    /* Adjust as needed to position it correctly */
    left: 0;
    /* Align to the left of the dropdown */
    margin-top: 0;
    /* Remove margin to avoid spacing issues */
    z-index: 10002;
    /* Ensure it appears above other elements */
    width: auto;
    /* Full width of the dropdown */
    background-color: white;
    padding: 10px;
    /* Ensure background is white */
    overflow-x: auto;
}

.my-app-container .alphabet-button {
    background: none;
    border: none;
    color: rgb(0, 0, 128);
    cursor: pointer;
    font-size: 12px;
    margin-right: 0.5px;
    /* Add some horizontal spacing between buttons */
}

.my-app-container .alphabet-button:hover {
    text-decoration: underline;
}

.my-app-container .enum-dropdown-menu {
    top: 30vh !important;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 5000;
    padding: 0 10px;
    border-radius: 4px;
    display: none;
    max-height: 60vh;
    overflow-y: auto;
    width: 20vw;
    position: relative;
}

/* Styles for the Clear Filters button */
.my-app-container .clear-filters-button {
    background-color: #ddd;
    margin: auto;
    color: black;
    padding: 5px 10px;
    font-size: 10px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s;
}

.my-app-container .clear-filters-button:hover {
    background-color: #d1d0d0;
}

.my-app-container .clear-filters-button:focus {
    outline: 2px solid #d1d0d0;
    outline-offset: 2px;
}

.my-app-container .facetOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Ensure it is below the panel */
}

.my-app-container .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    /* Change this to your desired color */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    /* Make it inline with the checkbox */
    margin-left: 5px;
    /* Space between checkbox and spinner */
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.my-app-container .btn-outline-primary.custom-outline {
    background-color: white !important;
    color: rgb(0, 0, 128) !important;
    border-color: rgb(0, 0, 128) !important;
    width: 20vw;
}

.my-app-container .btn-outline-primary.custom-outline:hover {
    color: rgb(0, 0, 200);
    border-color: rgb(0, 0, 128);
}

.my-app-container .btn-outline-primary.custom-outline:active {
    background-color: rgb(0, 0, 200) !important;
    color: white !important;
    border-color: rgb(0, 0, 128) !important;
}

.my-app-container .btn-outline-primary.custom-outline-reverse {
    background-color: white !important;
    color: rgb(0, 0, 128) !important;
    border-color: white !important;
    width: 20vw;
    margin: auto;
}

.my-app-container .btn-outline-primary.custom-outline-reverse:disabled {
    background-color: #e9ecef;
    /* Light gray background */
    color: #6c757d;
    /* Gray text color */
    border-color: #e9ecef;
    /* Match border color with background */
    cursor: not-allowed;
    /* Change cursor to indicate it's not clickable */
    opacity: 0.65;
    /* Slightly transparent to indicate disabled state */
}

.my-app-container .btn-outline-primary.custom-outline-reverse:hover {
    color: rgb(0, 0, 200);
    border-color: rgb(0, 0, 128);
}

.my-app-container .btn-outline-primary.custom-outline-reverse:active {
    background-color: white !important;
    color: rgb(0, 0, 128) !important;
    border-color: white !important;
}

.my-app-container .toggle-container {
    display: flex;
    align-items: center;
    margin-left: 10px;
    /* Adjust as necessary */
}

.my-app-container .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.my-app-container .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.my-app-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.my-app-container .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

.my-app-container input:checked+.slider {
    background-color: rgb(0, 0, 128);
}

.my-app-container input:focus+.slider {
    box-shadow: 0 0 1px rgb(0, 0, 128);
}

.my-app-container input:checked+.slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.my-app-container .slider.round {
    border-radius: 34px;
}

.my-app-container .slider.round:before {
    border-radius: 50%;
}

.my-app-container .toggle-text {
    margin-left: 10px;
    /* Space between the toggle switch and the text */
    font-size: 16px;
    /* Adjust font size as needed */
}

.my-app-container .close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.my-app-container .close-button:hover,
.my-app-container .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.my-app-container .bar1,
.my-app-container .bar2,
.my-app-container .bar3 {
    width: 31px;
    height: 4px;
    background-color: #333;
    /* Default color */
    margin: 6px 0;
    transition: 0.4s;
}

.my-app-container .container.change .bar1 {
    width: 15px;
    height: 2px;
    transform: translate(0, 9px) rotate(-45deg);
    background-color: white;
    /* Change color when active */
}

.my-app-container .container.change .bar2 {
    opacity: 0;
}

.my-app-container .container.change .bar3 {
    width: 15px;
    height: 2px;
    transform: translate(0, -9px) rotate(45deg);
    background-color: white;
    /* Change color when active */
}

.my-app-container #test-drive {
    transition: width 0.3s, margin-left 0.3s;
}

.my-app-container #ul-nav {
    font-family: var(--heading-font);
    top: 0;
    position: fixed;
    list-style-type: none;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    background-color: rgb(0, 0, 128);
    width: 100%;
    z-index: 3000;
    display: flex;
    /* Use flexbox for layout */
    align-items: center;
    /* Center items vertically */
}

.my-app-container #ul-nav li {
    display: inline;
    /* Keep this for inline display */
}

.my-app-container #ul-nav li a {
    display: flex;
    /* Use flexbox for alignment */
    align-items: center;
    /* Center items vertically */
    color: white !important;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    z-index: 2000;
}

.my-app-container #ul-nav li a:hover:not(.active) {
    background-color: rgb(245, 245, 245, 0.2);
}

/* New class for right-aligned items */
.my-app-container #ul-nav .right-aligned {
    margin-left: auto;
    /* Pushes the right-aligned items to the right */
    display: flex;
    /* Use flexbox for layout */
    align-items: center;
    /* Center items vertically */
}

/* Additional styles for the View Plans item */
.my-app-container #ul-nav #view-plans {
    margin-right: 10px;
    /* Add some space between View Plans and Config */
}

.my-app-container .sort-toggle-button {
    width: 7vw !important;
    padding: 0;
    font-size: 0.8rem !important;
    height: 5vh;
    margin-left: 0.5vw;
    margin-bottom: 0.5vh;
}

.my-app-container .checkbox-wrapper {
    display: flex;
    align-items: center;
    /* Center checkbox and label vertically */
    margin-right: 5px;
    /* Space between checkbox and inputs */
}

.my-app-container .checkbox-label {
    max-width: 75px;
    /* Set a maximum width for the label */
    white-space: nowrap;
    /* Prevent the text from wrapping */
    overflow: hidden;
    /* Hide any overflow */
    text-overflow: ellipsis;
    /* Add ellipsis for overflowed text */
    margin-right: 5px;
    /* Space between label and input fields */
}

.my-app-container #dataUnavailable {
    background-color: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: auto;
    margin-top: 40vh;
}

.my-app-container #dataUnavailableBtn {
    padding: 10px 20px;
    background-color: rgb(0, 0, 128);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
}

.my-app-container .schedule-dropdown-item {
    color: #007bff;
    padding: 10px 15px;
    width: 100%;
}

.my-app-container .schedule-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

.my-app-container .schedule-dropdown-item:focus,
.my-app-container .schedule-dropdown-item.active {
    background-color: #e2e6ea;
    color: #0056b3;
}

.my-app-container .selected-display-icon {
    background-color: #D3D3D3;
    border-radius: 10px;
}

.centered-div-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

.hidden-div {
    /* display: none; */
    visibility: hidden;
}

.my-app-container #heading {
    padding-bottom: 3vh;
}

.my-app-container .app-heading {
    font-size: 10vh;
    font-family: var(--def-font);
    color: var(--heading-color);
    font-weight: bold;
    padding-left: 1vw;
}

.my-app-container .selected-filter-div {
    padding: 0.5vh !important;
    padding-left: 10px !important;
    width: 100%;
}

/* The list that holds each filter item */
.my-app-container .filter-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
}

/* Individual filter list item */
.my-app-container .filter-list-item {
    display: inline-block;
}

/* Inner div that visually represents the filter */
.my-app-container .filter-div {
    padding: 6px 12px;
    background-color: #D3D3D3;
    border: #ababab;
    border-radius: 5px;
    cursor: default;
    white-space: nowrap;
    transition: background-color 0.3s;
    position: relative;
}

.filter-div:hover {
    background-color: #C9C9C9;
}

.my-app-container .filter-close-button {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.my-app-container .white-header {
    color: white;
}


#dashboard .heatmap-canvas,
#reportContent .heatmap-canvas {
    width: 100% !important;
    height: 400px;
    max-width: 100%;
    margin-bottom: 30px;
}

#dashboard .chart-container,
#reportContent .chart-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#dashboard .card-body,
#reportContent .card-body {
    padding: 20px;
}

#dashboard #ul-nav,
#reportContent #ul-nav {
    font-family: var(--heading-font);
    top: 0;
    position: absolute;
    list-style-type: none;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    background-color: rgb(0, 0, 128);
    width: 100%;
    z-index: 3000;
    display: flex;
    /* Use flexbox for layout */
    align-items: center;
    /* Center items vertically */
}

#dashboard #ul-nav li,
#reportContent #ul-nav li {
    display: inline;
    /* Keep this for inline display */
}

#dashboard #ul-nav li a,
#reportContent #ul-nav li a {
    display: flex;
    /* Use flexbox for alignment */
    align-items: center;
    /* Center items vertically */
    color: white !important;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    z-index: 2000;
}

#dashboard #ul-nav li a:hover:not(.active),
#reportContent #ul-nav li a:hover:not(.active) {
    background-color: rgb(245, 245, 245, 0.2);
}

/* New class for right-aligned items */
#dashboard #ul-nav .right-aligned,
#reportContent #ul-nav .right-aligned {
    margin-left: auto;
    /* Pushes the right-aligned items to the right */
    display: flex;
    /* Use flexbox for layout */
    align-items: center;
    /* Center items vertically */
}

/* Additional styles for the View Plans item */
#dashboard #ul-nav #view-plans,
#reportContent #ul-nav #view-plans {
    margin-right: 10px;
    /* Add some space between View Plans and Config */
}

#dashboard .center-bottom-button,
#reportContent .center-bottom-button {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

#dashboard .page-break,
#reportContent .page-break {
    page-break-before: always;
}

#dashboard .marg-top,
#reportContent .marg-top {
    margin-top: 4vh;
}

@media print {

    #dashboard .page-break,
    #reportContent .page-break {
        page-break-before: always;
    }

    #dashboard .header-section,
    #dashboard .filter-section,
    #dashboard .charts-section,
    #dashboard .usage-stats-section,
    #dashboard .top-items-section,
    #reportContent .header-section,
    #reportContent .filter-section,
    #reportContent .charts-section,
    #reportContent .usage-stats-section,
    #reportContent .top-items-section {
        margin: 20px 0;
    }

    #dashboard .container,
    #reportContent .container {
        margin: 0;
    }

    #dashboard .card-body,
    #reportContent .card-body {
        padding: 10px;
    }

    #dashboard table,
    #reportContent table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    #dashboard table th,
    #dashboard table td,
    #reportContent table th,
    #reportContent table td {
        padding: 8px;
        text-align: left;
        border: 1px solid #ddd;
    }

    #dashboard .btn,
    #reportContent .btn {
        display: none;
        /* Hide the button during PDF generation */
    }
}