﻿@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --main-colorPurple: rgb(107, 81, 164); /* logo purple color */
    --main-colorBlue: rgb(40, 175, 207); /* logo blue color */
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

body.unauthenticated {
    overflow-x: hidden;
    overflow-y: auto;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.add-tag-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*background-color: #f9f9f9;*/
    margin: 10px 0;
}

.removable-tag-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*background-color: #f9f9f9;*/
    margin: 10px 0;
}

    .removable-tag-container > .close-button {
        background: none;
        border: none;
        color: lightgray;
        font-weight: bold;
        font-size: 16px;
        cursor: pointer;
        margin-left: auto;
    }

        .removable-tag-container > .close-button:hover {
            color: black;
        }

.dialog-button {
    margin-left: 5px;
    width: 75px;
}

.padding-left {
    padding-left: 30px !important;
}

.same-row {
    display: flex; /* Align children in a row */
    align-items: flex-start; /* Align vertically at the top */
}

    .same-row > HelpLink {
        flex: 1 1 auto;
    }

    .same-row > DxFormLayout {
        flex: 0 0 auto;
    }

    .same-row > GlobalFilter {
        flex: 0 0 auto;
    }

    .same-row > h1 {
        flex: 0 0 auto;
    }

    .same-row > h2 {
        flex: 0 0 auto;
    }

    .same-row > h3 {
        flex: 0 0 auto;
    }

    .same-row > h4 {
        flex: 0 0 auto;
    }

    .same-row > LocPreferences {
        flex: 0 0 auto;
    }

.remove-max-width {
    max-width: unset !important;
}

/* Container to center the image */
.spincontainer {
    display: inline-block;
}

.spinning-image {
    width: 150px; /* Adjust as needed */
    height: auto;
    /* separate durations & easing for spin vs. glow */
    animation: spinClockwise 1s infinite linear, flashDarker 2.5s infinite ease-in-out;
}

@keyframes spinClockwise {
    /* flip + rotate to keep arrow-direction consistent */
    0% {
        transform: scaleX(-1) rotate(0deg);
    }

    100% {
        transform: scaleX(-1) rotate(-360deg);
    }
}

@keyframes flashDarker {
    /* long “on” period, short “dim” pulse */
    0%, 80%, 100% {
        filter: brightness(1);
    }

    85%, 90% {
        filter: brightness(0.6);
    }
}

/* Keyframes to rotate counterclockwise (not currently being used, this is if we want to match to direction of logo)*/
@keyframes spinCounterClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.min-height250 {
    min-height: 250px
}

/* Sidebar Style */
.sidebar {
    width: 250px; /* Default sidebar width */
    height: 100vh; /* Full height of the screen */
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--main-colorPurple) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: flex;
    flex-direction: column; /* Vertically stack content */
    z-index: 1000; /* Ensure sidebar is above all other elements */
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden;
    transform: translateX(0); /* Default position for desktop */
    transition: transform 0.2s ease-in-out; /* Smooth slide-in/slide-out transition */
}

    .sidebar.hidden {
        transform: translateX(-100%); /* Slide out (hide sidebar) */
    }

    .sidebar.visible {
        transform: translateX(0); /* Slide in (show sidebar) */
    }


/* Hamburger Menu Button */
.hamburger-menu {
    display: none; /* Hide hamburger menu by default (desktop) */
    position: fixed;
    top: 20px;
    left: 20px;
    z-index:900; /* Above sidebar */
    background: none;
    border: none;
    cursor: pointer;
}

    .hamburger-menu span {
        font-size: 30px; /* Icon size */
        color: #333;
    }

.content {
    transition: margin-left 0.3s ease-in-out;
    width: 100%;
}


.layout-header {
    width: 250px;
    height: 100vh; /* You can adjust this value */
    display: flex; /* This ensures child elements position properly */
    z-index: 999; /* Ensure it stays above content elements */
    flex-direction: column; /* Stack children vertically (if needed) */
    margin: 0;
    padding: 0;
    background-color: var(--main-colorPurple) !important;
    /*    border-radius: 0px 10px 10px 0px;*/
}

.sidebar-close-button {
    position: fixed;
    top: 5px;
    left: 250px;
    font-size: 32px;
    color: grey;
    background: none;
    border: none;
    z-index: 1101; /* Above sidebar and hamburger */
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transform: translateX(-100%);
    opacity: 0;
}


/* Hamburger Menu (Mobile Only) */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block; /* Show hamburger menu on small screens */
    }

    .sidebar {
        transform: translateX(-100%); /* Hidden by default on mobile */
        height: 100dvh; /* Adjust for hamburger button */
        max-height: 100dvh;
        margin-bottom: 0;
        justify-content: space-between;
    }

        .sidebar .card {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .sidebar.visible + .sidebar-close-button {
            display: block;
        }

    .layout-header {
        width: 0;
        height: calc(100vh - 50px); /* Adjust for hamburger button */
    }

    .sidebar.visible {
        transform: translateX(0); /* Reveal sidebar */
    }

    .sidebar.hidden {
        transform: translateX(-100%); /* Hide sidebar completely when the hidden class is active */
    }

    .sidebar-close-button.visible {
        transform: translateX(0); /* Slide in */
        opacity: 1;
    }

    .sidebar-close-button.hidden {
        transform: translateX(-100%); /* Slide out */
        opacity: 0;
    }
    /* Content takes the full width */
    .content {
        margin-left: 0;
        width: 100%;
        margin-top: 50px;
        margin-bottom:27px;
        left:0 !important;
    }
    .px-4{
        padding-right:15px!important;
    }
    html, body {
        overflow-x: hidden;
    }
}

.sidebar .dxbl-menu {
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default paddings */
    position: absolute; /* Optionally pin the menu to the top */
    top: 0; /* Remove any space above */
    left: 0;
    width: 100%; /* Ensure the menu spans the full width of its container */
    background-color: var(--main-colorPurple) !important;
    color: white;
    /*    border-radius: 0px 10px 10px 0px;*/
}

.logo-img {
    width: 100%;
    height: auto;
    max-width: 450px;
}
@media screen and (max-width: 768px) {
    .logo-img {
        width: 90%;
        height: auto;
        max-width: 400px;
    }
}

    .register-card {
        margin-top: 3%;
        margin-bottom: 5%;
    }

    .RegisterScreen-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }

    .LoginScreen-container {
        display: grid;
        place-items: center;
        margin-bottom: 2%
    }

    .Login-card {
        margin-top: 3%;
        margin-bottom: 5%;
    }

    .toggle-password {
        position: absolute;
        right: 12%;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

        .toggle-password i {
            font-size: 1.2rem; /* Adjust the icon size if needed */
        }

    @media (max-width: 640px) { /* Tablets & smaller devices */
        .toggle-password {
            right: 6%; /* Reduce right spacing when screen is smaller */
        }
    }

    @media (max-width: 480px) { /* Mobile devices */
        .toggle-password {
            right: 5%; /* Even closer for very small screens */
        }
    }

    .form-floating:has(.text-danger:not(:empty)) .toggle-password {
        transform: translateY(-90%); /* Moves it up when error is visible */
    }

    .registerLogin-button {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
        font-size: 18px; /* Increase text size */
        /* Center content (text) inside the button */
        display: flex;
        justify-content: center;
        align-items: center;
        /* Full-width button but limited max width */
        width: 100%;
        max-width: 450px;
    }

    .smartsub-logoFooter {
        height: 1.5em;
        vertical-align: middle;
    }

    .input-shadow {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    }

    .rcorners {
        position: relative;
        border-radius: 25px;
        padding: 20px;
        max-width: 634px;
        width: 100%;
        max-height: 1150px;
        height: auto;
        z-index: 0;
        box-shadow: -4px -5px 7.800000190734863px 4px rgba(40, 175, 207, 0.50), 4px 5px 7.800000190734863px 4px var(--main-colorPurple);
        margin: 0 auto;
    }


    .rcornersElement {
        position: relative;
        border-radius: 25px;
        padding: 20px;
        max-width: 450px;
        height: 56px;
        z-index: 0;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
    }

    .rcornersElement-reg {
        position: relative;
        border-radius: 25px !important;
        padding: 5px;
        max-width: 450px;
        height: clamp(50px, 7vw, 56px) !important;
        z-index: 0;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
        margin: 0 auto;
    }

    .hr-text {
        border: 0;
        line-height: 1em;
        position: relative;
        text-align: center;
        height: 1.5em;
        margin: 30px auto;
        max-width: 450px;
    }

        .hr-text::before {
            content: "";
            background: linear-gradient(to right, transparent 1%, var(--main-colorBlue) 25%, var(--main-colorBlue) 75%, transparent); /* Stronger gradient */
            position: absolute;
            left: 0;
            top: 50%; /* Center the line vertically */
            width: 100%;
            height: 5px; /* Thickness of the line */
            z-index: -1; /* Ensure the line stays behind the text */
        }

        .hr-text::after {
            content: attr(data-content); /* Dynamically insert the text */
            position: relative;
            padding: 0 20px; /* Less padding so the text background doesn’t hide the line as much */
            line-height: 1.5em;
            background-color: white; /* White background for the text for contrast */
            color: black; /* Text color */
            z-index: 1; /* Text stays above the line */
            border-radius: 25px;
        }

    .login-footer {
        left: 50%;
        transform: translateX(-50%);
        padding-top: 5px;
        font-size: clamp(9px, 2vw, 13px);
        margin: 1px;
        position: fixed;
        bottom: 0px;
        text-align: center;
        max-width: 100%;
        width: 100%;
        background-color: white;
    }

    .login-header-title {
        text-align: center;
        font-size: 30px; /* Default font size for large screens */
    }

    @media (max-width: 768px) {
        .login-header-title {
            font-size: 24px; /* Smaller font for tablets */
        }
    }

    @media (max-width: 480px) {
        .login-header-title {
            font-size: 18px; /* Even smaller font for mobile phones */
        }
    }

    .no-background {
        background-color: transparent; /* Removes any background */
    }

    label.no-background::after {
        content: none; /* Prevent the pseudo-element from rendering */
        background: none; /* Clears any background applied to it */
        display: none; /* Ensures the element doesn't visually display */
    }

    .layout-footer {
        left: 50%;
        transform: translateX(-50%);
        font-size: 13px;
        position: fixed;
        bottom: 0px;
        text-align: center;
        background-color: white;
        width: 100%;
        border: 0.5px solid rgba(0, 0, 0, 0.05);
    }

    .dashboardcharts-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); /* Three equal columns */
        grid-auto-rows: 1fr; /* Force rows to take an equal share of height */
        gap: 10px; /* Space between elements */
        width: 98.7%;
        box-sizing: border-box;
        height: 205px;
        min-height: 205px;
        max-height: 205px;
        margin-left: 10px;
    }

    /* Parent component's wrapper */
    .chart-container {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
        height: 205px; /* Fixed height */
        width: 100%; /* Full parent width (or use a fixed width if necessary) */
        box-sizing: border-box;
        overflow: hidden; /* Prevent contents from stretching the container */
        display: flex; /* Enable flex layout for centering children */
        justify-content: center; /* Center children horizontally */
        align-items: center; /* Center children vertically */
        box-sizing: border-box; /* Ensure borders and padding are included in size */
        position: relative; /* Keeps everything inside its bounds */
        overflow: visible !important; /* Allow child elements to overflow */
        position: relative; /* Ensure correct relative positioning for children */
        border-radius: 15px;
    }

    .my-chart-container {
        height: 205px; /* Match container height */
        width: 100%; /* Match container width */
        margin: 0;
        padding: 0;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible !important; /* Allow child elements to go beyond the container , needed for hover on charts*/
        position: relative; /* Set as a positioned parent for absolute placements */
    }

        .my-chart-container > * {
            margin: 0 !important; /* Remove any default margins */
            padding: 0 !important; /* Remove any default padding */
            box-sizing: border-box; /* Force predictable sizing */
            max-width: 100%; /* Prevent width from exceeding parent */
            max-height: 100%; /* Prevent height from exceeding parent */
        }

        .my-chart-container dxbl-chart {
            padding: 10px !important;
            max-width: 100%;
            max-height: 100%;
            width: 100%;
            height: 100%;
        }

    /* Responsive Styles for Mobile */
    @media (max-width : 768px) {
        .dashboardcharts-container {
            grid-template-columns: 1fr; /* Stack charts vertically on small screens */
            gap: 10px; /* Reduce spacing for smaller viewports */
            max-height: none;
            height: auto;
            max-width: 95%;
        }

        .chart-container {
            height: 250px; /* Reduce chart height further for mobile */
            width: 100%;
            max-width: 100%;
            margin: 0;
        }
    }

    /* Add specific styles for very small screens (e.g., below 480px) */
    @media (max-width: 480px) {
        .dashboardcharts-container {
            grid-template-columns: 1fr;
            gap: 10px; /* Further reduce spacing for compact layouts */
            max-height: none;
            height: auto;
        }

        .chart-container {
            height: 250px; /* Smaller height for very small devices */
            width: 100%;
            max-width: 100%;
        }
    }

    #my-chart-container .dxbl-chart-title {
        margin-top: 0 !important;
    }

    .dxbl-chart-title {
        font-size: 13px !important; /* Overrides inline styles */
        font-weight: 500 !important;
    }

    .my-chart-container .dxbl-chart-legend-inside .dxbl-chart-legend-item {
        font-size: 10px !important; /* Smaller font for legend text */
        margin-bottom: 1px !important;
        line-height: 1.2 !important;
        padding-right: 7px !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        margin: 0 !important;
        flex: 1 1 auto;
    }

    .my-chart-container .dxbl-chart-legend {
        display: flex; /* Use flexbox for layout */
        flex-wrap: wrap; /* Allow items to wrap to the next row if needed */
        justify-content: start; /* Align items to the left */
        width: auto; /* Ensure container can grow fully */
        gap: 5px; /* Provide spacing between items for readability */
        margin: 0 auto; /* Center container horizontally if needed */
        align-items: center; /* Vertically center items */
        padding-bottom: 3px;
        padding-top: 3px;
        margin-right: 10px;
        margin-top: 3px;
    }

    .my-chart-container .dxc-arg-elements {
        font-size: 10px !important; /* Set a smaller font size for x-axis labels */
        font-weight: 400 !important; /* Optional: Adjust font weight for proper readability */
        margin-bottom: 0 !important; /* Remove any bottom margin */
        padding-bottom: 0 !important; /* Remove any bottom padding */
        transform: translateY(-5px);
    }

        .my-chart-container .dxc-arg-elements text {
            font-size: 10px !important; /* Force smaller font size */
            font-weight: 400 !important; /* Optional: Adjust font weight */
        }


    .my-chart-container .dx-tooltip {
        position: absolute !important; /* Ensure tooltip is positioned absolutely */
        z-index: 1000 !important; /* Place it above other elements */
        overflow: visible; /* Let tooltip expand beyond boundaries */
    }

    /* Active tab: Keep blue underline, remove box */
    .dxbl-tabs-item.dxbl-active {
        border: none !important; /* Remove all borders except bottom */
        border-bottom: 3px solid var(--main-colorBlue) !important; /* Keep the blue underline */
        box-shadow: none !important; /* Remove the shadow "box" */
        background: none !important; /* Remove background color */
        color: var(--main-colorBlue) !important; /* Blue text color */
    }

        /* Remove any pseudo-element decorations */
        .dxbl-tabs-item.dxbl-active::after {
            content: none !important; /* Remove ::after pseudo-elements */
        }

    /* Non-active tabs hover effect */
    .dxbl-tabs-item:hover {
        border-bottom: 3px solid var(--main-colorBlue) !important; /* Blue underline for hover */
        color: rgb(80, 150, 200); /* Optional lighter blue for hover text */
    }

    /* General tab styling */
    .dxbl-tabs-item {
        transition: border-bottom 0.3s ease, color 0.3s ease; /* Smooth transitions */
        border: none !important; /* Remove any default borders */
        box-shadow: none !important; /* Remove any default shadows */
        background: none !important; /* Remove background colors */
    }

    /* Active menu item */
    .dxbl-menu-list-item.dxbl-state-active {
        background-color: var(--main-colorBlue) !important; /* Blue background */
        color: white !important; /* White text for selected menu */
        border-radius: 5px; /* Optional: Rounded edges */
    }

        /* Icon styling for active item */
        .dxbl-menu-list-item.dxbl-state-active .bi {
            color: white !important; /* White icon color */
        }

    /* Hover effect for other menu items */
    .dxbl-menu-list-item:hover {
        background-color: rgba(40, 175, 207, 0.2); /* Light blue background */
        color: var(--main-colorBlue); /* Blue text */
        border-radius: 5px;
        transition: all 0.3s ease; /* Smooth hover transition */
    }

    /* Default menu item styles */
    .dxbl-menu-list-item {
        background-color: transparent; /* No background for default items */
        border: none; /* Remove borders */
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    /*Targets the nav menu to be purple and tries to not effect other dropdowns*/
    .dxbl-dropdown-body:has(.dxbl-menu-item-list) {
        background-color: var(--main-colorPurple);
        border-radius: 2px;
    }

    .dxbl-dropdown-dialog:has(.dxbl-menu-item-list) {
        margin-left: 11px;
    }

    /*Can be used to change nav menu font size*/
    .dxbl-menu-item-text-container {
        font-size: 18px;
        color: white !important;
    }

    .dxbl-menu-item .dxbl-image {
        color: white !important;
    }

    .dxbl-menu-dropdown-item .dxbl-menu-list-item .dxbl-menu-item-pos-end .dxbl-state-active {
        background-color: var(--main-colorBlue) !important; /* Blue background */
        color: white !important; /* White text for selected menu */
        border-radius: 5px;
    }

    .dxbl-itemlist-dropdown .dxbl-menu-item.dxbl-menu-item-pos-end:hover {
        background-color: rgba(40, 175, 207, 0.2); /* Light blue background */
        color: var(--main-colorBlue); /* Blue text */
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .dxbl-menu-dropdown-item {
        width: auto !important; /* Allow submenu items to fit their content */
        white-space: nowrap; /* Prevent text wrapping in the dropdown */
        text-align: left; /* Ensure text is aligned to the left */
        box-sizing: border-box; /* Prevent padding from breaking boundaries */
        margin: 2px;
    }

        /* Submenu container adjustment */
        .dxbl-menu-dropdown-item .dxbl-menu-items {
            width: auto !important; /* Prevent inheritance of full parent width */
            max-width: 300px; /* Optional: Limit submenu width for long content */
            overflow: visible !important; /* Prevent scrollbars in dropdown */
            margin-right: 0;
        }

        .dxbl-menu-dropdown-item div {
            height: auto !important; /* Let height adjust dynamically */
            max-height: none !important; /* Prevent cropping */
        }

        .dxbl-menu-dropdown-item.dxbl-menu-list-item.dxbl-menu-item-pos-end.dxbl-state-active {
            margin: 0; /* Removes all margins */
        }

        .dxbl-menu-dropdown-item.dxbl-menu-list-item.dxbl-menu-item-pos-end:hover {
            margin: 0; /* Removes all margins */
        }

        .dxbl-menu-dropdown-item.dxbl-menu-list-item.dxbl-menu-item-pos-end {
            margin: 0; /* Removes all margins */
        }

    .dxbl-menu-bar {
        background-color: var(--main-colorPurple) !important;
        width: 100%;
        color: white;
        margin: 0;
        padding: 0;
    }

    .dxbl-menu-title {
        width: 250px;
        background-color: var(--main-colorPurple) !important;
        margin-bottom: 10px;
        margin-right: 0;
        margin-top: 0;
    }

    .no-border-grid-WithHeaderBorder td {
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .no-border-grid-WithHeaderBorder {
        border-left: none !important; /* Remove the left border */
        border-right: none !important; /* Remove the right border */
    }

        .no-border-grid-WithHeaderBorder .dxbl-grid-header-row {
            background-color: white !important;
        }

        .no-border-grid-WithHeaderBorder .dxbl-grid-filter-row {
            background-color: white !important; /* Preserve background color */
            border: 0.5px solid #ccc !important; /* Add border to the entire row */
            border-collapse: collapse;
            border-spacing: 0px;
        }

            .no-border-grid-WithHeaderBorder .dxbl-grid-filter-row td {
                border-left: 0.5px solid #ccc !important; /* Add border to each cell */
                border-collapse: collapse;
                border-spacing: 0px;
            }

                /* Remove the left border for the first cell in the filter row */
                .no-border-grid-WithHeaderBorder .dxbl-grid-filter-row td:first-child {
                    border-left: none !important;
                }

                /* Remove the right border for the last cell in the filter row */
                .no-border-grid-WithHeaderBorder .dxbl-grid-filter-row td:last-child {
                    border-right: none !important;
                }

    /* Safely hide native password eye icons */
    input[type="password"]::-ms-reveal,
    input[type="password"]::-ms-clear {
        display: none; /* Safe on Edge/IE */
    }

    /* Announcement Notifications*/
    .announcement {
        display: flex;
        background-color: rgb(106, 81, 164);
        border-radius: 25px;
        padding: 1px 10px 1px 15px;
        margin-bottom: 5px;
        margin-top: 5px;
        justify-content: space-between;
        color: #FFF;
        align-items: center;
    }

    .announcementClose {
        color: white !important;
        background-color: transparent !important;
        border: none !important;
    }

    .announcementText .announcementLink {
        margin-left: 5px;
        color: rgb(41, 176, 208);
        border: none;
        text-decoration: underline;
        font-weight: bold;
        letter-spacing: 1px;
        background-color: transparent !important;
    }

    .announcementText {
        display: flex;
        align-items: center;
    }

    .width100MarginTB2 {
        width: 100%;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .SubprofileEdit-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .SubprofileEdit-container h2 {
            margin: 0; /* Removes default margin */
            white-space: nowrap; /* Prevents text from wrapping */
        }

    .statusLabel {
        color: white;
        padding: 5px 15px;
        border-radius: 50px;
    }

    .statusLabel-Available {
        background-color: var(--main-colorPurple)
    }

    .statusLabel-PartiallyAvailable {
        background-color: var(--main-colorBlue)
    }

    .statusLabel-Inactive {
        background-color: dimgrey
    }

    .statusLabel-Assigned {
        background-color: forestgreen
    }

    .statusLabel-Active {
        background-color: green
    }

    .statusLabel-Complete {
        background-color: steelblue
    }

    .statusLabel-Canceled {
        background-color: crimson
    }

    .statusLabel-InProgress {
        background-color: teal
    }

    .statusLabel-PartiallyComplete {
        background-color: #FFBF00
    }

    .statusLabel-Pending {
        background-color: #ffbe00
    }

    .UserProfileFlyout {
        border: 1px solid #ccc;
        padding: 16px;
        border-radius: 8px;
        max-width: 300px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background-color: white !important;
    }

    .transparent-btn {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0;
    }

    .RegLoginlabel-left {
        margin-left: 10%; /* Moves the label left without messing up layout */
        display: inline-block; /* Ensures correct text alignment */
    }

    .RegLoginlabel-leftOther {
        margin-left: 7% !important; /* Moves the label left without messing up layout */
        display: inline-block; /* Ensures correct text alignment */
        padding-left: 0 !important;
    }

    @media (max-width: 768px) {
        .RegLoginlabel-leftOther {
            margin-left: 10% !important;
            display: inline-block;
            padding-left: 10px !important;
        }
    }

    .PurpleColorFromLogo {
        color: var(--main-colorPurple);
    }

    .BlueColorFromLogo {
        color: var(--main-colorBlue);
    }

    .full-page-GridcontainerWithTitle {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        height: calc(100vh - 25px);
        max-height: 920px;
        overflow: hidden;
    }

    .opening-gridPage-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 130px);
        max-height: 860px;
        border-radius: 15px;
        overflow: hidden; /* Hide the scrolling on the container */
    }

        /* Ensure that only the grid content (body) scrolls */
        .opening-gridPage-container .dxbl-scroll-viewer-content {
            overflow: auto;
            height: calc(100vh - 173px);
            max-height: 800px; /* Adjust height if needed */
        }

        /* Keep the headers fixed while allowing the body to scroll */
        .opening-gridPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header background doesn't overlap */
        }

    .AvailableOpenings-gridPage-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 140px);
        max-height: 865px;
        border-radius: 15px;
        overflow: hidden; /* Hide the scrolling on the container */
    }

        /* Ensure that only the grid content (body) scrolls */
        .AvailableOpenings-gridPage-container .dxbl-scroll-viewer-content {
            overflow: auto;
            height: calc(100vh - 106px);
            max-height: 865px; /* Adjust height if needed */
        }

        /* Keep the headers fixed while allowing the body to scroll */
        .AvailableOpenings-gridPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header background doesn't overlap */
        }

    .Assignments-gridPage-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 140px);
        max-height: 865px;
        border-radius: 15px;
        overflow: hidden; /* Hide the scrolling on the container */
    }

        /* Ensure that only the grid content (body) scrolls */
        .Assignments-gridPage-container .dxbl-scroll-viewer-content {
            overflow: auto;
            height: calc(100vh - 106px);
            max-height: 865px; /* Adjust height if needed */
        }

        /* Keep the headers fixed while allowing the body to scroll */
        .Assignments-gridPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header background doesn't overlap */
        }

    .ManagingRegStaffPage-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 140px);
        max-height: 870px;
        overflow: hidden; /* Hide general scrolling */
        background-color: transparent !important;
        border-radius: 15px;
    }

        /* Fix headers to the top and only allow tbody to scroll */
        .ManagingRegStaffPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header appears fixed */
        }

        /* Scroll the grid body without affecting the headers */
        .ManagingRegStaffPage-container .dxbl-scroll-viewer-content {
            overflow: auto;
            max-height: calc(100vh - 250px); /* Ensure scrolling is applied */
        }

        /* Ensure the scroll viewer allows horizontal scrolling if necessary */
        .ManagingRegStaffPage-container .dxbl-scroll-viewer {
            overflow: auto;
        }

        /* Prevent side overflow issues */
        .ManagingRegStaffPage-container .dxbl-scroll-viewer-hor-scroll-bar {
            display: none;
        }

        .ManagingRegStaffPage-container .dxbl-grid-detail-cell {
            overflow: hidden; /* Prevent unnecessary overflow */
            padding-top: 0 !important;
        }

        .ManagingRegStaffPage-container #tabs-locations {
            max-height: 500px;
        }
        /* Prevent parent row from disappearing when nested grid expands */
        .ManagingRegStaffPage-container .dxbl-grid-detail-cell .dxbl-scroll-viewer-content {
            max-height: 420px; /* This controls nested table scroll */
            overflow-y: auto;
            height: auto;
        }

        .ManagingRegStaffPage-container #tabs-locations .dxbl-grid-detail-cell #tabs-locations {
            max-height: 300px;
        }

            .ManagingRegStaffPage-container #tabs-locations .dxbl-grid-detail-cell #tabs-locations .dxbl-scroll-viewer-content {
                max-height: 250px;
                overflow-y: auto;
            }

        /* Ensure the nested grid inside an expanded row has its own scrollable section */
        .ManagingRegStaffPage-container .dxbl-grid-detail-cell .dxbl-grid {
            max-height: 450px; /* Ensure only the nested data scrolls */
            overflow-y: auto;
        }

    #tabs-RMU {
        height: 100%;
        overflow: hidden;
    }

        #tabs-RMU .dxbl-tabs-content-panel {
            height: calc(100vh - 170px);
            overflow: hidden;
        }

            #tabs-RMU .dxbl-tabs-content-panel .dxbl-grid {
                height: calc(100vh - 210px);
                overflow: auto;
            }

    .full-page-GridcontainerLeaveRequests {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        height: calc(100vh - 30px);
        max-height: 930px;
        overflow: hidden;
    }

    .LeaveRequestsPage-container {
        flex-grow: 1; /* Allows it to expand and fill remaining space */
        display: flex;
        flex-direction: column;
        height: calc(100vh - 30px); /* Full page minus header */
        max-height: 930px; /* Full page minus header */
        overflow: hidden;
        background-color: transparent !important;
    }

        .LeaveRequestsPage-container .dxbl-scroll-viewer-content {
            overflow: auto;
            height: calc(100vh - 85px);
            max-height: 875px; /* Adjust height if needed */
            scroll-behavior: smooth;
        }

        /* Keep the headers fixed while allowing the body to scroll */
        .LeaveRequestsPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header background doesn't overlap */
        }


    .full-page-GridcontainerManageLocation {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        height: calc(100vh - 30px);
        max-height: 930px;
        overflow: hidden;
    }

    .ManageLocationPage-container {
        flex-grow: 1; /* Allows it to expand and fill remaining space */
        display: flex;
        flex-direction: column;
        height: calc(100vh - 30px); /* Full page minus header */
        max-height: 920px; /* Full page minus header */
        overflow: hidden;
        background-color: transparent !important;
    }

        .ManageLocationPage-container .no-border-grid-WithHeaderBorder .dxbl-scroll-viewer-content {
            overflow: auto;
            height: calc(100vh - 155px);
            max-height: 795px; /* Adjust height if needed */
        }

        .ManageLocationPage-container .dxbl-grid-detail-cell {
            padding-top: 0 !important;
            max-height: 470px;
            overflow: auto;
            height: auto;
        }

            .ManageLocationPage-container .dxbl-grid-detail-cell .dxbl-scroll-viewer-content {
                max-height: 400px;
                height: auto;
            }

        /* Keep the headers fixed while allowing the body to scroll */
        .ManageLocationPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header background doesn't overlap */
        }


    .dxbl-rollers-container {
        background-color: white !important;
    }

    .dxbl-rollers-footer {
        background-color: white !important;
    }

    .dxbl-roller-item {
        background-color: white !important;
    }

    .full-page-GridcontainerCLientAdmin {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        height: calc(100vh - 70px);
        max-height: 900px;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .ClientAdminPageSubs-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        height: calc(100vh - 250px);
        max-height: 700px;
        border-radius: 15px;
        overflow: hidden; /* Hide the scrolling on the container */
    }

        .ClientAdminPageSubs-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header appears fixed */
        }

        .ClientAdminPageSubs-container .no-border-grid-WithHeaderBorder .dxbl-scroll-viewer-content {
            overflow: auto;
            max-height: 700px;
            height: calc(100vh - 250px);
        }


        /* Scroll the grid body without affecting the headers */
        .ClientAdminPageSubs-container .dxbl-scroll-viewer-content {
            overflow: auto;
            max-height: 700px; /* Ensure scrolling is applied */
        }

    .ClientAdminPageAdministrators-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        height: calc(100vh - 240px);
        max-height: 730px;
        overflow: hidden;
    }

    .ClientAdminPage-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        height: calc(100vh - 230px);
        max-height: 720px;
        overflow: hidden; /* Hide the scrolling on the container */
    }

        .ClientAdminPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header appears fixed */
        }

        .ClientAdminPage-container .no-border-grid-WithHeaderBorder .dxbl-scroll-viewer-content {
            overflow: auto;
            max-height: 675px;
            height: calc(100vh - 300px);
        }


        /* Scroll the grid body without affecting the headers */
        .ClientAdminPage-container .dxbl-scroll-viewer-content {
            overflow: auto;
            max-height: 625px; /* Ensure scrolling is applied */
        }

        /* Ensure the scroll viewer allows horizontal scrolling if necessary */
        .ClientAdminPage-container .dxbl-scroll-viewer {
            overflow: auto;
        }

        /* Prevent side overflow issues */
        .ClientAdminPage-container .dxbl-scroll-viewer-hor-scroll-bar {
            display: none;
        }

        .ClientAdminPage-container .dxbl-grid-detail-cell {
            overflow: hidden; /* Prevent unnecessary overflow */
            padding-top: 0 !important;
        }

        .ClientAdminPage-container #tabs-locations {
            max-height: 400px;
        }
        /* Prevent parent row from disappearing when nested grid expands */
        .ClientAdminPage-container .dxbl-grid-detail-cell .dxbl-scroll-viewer-content {
            max-height: 350px; /* This controls nested table scroll */
            overflow-y: auto;
            height: auto;
        }

        .ClientAdminPage-container #tabs-locations .dxbl-grid-detail-cell #tabs-locations {
            max-height: 300px;
        }

            .ClientAdminPage-container #tabs-locations .dxbl-grid-detail-cell #tabs-locations .dxbl-scroll-viewer-content {
                max-height: 250px;
                overflow-y: auto;
            }

        /* Ensure the nested grid inside an expanded row has its own scrollable section */
        .ClientAdminPage-container .dxbl-grid-detail-cell .dxbl-grid {
            max-height: 450px; /* Ensure only the nested data scrolls */
            overflow-y: auto;
        }


    .box-shadow-light {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .img-SSO {
        height: 1rem;
        padding-right: 10px;
        vertical-align: middle;
        margin-bottom: 5px;
    }

    .qr-code {
        width: 200px;
        height: 200px;
    }

    .NotificationMethodsSaveButton {
        margin-right: 5px;
        width: 80px;
    }

    .NotificationMethodsCloseButton {
        width: 80px;
    }

    .padding-5 {
        padding: 5px;
    }

    .MainFooterText {
        text-align: center;
        padding-top: 5px;
        font-size: 13px;
        margin: 1px;
    }

    .FooterLogo {
        height: 1.5em;
        vertical-align: middle;
    }

    .Sidebar-card {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        height: 100vh;
        background-color: var(--main-colorPurple) !important;
        border-radius: 15px;
    }

    .Width-238 {
        width: 238px;
    }

    .Size-72 {
        width: 72px;
        height: 72px;
    }

    .pb-10 {
        padding-bottom: 10px;
    }

    .gap-20 {
        gap: 20px;
    }

    .HomeProfileImageBorderRing {
        width: 75px;
        height: 75px;
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 0 0 5px rgb(40, 175, 207);
    }

    .HomeUsersNamePurple {
        color: var(--main-colorPurple); /* Uses existing site-wide purple */
        font-size: 35px;
        font-weight: bold;
    }

    .DashboardCardFlexItem {
        flex-basis: 48%;
        margin: 10px;
        border-radius: 15px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .gap-50 {
        gap: 50px;
    }

    .Width-18rem {
        width: 18rem;
    }

    .padding-left-5 {
        padding-left: 5px;
    }

    .mr-10px {
        margin-right: 10px;
    }

    .CardFlexItem {
        flex-basis: 48%;
        margin: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .CalendarCardFlexItem {
        flex-basis: 48%;
        margin: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        flex: 1; /* Expands to fit remaining space inside parent */
        min-height: 0; /* Prevents unnecessary height expansion */
        max-height: 100%; /* Prevents overflow */
        overflow: auto;
    }

    .mt-14px {
        margin-top: 14px;
    }

    .left-29 {
        left: 29%;
    }

    @media (max-width: 1650px) {
        .LeaveRequestsPage-container .remove-left-29 {
            left: 0 !important;
        }

            .LeaveRequestsPage-container .remove-left-29 div {
                pointer-events: auto; /* Ensures interactions are allowed */
            }

            .LeaveRequestsPage-container .remove-left-29 .overflow-hidden {
                overflow: visible !important; /* Ensures interactions are allowed */
            }
    }

    @media (max-width: 1400px) {
        /* Hide profile image completely */
        .LeaveRequestsPage-container .profile-img-container {
            display: none !important;
        }
    }

    @media (max-width: 1650px) {
        .ManagingRegStaffPage-container .remove-left-29 {
            left: 0 !important;
        }

            .ManagingRegStaffPage-container .remove-left-29 div {
                pointer-events: auto; /* Ensures interactions are allowed */
            }

            .ManagingRegStaffPage-container .remove-left-29 .overflow-hidden {
                overflow: visible !important; /* Ensures interactions are allowed */
            }
    }

    @media (max-width: 1400px) {
        /* Hide profile image completely */
        .ManagingRegStaffPage-container .profile-img-container {
            display: none !important;
        }
    }

    @media (max-width: 1650px) {
        .ManageLocationPage-container .remove-left-29 {
            left: 0 !important;
        }

            .ManageLocationPage-container .remove-left-29 div {
                pointer-events: auto; /* Ensures interactions are allowed */
            }

            .ManageLocationPage-container .remove-left-29 .overflow-hidden {
                overflow: visible !important; /* Ensures interactions are allowed */
            }
    }

    @media (max-width: 1400px) {
        /* Hide profile image completely */
        .ManageLocationPage-container .profile-img-container {
            display: none !important;
        }
    }

    .padding-bottom-5 {
        padding-bottom: 5px;
    }

    .padding-10 {
        padding: 10px;
    }

    .padding-7 {
        padding: 7px;
    }

    .Attachment-custom-drop-zone {
        padding: 0 !important;
        border-style: dashed;
        border-width: 2px !important;
        height: 230px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: rgba(183, 183, 183, 0.1);
    }

        .Attachment-custom-drop-zone.custom-drop-zone-hover {
            border-style: solid;
        }

        .Attachment-custom-drop-zone svg {
            width: 42px;
            height: 42px;
        }

        .Attachment-custom-drop-zone > *:not(#overviewDemoSelectButton) {
            pointer-events: none;
        }

    .Attachment-drop-file-icon {
        align-content: center;
        color: gray;
        font-size: xx-large;
        background-size: contain;
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
        background-position: center center;
        background-color: #ADB5BD;
        width: 48px;
        height: 48px;
        -webkit-mask-image: url("../images/icons/drop-file.svg");
        mask-image: url("../images/icons/drop-file.svg");
    }

    .Attachment-drop-file-label {
        font-weight: 500;
        font-size: 1rem;
    }

    .Attachment-upload-container, .Attachment-upload-container > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .white-space-pre-wrap {
        white-space: pre-wrap;
    }

    .Comments-comment-wrapper {
        max-height: 160px;
        overflow-y: auto;
        padding: 10px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .Comments-comment-section {
        display: flex;
        flex-direction: column;
    }

    .Comments-comment-input {
        display: flex;
        flex-direction: column;
    }

    .Comments-message-container {
        position: relative;
        display: flex;
        align-items: flex-start;
        margin-bottom: 10px;
    }

        .Comments-message-container.Comments-message-staff {
            flex-direction: row;
        }

        .Comments-message-container.message-substitute {
            flex-direction: row-reverse;
        }

        .Comments-message-container.Comments-NotCurrentUser {
            flex-direction: row;
        }

        .Comments-message-container.Comments-CurrentUser {
            flex-direction: row-reverse;
        }

    .profile-and-timestamp {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 10px;
    }

    .Comments-message-bubble {
        max-width: 70%;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        background-color: #f1f1f1;
    }

    .Comments-message-container.Comments-NotCurrentUser .Comments-message-bubble {
        background-color: #e0f7fa; /* Light blue */
    }

    .Comments-message-container.Comments-CurrentUser .Comments-message-bubble {
        background-color: #ffe0b2; /* Light orange */
    }

    .Comments-message-container.Comments-message-staff .Comments-message-bubble {
        background-color: #e0f7fa; /* Light blue */
    }

    .Comments-message-container.message-substitute .Comments-message-bubble {
        background-color: #ffe0b2; /* Light orange */
    }

    .Comments-message-timestamp {
        font-size: 12px;
        text-align: center;
        color: #888;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .Comments-message-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .Comments-delete-btn {
        display: inline-block;
        background-color: transparent;
        border: none;
        font-size: 18px;
        color: #888;
        cursor: pointer;
        margin: 5px 2px;
    }

    .post-button-same-height {
        min-height: 30px; /* Adjust if you need more or less */
    }

    .pt-10 {
        padding-top: 10px;
    }

    .min-height-125 {
        min-height: 125px;
    }

    .padding-5-vertical-right {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 5px;
    }

    .padding-left-20 {
        padding-left: 20px;
    }

    .highlighted-item > td {
        background-color: var(--bs-danger-border-subtle)
    }

    .ConfirmationPopup-confirm-dialog-buttons {
        display: flex;
    }

        .ConfirmationPopup-confirm-dialog-buttons .dxbl-btn:nth-of-type(1) {
            margin-left: auto;
        }

        .ConfirmationPopup-confirm-dialog-buttons .dxbl-btn:nth-of-type(2) {
            margin-left: 0.5rem;
        }

    .gap-10 {
        gap: 10px;
    }

    .height-70vh {
        height: 70vh;
    }

    .mt-10 {
        margin-top: 10px;
    }

    .InformationPopup-information-dialog-buttons {
        display: flex;
        justify-content: flex-end;
        margin-top: 1rem;
    }

    .min-height-250 {
        min-height: 250px;
    }

    .LoadingLogoSize {
        height: 25px;
        width: 33.75px;
        margin-right: 5px;
    }

    .padding-left-3 {
        padding-left: 3px;
    }

    .TimeSpanEdit-time-selector {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        max-width: 350px;
    }

    .TimeSpanEdit-time-inputs {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .TimeSpanEdit-input-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .TimeSpanEdit-input-group .label {
            font-size: 14px;
            font-weight: 600;
            margin-top: 5px;
            text-align: center;
        }

    .padding-right-3 {
        padding-right: 3px;
    }

    .text-green {
        color: green !important;
    }

        .text-green span {
            color: green !important;
        }

    .text-red {
        color: red !important;
    }

        .text-red span {
            color: red !important;
        }

    .PurpleColorFromLogo span {
        color: var(--main-colorPurple) !important;
    }

    .NotificationMethodsGreen-icon {
        padding-left: 5px;
        color: green;
    }

    .NotificationMethodsRed-icon {
        padding-left: 5px;
        color: red;
    }

    .tabs-width98 {
        width: 98%;
    }

    .UserSelectionPopup-custom-button {
        width: 100%;
        margin-bottom: 5px;
    }

    .popup-users .dx-formlayout {
        max-width: 100%;
    }

    .popup-users .dx-formlayout-item {
        padding: 10px;
    }

    .popup-users .dx-textbox {
        width: 100%;
    }

    .popup-users .dx-button {
        margin: 5px;
    }

    .ClientOrgPopup-form-group {
        margin-bottom: 1rem;
    }

    .ClientOrgPopup-form-row {
        display: flex;
        flex-wrap: wrap;
    }

        .ClientOrgPopup-form-row .ClientOrgPopup-form-group {
            flex: 1;
            min-width: 200px;
        }

    .ClientOrgPopup-fieldset {
        border: 1px solid #ddd;
        padding: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 4px;
    }

    .ClientOrgPopup-legend {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
        width: auto;
        padding: 0 10px;
        border-bottom: none;
    }

    .client-org-popup .dx-formlayout {
        max-width: 100%;
    }

    .client-org-popup .dx-formlayout-item {
        padding: 10px;
    }

    .client-org-popup .dx-textbox, .client-org-popup .dx-button {
        width: 100%;
    }

    .demo-messages .messages-group {
        width: 80%;
        margin: 0 auto;
        font-family: Arial, sans-serif;
        font-size: 14px;
        color: #333;
    }

    .demo-messages h1 {
        font-size: 20px;
    }

    .demo-messages p, .demo-messages li, .demo-messages td, .demo-messages th {
        font-family: Arial, sans-serif;
        font-size: 14px;
        color: #333;
    }

    .demo-messages ul {
        list-style-type: none;
        padding: 0;
    }

        .demo-messages ul li {
            margin-bottom: 1px;
        }

    .demo-messages table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 15px;
    }

        .demo-messages table th, .demo-messages table td {
            border: 1px solid #ccc;
            padding: 8px;
        }

        .demo-messages table th {
            background-color: #f0f0f0;
            text-align: left;
        }

    .ManagingSubsPage-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        margin: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 120px);
        max-height: 870px;
        border-radius: 15px;
        overflow: hidden; /* Hide the scrolling on the container */
    }

        /* Ensure that only the grid content (body) scrolls */
        .ManagingSubsPage-container .dxbl-scroll-viewer-content {
            overflow: auto;
            height: calc(100vh - 120px);
            max-height: 860px; /* Adjust height if needed */
        }

        /* Keep the headers fixed while allowing the body to scroll */
        .ManagingSubsPage-container .dxbl-grid-table thead {
            position: sticky;
            top: 0;
            z-index: 2;
            background: white; /* Ensure header background doesn't overlap */
        }

    .full-size-Vert-middle {
        height: 100%;
        width: 100%;
        vertical-align: middle;
    }


    .full-page-DashboardContainer {
        display: flex;
        flex-direction: column;
    }

    .full-page-DashboardContainer-large-screen {
        height: calc(100vh - 40px);
        max-height: 900px;
    }

    .full-page-DashboardContainer-small-screen-with-charts {
        height: calc(100vh + 800px);
        min-height: 1100px;
    }

    .full-page-DashboardContainer-small-screen-with-charts-submanager {
        height: calc(100vh + 555px);
        min-height: 905px;
        max-height: 1210px;
    }

    .full-page-DashboardContainer-small-screen-no-charts {
        height: calc(100vh - 70px);
        min-height: 500px;
        max-height: calc(100vh - 70px);
    }


    .NotificationMethodsPhoneInput {
        width: 150px;
        margin-left: 0;
    }

    .NotifiationMethodsAddForm .NotifiationMethodsAddPhoneNumberCaption .dxbl-fl-cpt {
        width: 10px !important; /* Each caption adjusts to its content */
        white-space: nowrap; /* Prevents wrapping */
        text-align: left; /* Ensures it aligns properly */
    }

    .NotifiationMethodsAddForm .dxbl-form-layout-item {
        display: flex !important; /* Use flexbox for alignment */
        align-items: center !important; /* Ensures labels and input align properly */
        gap: 8px; /* Adjust spacing between label and input */
        max-width: 100%; /* Prevents overflow */
    }

    .img-icon {
        height: 15px;
        width: 15px;
    }

    .img-icon-Addbutton {
        width: 70px;
    }

    .Icon-label {
        margin-left: 4px;
        margin-right: 2px;
    }

    .dxbl-btn-link {
        --dxbl-btn-padding-x: 0.3rem !important;
        --dxbl-btn-padding-y: 0.3rem !important;
    }

    .full-page-CalendarContainer {
        height: calc(100vh - 35px);
        max-height: 900px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    #PrearrangeSubInLeave .dxbl-text-edit {
        width: 90%;
    }

    /*removes footer from leave request editor, buttons are not in footer, so footer was empty line*/
    .dxbl-modal:has(#LeaveRequestEditor) .dxbl-modal-footer {
        padding: 0 !important;
        display: none !important;
    }

    .candidateDropDownGrid {
        border-width: 0;
        width: 500px;
    }

    .EditStaffPayrollIcon {
        color: green;
    }

    .Expenditure-textbox {
        min-width: 60px; /* Minimum width */
        max-width: 100px; /* Expands to fit available space */
        width: auto;
        box-sizing: border-box;
        display: block;
        margin: 0px;
        padding-right: 0;
    }

    .expenditure-code-container {
        display: flex;
        align-items: center;
        gap: 30px;
        max-width: 100%;
        justify-content: center;
    }

    .Icon_Container {
        display: flex;
        justify-content: center;
        gap: 0px;
    }

    .icon-placeholder {
        visibility: hidden;
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
        pointer-events: none;
    }

    .icon-slot {
        min-width: 26.59px;
        width: 26.59px !important;
        height: 31.59px !important; /* match your button height */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-group-caption {
        width: 100%;
        display: flex;
        align-items: center; /* Aligns items vertically */
        justify-content: flex-start; /* Keeps text on left, buttons after */
        font-size: 16px;
        font-weight: 500; /* Semi-bold */
        padding: 5px 10px;
        background-color: #f8f9fa; /* Light background */
        border-bottom: 1px solid #ddd;
        margin-bottom: 5px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .custom-group-caption-text {
        margin-right: 10px; /* Space before the separator */
    }

    .custom-group-separator {
        font-weight: 600;
        margin-right: 25px; /* Space after the separator */
    }

    .custom-group-button-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px; /* Space between buttons */
        align-items: center;
    }

    #LeaveRequestEditor .dxbl-group-header {
        display: none;
    }

    .dxbl-modal:has(#LeaveRequestEditor) .dxbl-modal-header {
        display: none !important;
    }

    .custom-group-caption-Minimal {
        width: 100%;
        display: flex;
        align-items: center; /* Aligns items vertically */
        justify-content: flex-start; /* Keeps text on left, buttons after */
        font-size: 18px;
        font-weight: 600; /* Semi-bold */
        padding: 5px 10px;
        padding-left: 25px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .custom-button-blue {
        background-color: rgb(234, 248, 251) !important; /* Light blue background */
        border: 1px solid rgb(159, 219, 233) !important; /* Blue border */
        color: black !important; /* Text color */
        font-size: 15px !important; /* Font size */
        display: flex !important; /* Align icon and text */
        align-items: center !important; /* Center items */
        border-radius: 5px !important; /* Rounded corners */
        cursor: pointer !important; /* Pointer cursor */
        font-weight: 500 !important;
        height: 30px !important;
        align-items: center !important;
        box-sizing: border-box !important;
        transition: all 0.15s ease-in-out !important;
    }

        .custom-button-blue i {
            color: rgb(40, 175, 207); /* Icon color */
            font-size: 22px; /* Icon size */
            padding-left: 10px;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        .custom-button-blue .dxbl-btn {
            padding: 0 !important;
            text-decoration: none !important;
            height: 100%;
            padding-right: 10px !important;
        }

            .custom-button-blue .dxbl-btn span {
                padding: 0 !important;
                text-decoration: none !important;
                font-weight: 500;
                padding-right: 10px;
            }

    .custom-button-blueNotPlus {
        background-color: rgb(234, 248, 251) !important; /* Light blue background */
        border: 1px solid rgb(159, 219, 233) !important; /* Blue border */
        color: black !important; /* Text color */
        font-size: 15px !important; /* Font size */
        display: flex !important; /* Align icon and text */
        align-items: center !important; /* Center items */
        border-radius: 5px !important; /* Rounded corners */
        cursor: pointer !important; /* Pointer cursor */
        font-weight: 500 !important;
        height: 30px !important;
        align-items: center !important;
        box-sizing: border-box !important;
        transition: all 0.15s ease-in-out !important;
    }

        .custom-button-blueNotPlus i {
            color: rgb(40, 175, 207); /* Icon color */
            font-size: 16px; /* Icon size */
            padding-left: 10px;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        .custom-button-blueNotPlus .dxbl-btn {
            padding: 0 !important;
            text-decoration: none !important;
            height: 100%;
            padding-right: 10px !important;
        }

            .custom-button-blueNotPlus .dxbl-btn span {
                padding: 0 !important;
                text-decoration: none !important;
                font-weight: 500;
                padding-right: 10px;
            }

        .custom-button-blue:active,
        .custom-button-blueNotPlus:active,
        #CommentsButtons:active {
            background-color: rgb(214, 232, 236) !important; /* Slightly darker blue */
            border-color: rgb(139, 199, 213) !important; /* Slightly darker border */
            transform: scale(0.98); /* Optional: shrink effect to simulate pressed state */
        }

    /*This is for the Post and upload button on comments/attachments*/
    #CommentsButtons i {
        color: rgb(40, 175, 207) !important; /* Icon color */
        font-size: 18px !important; /* Icon size */
        padding-left: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    /*This is for the upload button uses dxbutton*/
    #CommentsButtons .dxbl-btn-icon {
        color: rgb(40, 175, 207) !important; /* Icon color */
        font-size: 18px !important; /* Icon size */
        padding-left: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    /*This is for the upload button uses dxbutton*/
    #CommentsButtons .dxbl-btn-caption {
        padding: 0 !important;
        text-decoration: none !important;
        font-weight: 500;
        padding-right: 10px !important;
        font-size: 13px;
        margin-left: 0;
    }

    /*Removes week number from calendar(it was kind of confusing and silly)*/
    .dxbl-calendar-week-number {
        display: none;
    }

    /*Removes space in days of the week that was for week number*/
    .dxbl-calendar-days-of-week td {
        display: none;
    }

    /*changes calendar 'Today' button to be the blue*/
    .dxbl-calendar-footer .dxbl-btn {
        background-color: rgb(234, 248, 251) !important; /* Light blue background */
        border: 1px solid rgb(159, 219, 233) !important;
    }

    #LeaveRequestEditor .dxbl-fl-cpt {
        display: inline-block;
        min-width: 130px;
        text-align: left;
    }

    #LeaveRequestEditorOpeningInfo .dxbl-fl-cpt {
        display: inline-block;
        min-width: 140px;
        text-align: left;
    }

    #LeaveRequestEditorTimeSlots .dxbl-image {
        color: var(--main-colorPurple) !important;
    }

    #LeaveRequestEditor .dxbl-fl-group {
        margin-bottom: 0;
    }

    .mt-0important {
        margin-top: 0 !important;
    }

    .dxbl-modal:has(#LeaveRequestEditor) .dxbl-modal-body {
        padding-bottom: 5px !important;
    }

    .dxbl-chart-legend-text {
        font-size: 12px;
    }

    .Min-width730 {
        min-width: 730px !important;
    }

    .dxbl-modal:has(.Min-width730) .dxbl-modal-content {
        min-width: 800px !important;
    }

    .dxbl-grid-select-all-split-btn-container .dxbl-btn-split-dropdown {
        display: none !important;
    }

    .dxbl-grid-select-all-split-btn-container {
        justify-content: center;
        width: 100% !important;
        padding-right: 19px;
    }

    .OpeningEditorResponsive-popup {
        max-width: 70vw;
    }

    @media (max-width: 768px) {
        .OpeningEditorResponsive-popup {
            width: 96vw !important;
            max-width: 96vw !important;
            margin: 0 !important;
            left: 0 !important;
            right: 0 !important;
            transform: none !important;
            border-radius: 0 !important;
            margin-bottom: 60px !important;
        }

            .OpeningEditorResponsive-popup.dxbl-popup,
            .OpeningEditorResponsive-popup.dxbl-modal-dialog {
                padding: 0 !important;
                margin: 0 auto !important;
                box-sizing: border-box;
                margin-bottom: 60px !important;
            }
    }

    .AssignmentEditorResponsive-popup {
        max-width: 70vw;
    }

    @media (max-width: 768px) {
        .AssignmentEditorResponsive-popup {
            width: 96vw !important;
            max-width: 96vw !important;
            margin: 0 !important;
            left: 0 !important;
            right: 0 !important;
            transform: none !important;
            border-radius: 0 !important;
            margin-bottom: 40px !important;
        }

            .AssignmentEditorResponsive-popup.dxbl-popup,
            .AssignmentEditorResponsive-popup.dxbl-modal-dialog {
                padding: 0 !important;
                margin: 0 auto !important;
                box-sizing: border-box;
                margin-bottom: 40px !important;
            }
    }

    .dxbl-modal:has(#OpeningEditor) .dxbl-modal-body {
        padding-bottom: 5px !important;
    }

    #OpeningEditor .dxbl-group-header {
        display: none;
    }

    .dxbl-modal:has(#AssignmentEditor) .dxbl-modal-body {
        padding-bottom: 5px !important;
    }

    #AssignmentEditor .dxbl-group-header {
        display: none;
    }
    /*Makes the opening editor toolbar stick at top*/
    .toolbar-sticky-container {
        position: sticky;
        top: 0; /* You can adjust this value if you have a header or fixed nav */
        z-index: 1000; /* Keep it above the grid, form inputs, etc. */
    }

    @media (max-width: 768px) {
        .toolbar-sticky-container {
            padding-left: 30px;
            padding-top: 20px;
            padding-bottom: 8px;
            background-color: white;
        }
    }

    .no-border-grid-XSHeaderRemoved td {
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

        .no-border-grid-XSHeaderRemoved td:not(:has(#AssignmentDetailRowTemp))
        :not(:has(#OpeningDetailRowTemp))
        :not(:has(#AssignmentAttendanceDetailRowTemp))
        :not(:has(#NotificationMethodDetailRowTemplate)) {
            display: none !important;
        }

    .no-border-grid-XSHeaderRemoved .dxbl-grid-detail-cell {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 15px !important;
        padding-bottom: 0 !important;
    }

    .no-border-grid-XSHeaderRemoved {
        border-left: none !important; /* Remove the left border */
        border-right: none !important; /* Remove the right border */
        overflow-y: auto;
        width: 100%;
    }

        .no-border-grid-XSHeaderRemoved .dxbl-grid-header-row {
            display: none !important;
        }

        .no-border-grid-XSHeaderRemoved .dxbl-grid-filter-row {
            /*background-color: white !important;*/ /* Preserve background color */
            /*border: 0.5px solid #ccc !important;*/ /* Add border to the entire row */
            /*border-collapse: collapse;
    border-spacing: 0px;*/
            display: none !important;
        }

            .no-border-grid-XSHeaderRemoved .dxbl-grid-filter-row td {
                display: none !important;
            }
                /* Remove the left border for the first cell in the filter row */
                .no-border-grid-XSHeaderRemoved .dxbl-grid-filter-row td:first-child {
                    border-left: none !important;
                }
                /* Remove the right border for the last cell in the filter row */
                .no-border-grid-XSHeaderRemoved .dxbl-grid-filter-row td:last-child {
                    border-right: none !important;
                }


    @media (max-width: 768px) {
        .AssignmentAttendanceGrid thead {
            display: none !important;
        }

        .NotificationMethodGrid thead,
        .NotificationMethodGrid .dxbl-grid-header-row,
        .NotificationMethodGrid .dxbl-grid-filter-row {
            display: none !important;
        }

        .NotificationMethodGrid td {
            display: none !important;
        }

            /* Show only the detail cell <td> */
            .NotificationMethodGrid td.dxbl-grid-detail-cell {
                display: table-cell !important; /* Restore visibility */
                width: 100% !important;
                padding: 0 !important;
            }

                /* Ensure internal detail content fills the <td> */
                .NotificationMethodGrid td.dxbl-grid-detail-cell > div,
                .NotificationMethodGrid td.dxbl-grid-detail-cell .w-100 {
                    width: 100% !important;
                }

                /* Optional: remove left/right spacing for full bleed */
                .NotificationMethodGrid td.dxbl-grid-detail-cell .p-2 {
                    padding-left: 0 !important;
                    padding-right: 0 !important;
                }

            /* Remove extra spacing on empty faux cells like .dxbl-grid-empty-cell (if present) */
            .NotificationMethodGrid td.dxbl-grid-empty-cell {
                display: none !important;
            }
    }

    .expenditure-code-container {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .expenditure-code-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 5px;
    }

    .expenditure-code-item {
        flex: 1 1 120px; /* grow, shrink, base width */
        min-width: 100px;
        max-width: 200px;
        display: flex;
        flex-direction: column;
    }

    /*Targets the leave request editor popup, margin-bottom is needed so the save/close does not go beyond the footer,
    may need to increase/decrease and will probably need something like this for other popups (editor popup above footer)
*/

    @media (max-width: 768px) {
        .editPopup:has(#LeaveRequestEditor) {
            margin-bottom: 40px !important;
            left: 0 !important;
            margin-left: 5px;
            margin-top: 5px;
            margin-right: 5px;
        }
    }

    .nav-link {
        cursor: pointer;
    }

    .short-border-top {
        border-top: 1px solid white;
        width: 80%;
        margin: 0 auto;
    }

    .dxbl-toolbar-item:has(.custom-button-blue) {
        margin-right: 4px;
    }

    #MappingRuleTimesheetValues .dxbl-fl-cpt {
        width: auto !important;
    }

    #MappingRuleTimesheetValues .dxbl-fl-ctrl {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
    }

    #MappingRuleTimesheetValues {
        display: flex;
    }

        #MappingRuleTimesheetValues dxbl-form-layout-item {
            flex: auto;
        }

    #tabs-Dashboard .dxbl-tabs-tablist {
        margin-left: 11px;
        margin-right: 11px;
    }

    .ForrestGreenColor {
        color: forestgreen;
    }

    @media (max-width: 768px) {
        .px-4 {
            padding-left: 0 !important;
        }
    }

    .mx-custom {
        margin-left: 2.5rem; /* Between 1.5rem (mx-4, 24px) and 3rem (mx-5, 48px) */
        margin-right: 2.5rem;
    }

    @media (max-width: 768px) {
        .mx-custom {
            margin-left: 0;
            margin-right: 0;
        }

        #OpeningEditor {
            margin-bottom: 40px !important;
        }
    }

    @media (max-width: 768px) {
        .dxbl-grid-detail-cell {
            display: block !important;
            width: 78vw;
            max-width: 78vw !important;
            min-width: 0 !important;
            box-sizing: border-box !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin: 0 !important;
            overflow-x: hidden !important;
        }
    }

    .button-faded {
        opacity: 0.3 !important;
        transition: opacity 0.3s ease !important;
        pointer-events: none; /* Prevents interaction */
    }

    .button-normal {
        opacity: 1 !important;
        transition: opacity 0.3s ease !important;
    }

    .Width140 {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
    }

    .tab-title-bold {
        font-weight: bold;
        transition: font-weight 0.15s ease-in;
    }

    .TabCountBulb {
        background: linear-gradient(180deg, #58c7e1 0%, #1e7e97 100%);
        color: white;
        font-weight: bold;
        font-size: 0.7rem;
        line-height: 1;
        padding: 2px 6px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        min-height: 18px;
        margin-left: 6px;
        position: relative;
        top: -8px;
        white-space: nowrap;
        box-sizing: border-box;
        /*    border: 1px solid rgba(0, 0, 0, 0.2);*/
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.2);
        text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
        position: relative;
        overflow: hidden;
    }

        .TabCountBulb::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            pointer-events: none;
        }

    .file-drop-zone {
        height: 60px;
        border: 1px dashed #ccc;
        border-radius: 8px;
        padding: 1rem;
        background-color: #f9f9f9;
        text-align: center;
        font-size: 1rem;
        color: #888;
        transition: background-color 0.3s, border-color 0.3s;
        cursor: pointer;
    }

    .file-drop-zone-hover {
        background-color: #e0f3ff;
        border-color: #007acc;
        color: #000;
    }

    .InviteUploadGrid-wrapper {
        max-height: 280px;
        overflow-y: auto;
    }

    .Size-24 {
        width: 24px !important;
        height: 24px !important;
    }

    .cell-center {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }



    /* Chart Bars */
    .dxc-markers rect {
        rx: 4px;
        ry: 4px;
        stroke: #ffffff;
        stroke-width: 1;
        fill-opacity: 1;
        transition: fill-opacity 0.3s ease-out, transform 0.3s ease-out;
        transform-origin: left center;
        animation: chartGrow 0.5s ease-out;
    }


        /* Hover Effect */
        .dxc-markers rect:hover {
            fill-opacity: 1;
            filter: brightness(1.05);
            cursor: pointer;
        }

    /* Axis Gridlines */
    .dxc-val-grid path,
    .dxc-arg-grid path {
        stroke: #a3a3a3;
        stroke-width: 1;
        stroke-dasharray: 2 2;
    }

    /* Axis Lines */
    .dxc-val-line path,
    .dxc-arg-line path {
        stroke: #999;
        stroke-width: 1;
    }

    /* Axis Labels */
    /*.dxc-arg-elements text,
.dxc-val-elements text {
    font-size: 12px;
    fill: #333;
    font-family: "Segoe UI", sans-serif;
}*/

    /* Chart Title */
    .dxc-title text {
        font-size: 1.25rem;
        font-weight: bold;
        fill: #212529;
    }

    /* Chart Subtitle */
    .dxc-subtitle text {
        font-size: 1rem;
        fill: #666;
    }

    /* Legend Text */
    .dxc-legend text {
        fill: #444;
        font-size: 0.75rem;
    }

    .dxbl-chart-legend-icon {
        border-radius: 10px;
    }

    .dxbl-chart-legend-items,
    .dxbl-chart-legend-item,
    .dxbl-chart-legend-text,
    .dxbl-chart-legend-icon {
        cursor: default;
    }

    .disabled-group {
        opacity: 0.25;
        user-select: none;
    }

        .disabled-group input,
        .disabled-group textarea,
        .disabled-group select,
        .disabled-group button,
        .disabled-group .dxbl-control {
            pointer-events: none;
        }

    #OpeningDetailsEditor .dxbl-fl-cpt {
        display: inline-block;
        min-width: 140px;
        text-align: left;
    }

    .PurpleBorder {
        border: 1px solid var(--main-colorPurple) !important;
    }

    .nav-link {
        transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
        border-radius: 5px;
    }

    .nav-item:not(.active) > .nav-link:hover {
        background-color: #e9ecef;
        color: var(--main-colorBlue);
        text-decoration: none;
    }

    .nav-item.active {
        border: 1px solid var(--main-colorBlue) !important;
        text-decoration: none;
        border-radius: 5px;
    }

        .nav-item.active > .nav-link {
            pointer-events: none; /* Prevent clicking */
            cursor: default;
        }

    input:not([readonly]):not(:disabled):hover,
    .dxbl-text-edit:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    .dxbl-input-editor:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    .dxbl-date-edit:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    .dxbl-date-time-edit:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    .dxbl-dropdown-box:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    .dxbl-spinedit:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    .dxbl-quill-container:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    .dxbl-memo-editor:not(.dxbl-readonly):not(.dxbl-disabled):hover,
    button:not(:disabled):not([readonly]):not(.disabled):not(.toggle-password):hover:not(:has(.bi-box-arrow-left)):not(:has(svg)),
    .IconButtonSize:hover,
    .highlight-hover:hover {
        border-color: var(--main-colorBlue);
        box-shadow: 0 0 0 0.1rem rgba(52, 152, 219, 0.15);
    }

    th.dxbl-grid-selection-cell .dxbl-btn:hover,
    th.dxbl-grid-selection-cell button:hover {
        border-color: initial !important;
        box-shadow: none !important;
    }

    button:not(.toggle-password):active {
        transform: scale(0.98);
    }

    .MarginX {
        margin-left: 15%;
        margin-right: 15%;
    }

    @media (max-width: 768px) {
        .MarginX {
            margin-left: 0%;
            margin-right: 0%;
        }
    }

    .LeaveReqTS-scroll-container {
        max-height: 190px;
        overflow-y: auto;
        overflow-x: hidden;
    }

        .LeaveReqTS-scroll-container * {
            box-sizing: border-box;
        }

        .LeaveReqTS-scroll-container .row {
            margin-left: 0;
            margin-right: 0;
        }

    .OpeningTS-scroll-wrapper {
        max-height: 255px;
        height: 255px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 0.5rem;
    }

    @media (max-width: 768px) {
        .OpeningTS-scroll-wrapper {
            max-height: 500px;
            height: auto;
        }

        .LeaveReqTS-scroll-container {
            max-height: 500px;
        }
    }

    @media (max-width: 768px) {
        .layout-footer {
            display: none !important;
        }
    }

    .dxbl-btn.dxbl-btn-link .Icon-label {
        text-decoration: none !important;
    }

    .min-btn-40 {
        min-width: 40px;
        height: 38px;
    }

    .export-only-column {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        max-width: 0 !important;
        overflow: hidden;
        padding: 0 !important;
        margin: 0 !important;
    }

    .IconButtonSize {
        width: 26.59px !important;
        height: 26.59px !important;
        margin-right: 2px !important;
    }

    .no-underline {
        text-decoration: none;
        color: inherit;
    }

    a.highlight-hover:active,
    .highlight-hover:active {
        transform: scale(0.98);
    }

    .highlight-hover {
        transition: transform 0.05s ease-in-out;
    }

    .register-account-title {
        font-weight: 400;
        line-height: 1.2;
        display: flex;
        align-items: center; /* Vertically center the text and the image */
        gap: 0.5rem; /* Space between words and the logo */
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        text-align: center;
        justify-content: center; /* optional: center text+image horizontally */
        font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
        letter-spacing: 0.5px;
    }

        .register-account-title img.FooterLogo {
            height: 1.5em; /* Makes the logo scale with the font size */
            margin: 0 0.3rem;
            vertical-align: middle;
        }

    .create-account-title {
        opacity: 0;
        transform: translateY(10px);
        animation: fadeInSlideUp 0.6s ease forwards;
    }

    @keyframes fadeInSlideUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    hr.BlueToPurpleGradientHr {
        height: 4px;
        border: 1px solid rgb(230, 230, 230);
        background-color: white !important;
        box-shadow: -4px -4px 9px rgba(40, 175, 207, 0.50), 4px 6px 9px var(--main-colorPurple);
        border-radius: 2px;
        opacity: .4;
        margin-bottom: 30px;
    }

    .is-invalid {
        border: 1px solid red;
    }

    .help-popup {
        width: 33vw !important;
        max-width: 100%;
    }

    @media (max-width: 768px) {
        .help-popup {
            width: 85vw !important;
        }
    }

    @media (max-width: 768px) {
        .profile-image-container,
        .profile-container,
        .manage-email-container,
        .change-password-container,
        .external-login-container,
        .Two-Factor-container,
        .user-info-container,
        .manage-location-container,
        .assignment-categories-container,
        .staff-schedule-container {
            margin-bottom: 30px !important;
        }
    }


.sticky-add-button-container {
    position: sticky;
    top: 0;
    z-index: 850;
    background-color: white;
    padding: 0.5rem 1rem;
    padding-bottom: 8px !important;
}

#NotificationMethodGrid{
    overflow:auto;
}
