/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Ensure the html and body allow natural scrolling */
html[b-wrivnt9o0e], body[b-wrivnt9o0e] {
    margin: 0;
    padding: 0;
    overflow-x: auto; /* Allow horizontal scroll when needed */
    overflow-y: auto; /* Allow vertical scroll */
    height: auto; /* Let content determine height */
    min-height: 100vh; /* Minimum height for short content */
    width: 100%;
}

.app-layout[b-wrivnt9o0e] {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Minimum height to fill viewport */
    height: auto; /* Allow growth with content */
    overflow: visible; /* No overflow constraints */
    position: relative; /* For proper stacking context */
    transition: all 0.3s ease-in-out; /* Smooth transitions for resolution changes */
    width: 100%;
    min-width: 100%;
}

.app-bar[b-wrivnt9o0e] {
    position: sticky;
    top: 0;
    color: white;
    padding: 0.5rem 1rem;
    height: 100px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #253e74 0%, #11224a 100%);
    background-blend-mode: darken;
    z-index: 1040;
    overflow: visible;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

    .app-bar[b-wrivnt9o0e]::before,
    .app-bar[b-wrivnt9o0e]::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        background-repeat: no-repeat;
        background-size: auto;
        transition: all 0.3s ease-in-out;
    }

    .app-bar[b-wrivnt9o0e]::before {
        left: 0;
        background-position: right top;
    }

    .app-bar[b-wrivnt9o0e]::after {
        right: 0;
        background-position: left bottom;
    }

.app-title[b-wrivnt9o0e] {
    color: ghostwhite;
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: font-size 0.3s ease-in-out;
}

.banner-content[b-wrivnt9o0e] {
    width: 100%;
    position: relative;
    z-index: 2;
    overflow: visible; /* Allow dropdowns */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}

.user-name[b-wrivnt9o0e] {
    color: ghostwhite !important;
}

.user-info-container[b-wrivnt9o0e] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    margin-left: auto;
    position: relative;
    z-index: 10;
    overflow: visible;
    transition: all 0.3s ease-in-out;
}

.user-right-section[b-wrivnt9o0e] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    position: relative;
    z-index: 10;
    overflow: visible;
    transition: all 0.3s ease-in-out;
}

.user-info-section[b-wrivnt9o0e] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
    position: relative;
    z-index: 10;
    overflow: visible;
    transition: all 0.3s ease-in-out;
}

.menu-button[b-wrivnt9o0e] {
    position: relative;
    z-index: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-right: 1rem;
    transition: all 0.2s ease-in-out;
}

    .menu-button:hover[b-wrivnt9o0e] {
        color: #392DFF;
    }

.app-body[b-wrivnt9o0e] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: visible;
    background-color: transparent !important;
    position: static;
    transition: all 0.3s ease-in-out;
    width: 100%;
    min-width: 100%;
}

.drawer[b-wrivnt9o0e] {
    width: 250px;
    background-color: transparent; /* FIXED: Remove the white background */
    padding: 0; /* Remove default padding to let NavMenu handle it */
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out; /* Smooth drawer transitions */
    transform: translateX(0%);
    z-index: 100; /* Lower than header but higher than content */
    flex-shrink: 0; /* Prevent drawer from shrinking */
    overflow: visible; /* Allow content to flow naturally */
    display: flex;
    flex-direction: column;
}

    /* FIXED: Login state - remove duplicate background, let NavMenu handle it */
    .drawer.login-state[b-wrivnt9o0e] {
        width: 500px !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        transition: none !important;
    }

    /* UPDATED: Closed drawer should have minimum width for icon-only navigation */
    .drawer.closed[b-wrivnt9o0e] {
        width: 60px; /* CHANGED: Set minimum width for icon-only navigation */
        padding: 0;
        transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
        transform: translateX(0); /* CHANGED: Don't hide completely, just shrink */
    }

        /* ADDED: Collapsed navigation styles - moved from NavMenu.razor.css */
        .drawer.closed .nav-menu[b-wrivnt9o0e] {
            padding: 0.25rem 0 !important;
        }

        .drawer.closed .nav-text[b-wrivnt9o0e] {
            display: none !important;
            visibility: hidden !important;
        }

        .drawer.closed .nav-item[b-wrivnt9o0e] {
            margin-bottom: 0.25rem !important;
        }

        .drawer.closed .px-3[b-wrivnt9o0e] {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .drawer.closed .nav-link-flex[b-wrivnt9o0e] {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            padding: 0.75rem 0 !important;
            margin: 0.25rem 0 !important;
            gap: 0 !important;
            position: relative;
            width: 100% !important;
            box-sizing: border-box;
            transition: all 0.3s ease-in-out;
        }

            .drawer.closed .nav-link-flex > span[class*="bi"][b-wrivnt9o0e] {
                font-size: 1.5rem !important;
                margin: 0 !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                transition: font-size 0.3s ease-in-out;
            }

            .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
                display: none !important;
                visibility: hidden !important;
                width: 0 !important;
                height: 0 !important;
                overflow: hidden !important;
            }

            .drawer.closed .nav-link-flex:hover[b-wrivnt9o0e] {
                transform: none !important;
                background-color: rgba(255, 255, 255, 0.15) !important;
            }

.main-content[b-wrivnt9o0e] {
    flex: 1;
    position: static;
    transition: margin-left 0.3s ease-in-out;
    background: linear-gradient(to right, #E6EBEF 75%, #264957 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    width: auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    overflow: visible;
}

    /* NEW: Adjust main content when in login state */
    .main-content.login-shifted[b-wrivnt9o0e] {
        margin-left: 0 !important;
        transition: none !important;
    }

.page-content-wrapper[b-wrivnt9o0e] {
    padding: 1rem;
    min-height: calc(100vh - 140px);
    width: auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    overflow: visible;
    transition: all 0.3s ease-in-out;
}

.nav-body[b-wrivnt9o0e] {
    background-color: transparent; /* FIXED: Let NavMenu handle background */
}

.dark-mode .app-layout[b-wrivnt9o0e] {
    background-color: #121212;
}

.dark-mode .app-bar[b-wrivnt9o0e] {
    background-color: #333;
    color: #f1f1f1;
}

.dark-mode .drawer[b-wrivnt9o0e] {
    background-color: transparent; /* FIXED: Consistent transparent background */
    color: #eee;
}

.dark-mode .main-content[b-wrivnt9o0e] {
    background: linear-gradient(to right, #2a2a2a 75%, #121212 100%) !important;
    background-attachment: fixed;
    background-size: 100% 100%;
    color: #ddd;
}

.dark-mode .app-body[b-wrivnt9o0e] {
    background-color: #121212 !important;
}

/* Animation for smooth transitions */
@keyframes fadeInUp-b-wrivnt9o0e {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-loading-overlay[b-wrivnt9o0e] {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

@keyframes fadeInTooltip-b-wrivnt9o0e {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* --- RESPONSIVE FIXES - PROPERLY ORDERED --- */

/* Small Screens < 1024px */
@media (max-width: 1023px) {
    .drawer.login-state[b-wrivnt9o0e] {
        width: 0px !important;
    }
}

/* CRITICAL FIX: Medium screens 992px to 1199px - PROBLEMATIC RANGE */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .app-bar[b-wrivnt9o0e] {
        width: 100%;
        min-width: 100%;
        max-width: none;
        position: sticky;
        box-sizing: border-box;
    }

    .app-layout[b-wrivnt9o0e] {
        width: 100%;
        min-width: 100%;
        overflow: visible; /* CRITICAL: Allow expansion */
    }

    .main-content[b-wrivnt9o0e] {
        width: auto;
        min-width: 0;
        max-width: none; /* CRITICAL: Remove max-width constraint */
        flex: 1;
        margin-left: 0;
        background: linear-gradient(to right, #E6EBEF 75%, #264957 100%);
        background-attachment: fixed;
    }

    .page-content-wrapper[b-wrivnt9o0e] {
        padding: 0.9rem;
        width: auto;
        min-width: 0;
        max-width: none; /* CRITICAL: Remove max-width constraint */
        box-sizing: border-box;
        overflow: visible;
    }

    .banner-content[b-wrivnt9o0e] {
        width: 100%;
        min-width: 100%;
        max-width: none; /* CRITICAL: Remove max-width constraint */
        position: relative;
        z-index: 2;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease-in-out;
        box-sizing: border-box;
    }

    .drawer[b-wrivnt9o0e] {
        width: 220px;
        position: relative;
        height: auto;
        top: auto;
        left: auto;
        transform: translateX(0);
        background-color: transparent;
    }

        .drawer.closed[b-wrivnt9o0e] {
            width: 55px;
            transform: translateX(0);
        }

        .drawer.login-state[b-wrivnt9o0e] {
            width: 450px;
        }

    .app-title[b-wrivnt9o0e] {
        font-size: 1.4rem;
    }

    /* CRITICAL: Override Bootstrap constraints */
    .container-fluid[b-wrivnt9o0e] {
        max-width: none !important;
        width: auto !important;
        min-width: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .row[b-wrivnt9o0e] {
        margin-left: -15px;
        margin-right: -15px;
        width: auto !important;
        max-width: none !important;
        flex-wrap: wrap;
    }

    .col[b-wrivnt9o0e],
    .col-12[b-wrivnt9o0e],
    .col-6[b-wrivnt9o0e],
    .col-3[b-wrivnt9o0e],
    .col-md-3[b-wrivnt9o0e],
    .col-xl-3[b-wrivnt9o0e] {
        max-width: none !important;
        flex: 1 1 auto;
    }

    /* Tooltip and collapsed nav styles */
    .drawer.closed .nav-link-flex:hover[b-wrivnt9o0e]::after {
        content: attr(title);
        position: absolute;
        left: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.9);
        color: white;
        padding: 0.5rem 0.75rem;
        border-radius: 0.375rem;
        white-space: nowrap;
        z-index: 1000;
        font-size: 0.875rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        opacity: 0;
        animation: fadeInTooltip-b-wrivnt9o0e 0.3s ease-in-out 0.5s forwards;
        pointer-events: none;
    }

    .drawer.closed .nav-link-flex:hover[b-wrivnt9o0e]::before {
        content: '';
        position: absolute;
        left: calc(100% + 4px);
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-right: 6px solid rgba(0, 0, 0, 0.9);
        z-index: 1001;
        opacity: 0;
        animation: fadeInTooltip-b-wrivnt9o0e 0.3s ease-in-out 0.5s forwards;
        pointer-events: none;
    }

    .drawer.closed .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
    }

    .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Large screens >= 1200px (This already works properly) */
@media (min-width: 1200px) {
    .app-layout[b-wrivnt9o0e] {
        transition: all 0.3s ease-in-out;
    }

    .drawer[b-wrivnt9o0e] {
        width: 250px;
        position: relative;
        height: auto;
        top: auto;
        left: auto;
        transform: translateX(0);
        background-color: transparent;
    }

        .drawer.closed[b-wrivnt9o0e] {
            width: 60px;
            transform: translateX(0);
        }

        .drawer.login-state[b-wrivnt9o0e] {
            width: 500px;
        }

    .main-content[b-wrivnt9o0e] {
        margin-left: 0;
        background: linear-gradient(to right, #E6EBEF 75%, #264957 100%);
        background-attachment: fixed;
    }

    .drawer.closed .nav-link-flex:hover[b-wrivnt9o0e]::after {
        content: attr(title);
        position: absolute;
        left: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.9);
        color: white;
        padding: 0.5rem 0.75rem;
        border-radius: 0.375rem;
        white-space: nowrap;
        z-index: 1000;
        font-size: 0.875rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        opacity: 0;
        animation: fadeInTooltip-b-wrivnt9o0e 0.3s ease-in-out 0.5s forwards;
        pointer-events: none;
    }

    .drawer.closed .nav-link-flex:hover[b-wrivnt9o0e]::before {
        content: '';
        position: absolute;
        left: calc(100% + 4px);
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-right: 6px solid rgba(0, 0, 0, 0.9);
        z-index: 1001;
        opacity: 0;
        animation: fadeInTooltip-b-wrivnt9o0e 0.3s ease-in-out 0.5s forwards;
        pointer-events: none;
    }

    .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .container-fluid[b-wrivnt9o0e] {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 1;
    }

    .row[b-wrivnt9o0e] {
        margin-left: -15px;
        margin-right: -15px;
        width: auto !important;
        max-width: none !important;
        flex-wrap: wrap;
    }

    .col[b-wrivnt9o0e],
    .col-12[b-wrivnt9o0e],
    .col-6[b-wrivnt9o0e],
    .col-3[b-wrivnt9o0e],
    .col-md-3[b-wrivnt9o0e],
    .col-xl-3[b-wrivnt9o0e] {
        max-width: none !important;
        flex: 1 1 auto;
    }
}

/* --- Desktop view (>= 992px) - General Desktop Rules --- */
@media (min-width: 992px) {
    .drawer[b-wrivnt9o0e] {
        position: relative;
        height: auto;
        top: auto;
        left: auto;
        transform: translateX(0);
        background-color: transparent;
        transition: all 0.3s ease-in-out;
    }

        .drawer.closed[b-wrivnt9o0e] {
            width: 60px;
            transform: translateX(0);
        }

    .main-content:not(.shifted):not(.login-shifted)[b-wrivnt9o0e] {
        margin-left: 0;
    }

    .drawer.closed .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
    }

    .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* --- Mobile view (< 992px) --- */
@media (max-width: 991.98px) {
    .app-layout[b-wrivnt9o0e] {
        overflow-x: hidden;
        width: 100%;
        transition: all 0.3s ease-in-out;
    }

    .app-body[b-wrivnt9o0e] {
        overflow-x: hidden;
        width: 100%;
        background-color: transparent !important;
        transition: all 0.3s ease-in-out;
    }

    .drawer[b-wrivnt9o0e] {
        transform: translateX(-100%);
        position: fixed;
        height: calc(100vh - 100px);
        top: 100px;
        left: 0;
        z-index: 999;
        background-color: transparent;
        transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
    }

        .drawer.closed[b-wrivnt9o0e] {
            width: 0;
            transform: translateX(-100%);
        }

            .drawer.closed .nav-link-flex:hover[b-wrivnt9o0e]::after,
            .drawer.closed .nav-link-flex:hover[b-wrivnt9o0e]::before {
                display: none !important;
            }

        .drawer.open[b-wrivnt9o0e] {
            transform: translateX(0);
            transition: transform 0.3s ease-in-out;
        }

        .drawer.login-state[b-wrivnt9o0e] {
            width: 100vw;
            transform: translateX(0);
            position: fixed;
            background-color: transparent;
            transition: all 0.3s ease-in-out;
        }

    .main-content[b-wrivnt9o0e] {
        margin-left: 0;
        background: linear-gradient(to right, #E6EBEF 85%, #264957 100%);
        background-attachment: scroll;
        background-size: 100% 100%;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        transition: all 0.3s ease-in-out;
    }

        .main-content.login-shifted[b-wrivnt9o0e] {
            margin-left: 0;
        }

    .page-content-wrapper[b-wrivnt9o0e] {
        padding: 0.75rem;
        min-height: calc(100vh - 120px);
    }

    .user-info-container[b-wrivnt9o0e],
    .user-right-section[b-wrivnt9o0e],
    .user-info-section[b-wrivnt9o0e] {
        align-items: flex-end;
        z-index: 15;
        overflow: visible;
        transition: all 0.3s ease-in-out;
    }

    .user-initials-circle[b-wrivnt9o0e] {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
        transition: all 0.3s ease-in-out;
    }

    .dark-mode .main-content[b-wrivnt9o0e] {
        background: linear-gradient(to right, #2a2a2a 85%, #121212 100%) !important;
        background-attachment: scroll;
        background-size: 100% 100%;
    }

    .drawer.closed .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
    }

    .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Small screens below 768px */
@media (max-width: 767.98px) {
    .app-bar[b-wrivnt9o0e] {
        height: 90px;
        padding: 0.4rem 0.8rem;
    }

    .app-title[b-wrivnt9o0e] {
        font-size: 1.3rem;
    }

    .menu-button[b-wrivnt9o0e] {
        font-size: 1.8rem;
        margin-right: 0.8rem;
    }

    .page-content-wrapper[b-wrivnt9o0e] {
        padding: 0.6rem;
        min-height: calc(100vh - 110px);
    }

    .drawer[b-wrivnt9o0e] {
        top: 90px;
        height: calc(100vh - 90px);
        background-color: transparent;
    }

        .drawer.login-state[b-wrivnt9o0e] {
            width: 100vw;
            max-width: none;
            background-color: transparent;
        }

        .drawer.closed .nav-text[b-wrivnt9o0e] {
            display: none !important;
            visibility: hidden !important;
        }

        .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
            display: none !important;
            visibility: hidden !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
        }
}

/* Small screens below 500px */
@media (max-width: 499.98px) {
    .app-bar[b-wrivnt9o0e]::before,
    .app-bar[b-wrivnt9o0e]::after {
        display: none;
    }

    .app-bar[b-wrivnt9o0e] {
        height: auto;
        min-height: 90px;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease-in-out;
    }

    .banner-content[b-wrivnt9o0e] {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        position: relative;
        transition: all 0.3s ease-in-out;
    }

    .menu-button[b-wrivnt9o0e] {
        font-size: 1.5rem;
        margin: 0;
        position: absolute;
        left: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .user-info-container[b-wrivnt9o0e] {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        transform: translateX(calc(10vw - 1rem));
        transition: all 0.3s ease-in-out;
    }

    .page-content-wrapper[b-wrivnt9o0e] {
        padding: 0.5rem;
        min-height: calc(100vh - 110px);
    }

    .drawer[b-wrivnt9o0e] {
        top: 90px;
        height: calc(100vh - 90px);
        background-color: transparent;
    }

        .drawer.login-state[b-wrivnt9o0e] {
            width: 100vw;
            max-width: none;
            background-color: transparent;
        }

    .main-content[b-wrivnt9o0e] {
        background: linear-gradient(to right, #E6EBEF 95%, #264957 100%);
        background-size: 100% 100%;
    }

    .dark-mode .main-content[b-wrivnt9o0e] {
        background: linear-gradient(to right, #2a2a2a 95%, #121212 100%) !important;
        background-size: 100% 100%;
    }

    .drawer.closed .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
    }

    .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Very small screens */
@media (max-width: 374.98px) {
    .app-bar[b-wrivnt9o0e] {
        min-height: 80px;
        padding: 0.4rem;
        gap: 0.3rem;
    }

    .app-title[b-wrivnt9o0e] {
        font-size: 1.1rem;
    }

    .page-content-wrapper[b-wrivnt9o0e] {
        padding: 0.4rem;
        min-height: calc(100vh - 100px);
    }

    .drawer[b-wrivnt9o0e] {
        top: 80px;
        height: calc(100vh - 80px);
        background-color: transparent;
    }

        .drawer.closed .nav-text[b-wrivnt9o0e] {
            display: none !important;
            visibility: hidden !important;
        }

        .drawer.closed .nav-link-flex .nav-text[b-wrivnt9o0e] {
            display: none !important;
            visibility: hidden !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
        }
}

/* CRITICAL: Ensure smooth transitions for resolution changes */
@media (prefers-reduced-motion: no-preference) {
    .app-layout[b-wrivnt9o0e],
    .app-bar[b-wrivnt9o0e],
    .app-body[b-wrivnt9o0e],
    .drawer[b-wrivnt9o0e],
    .main-content[b-wrivnt9o0e],
    .page-content-wrapper[b-wrivnt9o0e],
    .banner-content[b-wrivnt9o0e],
    .user-info-container[b-wrivnt9o0e],
    .user-right-section[b-wrivnt9o0e],
    .user-info-section[b-wrivnt9o0e] {
        transition: all 0.3s ease-in-out;
    }
}

/* CRITICAL: Ensure no individual components create scroll containers */
.table-responsive[b-wrivnt9o0e],
.card-body[b-wrivnt9o0e],
.modal-body[b-wrivnt9o0e],
.container-fluid[b-wrivnt9o0e],
.container[b-wrivnt9o0e] {
    overflow: visible !important; /* Override Bootstrap's overflow settings */
}

.container-fluid[b-wrivnt9o0e],
.container[b-wrivnt9o0e],
.row[b-wrivnt9o0e] {
    max-width: none !important;
    overflow: visible !important;
}

/* Exception: Only allow overflow for specific utility cases */
.force-scroll[b-wrivnt9o0e] {
    overflow: auto !important;
}

/* Ensure dropdowns and modals appear above everything */
.dropdown-menu[b-wrivnt9o0e] {
    z-index: 1050 !important;
}

.modal[b-wrivnt9o0e] {
    z-index: 1055 !important;
}

.modal-backdrop[b-wrivnt9o0e] {
    z-index: 1040 !important;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Remove scrollable container and make nav wider during login */
.nav-container[b-jccvqptk9b] {
    height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    overflow: visible;
    width: 100%;
}

/* FIXED: Add background for authenticated nav container to prevent white space */
.nav-container.authenticated[b-jccvqptk9b] {
    background-color: rgba(15, 33, 40, 0.95); /* Same background as nav-menu */
    height: 100%; /* Fill available drawer space */
    transition: all 0.3s ease-in-out;
}

/* Icon-only navigation styles for collapsed state */
.nav-container.icon-only .nav-menu[b-jccvqptk9b] {
    padding: 0.25rem 0;
}

.nav-container.icon-only .nav-text[b-jccvqptk9b] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.nav-container.icon-only .nav-item[b-jccvqptk9b] {
    margin-bottom: 0.25rem;
}

.nav-container.icon-only .px-3[b-jccvqptk9b] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-container.icon-only .nav-link-flex[b-jccvqptk9b] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.75rem 0 !important;
    margin: 0.25rem 0 !important;
    gap: 0 !important;
    position: relative;
    width: 100% !important;
    box-sizing: border-box;
}

.nav-container.icon-only .nav-link-flex > span[class*="bi"][b-jccvqptk9b] {
    font-size: 1.5rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Pegasus Branding Styles - Fully centered in the available space */
.pegasus-nav-branding[b-jccvqptk9b] {
    flex: 1; /* Take up all available space */
    padding: 2rem;
    background: linear-gradient(135deg, #1B1B24 0%, #2D4A8C 50%, #1B1B24 100%); /* RESTORED: Add background back */
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    position: relative;
    width: 100%;
    margin: 0; /* ADDED: Remove any margins */
    padding-top: 4rem;
}

.pegasus-nav-logo-container[b-jccvqptk9b] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: 100%;
    text-align: center;
    transform: translateY(-12rem);
}

.pegasus-nav-logo[b-jccvqptk9b] {
    display: flex;
    justify-content: center;
    align-items: center;
/*    animation: gentle-pulse 3s ease-in-out infinite;*/
}

    .pegasus-nav-logo img[b-jccvqptk9b] {
        height: 32rem !important;
        width: auto;
        max-width: 80%;
        object-fit: contain;
    }

.pegasus-nav-text[b-jccvqptk9b] {
    width: 100%;
    text-align: center;
}

.pegasus-nav-title[b-jccvqptk9b] {
    font-size: 2.5rem !important; /* Much bigger text */
    font-weight: bold;
    color: #fff !important;
    line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    word-wrap: break-word;
}

.pegasus-nav-subtitle[b-jccvqptk9b] {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes gentle-pulse-b-jccvqptk9b {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

/* Navigation menu styles - only show when authenticated */
.nav-menu[b-jccvqptk9b] {
    padding: 1rem;
    overflow: visible;
    background-color: transparent; /* FIXED: Remove duplicate background since container now has it */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1; /* ADDED: Allow menu to expand and fill remaining space */
}

/* Hide navigation menu during login (not authenticated) */
.nav-container.login-state .nav-menu[b-jccvqptk9b] {
    display: none;
}

.nav-container.login-state[b-jccvqptk9b] {
    display: flex;
    flex-direction: column;
    overflow: visible;
    width: 500px;
    min-width: 500px;
    max-width: 500px;
    transition: none !important;
}

/* Medium screens (tablets) */
@media (max-width: 1023px) {

    .nav-container.login-state[b-jccvqptk9b],
    .drawer.login-state[b-jccvqptk9b] {
        display: none !important;
    }

    .pegasus-nav-branding[b-jccvqptk9b] {
        padding: 1.5rem;
        padding-top: 3rem;
        display: none !important;
    }

    .pegasus-nav-logo-container[b-jccvqptk9b] {
        transform: translateY(-1.5rem); /* ADDED: Adjusted transform for medium screens */
    }

    .pegasus-nav-logo img[b-jccvqptk9b] {
        height: 6.5rem !important; /* Increased from 5rem to 6.5rem */
    }

    .pegasus-nav-title[b-jccvqptk9b] {
        font-size: 2.2rem !important;
        letter-spacing: 1.5px;
    }

    .pegasus-nav-subtitle[b-jccvqptk9b] {
        font-size: 1.1rem;
    }

    .pegasus-nav-logo-container[b-jccvqptk9b] {
        gap: 1.5rem;
        transform: translateY(-1.5rem);
    }
}

/* Small tablets */
@media (max-width: 991.98px) {
    .nav-container.login-state[b-jccvqptk9b] {
        display: none !important;
    }

    .pegasus-nav-branding[b-jccvqptk9b] {
        padding: 1.25rem;
        padding-top: 2.5rem; /* ADDED: Adjusted top padding for small tablets */
        display: none !important;
    }

    .pegasus-nav-logo-container[b-jccvqptk9b] {
        transform: translateY(-1rem); /* ADDED: Adjusted transform for small tablets */
    }

    .pegasus-nav-logo img[b-jccvqptk9b] {
        height: 5.5rem !important; /* Increased from 4rem to 5.5rem */
    }

    .pegasus-nav-title[b-jccvqptk9b] {
        font-size: 1.8rem !important;
        letter-spacing: 1px;
    }

    .pegasus-nav-subtitle[b-jccvqptk9b] {
        font-size: 1rem;
    }

    .pegasus-nav-logo-container[b-jccvqptk9b] {
        gap: 1.25rem;
        transform: translateY(-1rem); /* Adjusted for small tablets */
    }
}

@media (max-width: 991px) {
    .nav-container.login-state[b-jccvqptk9b] {
        display: none !important;
    }

    .pegasus-nav-branding[b-jccvqptk9b] {
        display: none !important;
    }

    .drawer.closed[b-jccvqptk9b] {
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

        .drawer.closed .nav-menu[b-jccvqptk9b],
        .drawer.closed .nav-item[b-jccvqptk9b],
        .drawer.closed .nav-link-flex[b-jccvqptk9b],
        .drawer.closed .nav-link-flex > span[class*="bi"][b-jccvqptk9b],
        .drawer.closed .nav-text[b-jccvqptk9b] {
            display: none !important;
            visibility: hidden !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
            padding: 0 !important;
            margin: 0 !important;
        }
}

/* Mobile phones */
@media (max-width: 500px) {
    .nav-container.login-state[b-jccvqptk9b] {
        display: none !important;
    }

    .pegasus-nav-branding[b-jccvqptk9b] {
        padding: 1rem;
        padding-top: 2rem; /* ADDED: Adjusted top padding for mobile */
        display: none !important;
    }

    .pegasus-nav-logo-container[b-jccvqptk9b] {
        gap: 1rem;
        transform: translateY(-0.5rem); /* ADDED: Adjusted transform for mobile */
    }

    .pegasus-nav-logo img[b-jccvqptk9b] {
        height: 4rem !important; /* Increased from 3rem to 4rem */
    }

    .pegasus-nav-title[b-jccvqptk9b] {
        font-size: 1.4rem !important;
        letter-spacing: 0.5px;
    }

    .pegasus-nav-subtitle[b-jccvqptk9b] {
        font-size: 0.9rem;
    }
}

/* Very small screens */
@media (max-width: 375px) {
    .nav-container.login-state[b-jccvqptk9b] {
        display: none !important;
    }

    .pegasus-nav-branding[b-jccvqptk9b] {
        padding: 0.75rem;
        padding-top: 1.5rem; /* ADDED: Adjusted top padding for very small screens */
        display: none !important;
    }

    .pegasus-nav-logo-container[b-jccvqptk9b] {
        transform: translateY(-0.25rem); /* ADDED: Minimal transform for very small screens */
    }

    .pegasus-nav-logo img[b-jccvqptk9b] {
        height: 3.5rem !important; /* Increased from 2.5rem to 3.5rem */
    }

    .pegasus-nav-title[b-jccvqptk9b] {
        font-size: 1.2rem !important;
    }

    .pegasus-nav-subtitle[b-jccvqptk9b] {
        font-size: 0.8rem;
    }
}

/* Remove scrollable behavior completely */
[b-jccvqptk9b] .drawer {
    padding-top: 0 !important;
    overflow: visible !important;
}

/* Navigation link styles for authenticated users */
[b-jccvqptk9b] .nav-item {
    margin-bottom: 0.5rem;
}

/* ADDED: Proper flexbox alignment for navigation links */
[b-jccvqptk9b] .nav-link-flex {
    display: flex !important;
    align-items: flex-start !important; /* Align icon to top */
    gap: 0.5rem !important; /* Space between icon and text */
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

/* ADDED: Icon stays at top and doesn't shrink */
[b-jccvqptk9b] .nav-link-flex > span[class*="bi"] {
    flex-shrink: 0 !important; /* Icon won't shrink */
    line-height: 1 !important; /* Consistent icon line height */
    margin-top: 0.1rem !important; /* Slight adjustment for better alignment */
}

/* ADDED: Text can wrap and takes remaining space */
[b-jccvqptk9b] .nav-link-flex .nav-text {
    flex: 1 !important; /* Text takes remaining space */
    line-height: 1.3 !important; /* Better line spacing for wrapped text */
    word-wrap: break-word !important; /* Allow long words to break */
    hyphens: auto !important; /* Auto hyphenation */
}

[b-jccvqptk9b] .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    color: rgba(255, 255, 255, 0.8);
}

    [b-jccvqptk9b] .nav-link:hover,
    [b-jccvqptk9b] .nav-link-flex:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
        color: #fff;
    }

    [b-jccvqptk9b] .nav-link.active,
    [b-jccvqptk9b] .nav-link-flex.active {
        background-color: rgba(45, 74, 140, 0.3);
        color: #fff;
    }

/* Responsive Media Queries for Icon-Only Navigation */

/* Desktop - Large screens (≥1200px) */
@media (min-width: 1200px) {
    /* Keep existing desktop styles - both icon and text */
    .nav-container.icon-only .nav-link-flex > span[class*="bi"][b-jccvqptk9b] {
        font-size: 1.5rem !important;
    }
}

/* Medium Desktop/Tablets (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-container.icon-only .nav-link-flex > span[class*="bi"][b-jccvqptk9b] {
        font-size: 1.4rem !important; /* Slightly smaller on medium screens */
    }

    .nav-container.icon-only .nav-link-flex[b-jccvqptk9b] {
        padding: 0.6rem 0 !important;
        margin: 0.2rem 0 !important;
    }
}

/* Small Tablets (768px - 991px) - Force icon-only only when drawer is OPEN */
@media (max-width: 991.98px) {
    /* Only apply icon-only styles when drawer is open (not closed) */
/*    .nav-container.authenticated:not(.drawer-closed) .nav-text {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }*/

    .nav-container.authenticated .nav-link-flex[b-jccvqptk9b] {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0.75rem 0 !important;
        margin: 0.25rem 0 !important;
        gap: 0 !important;
    }

        .nav-container.authenticated .nav-link-flex > span[class*="bi"][b-jccvqptk9b] {
            font-size: 1.3rem !important;
            margin: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

    .nav-container.authenticated .px-3[b-jccvqptk9b] {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

/* Mobile Phones (≤767px) */
@media (max-width: 767.98px) {
    .nav-container.authenticated .nav-link-flex > span[class*="bi"][b-jccvqptk9b] {
        font-size: 1.2rem !important;
    }

    .nav-container.authenticated .nav-link-flex[b-jccvqptk9b] {
        padding: 0.6rem 0 !important;
        margin: 0.2rem 0 !important;
    }
}

/* Very Small Screens (≤499px) */
@media (max-width: 499.98px) {
    .nav-container.authenticated .nav-link-flex > span[class*="bi"][b-jccvqptk9b] {
        font-size: 1.1rem !important;
    }

    .nav-container.authenticated .nav-link-flex[b-jccvqptk9b] {
        padding: 0.5rem 0 !important;
        margin: 0.15rem 0 !important;
    }
}

/* Extra Small Screens (≤374px) */
@media (max-width: 374.98px) {
    .nav-container.authenticated .nav-link-flex > span[class*="bi"][b-jccvqptk9b] {
        font-size: 1rem !important;
    }

    .nav-container.authenticated .nav-menu[b-jccvqptk9b] {
        padding: 0.15rem 0;
    }
}

/* Disable layout animations during login */
body.login-state *[b-jccvqptk9b],
body.login-state[b-jccvqptk9b] {
    transition: none !important;
}

body.login-state[b-jccvqptk9b]  .nav-link-flex:hover {
    transform: none !important;
}
/* /Components/Pages/BulkCommissionCalculation.razor.rz.scp.css */
.popup-menu[b-zsaavj7dq3] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050 !important; /* Higher z-index to ensure it's above other elements */
    max-width: 200px;
    min-width: 150px;
    background-color: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem !important;
    margin-top: 0.25rem !important;
}

.dropdown-container[b-zsaavj7dq3] {
    position: relative !important;
    display: inline-block !important;
}

.dropdown-toggle[b-zsaavj7dq3] {
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px;
    min-height: 32px;
    line-height: 1 !important;
}

    .dropdown-toggle i[b-zsaavj7dq3] {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px;
        line-height: 1 !important;
    }

/* Ensure table cells don't clip the dropdown */
.table td[b-zsaavj7dq3] {
    position: static !important;
    overflow: visible !important;
}

/* Ensure table-responsive doesn't clip dropdown */
.table-responsive[b-zsaavj7dq3] {
    overflow: visible !important;
}

/* Ensure card body doesn't clip dropdown */
.card-body[b-zsaavj7dq3] {
    overflow: visible !important;
}

/* Fix for bottom rows */
.popup-menu.bottom-row[b-zsaavj7dq3] {
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 0.25rem !important;
    margin-top: 0 !important;
}

/* Processing overlay styles */
.processing-overlay[b-zsaavj7dq3] {
    background-color: rgba(0, 0, 0, 0.6) !important;
    z-index: 99999 !important;
}
/* /Components/Pages/CsvUpload.razor.rz.scp.css */
/* Default tab style */
.custom-tab[b-623csdffz2] {
    border: none !important;
    color: black !important;
    border-bottom: 1px solid #1dcaf0 !important;
    font-weight: normal;
}

/* Upload tab color */
.upload-tab[b-623csdffz2] {
    background-color: #1dcaf0 !important;
}

/* Browse tab color */
.browse-tab[b-623csdffz2] {
    background-color: #1dcaf0 !important;
}

/* Integration tab color */
.integration-tab[b-623csdffz2] {
    background-color: #1dcaf0 !important;
}

/* Active state */
.custom-tab.active[b-623csdffz2] {
    /*    filter: brightness(90%);*/
    color: black !important;
    background-color: white !important;
    border-bottom: 1px solid white !important;
    font-weight: bolder;
}

/* radio */
.integration-handling[b-623csdffz2],
.integration-status[b-623csdffz2] {
    border: 0.5px solid black !important;
}
/* /Components/Pages/CustomMapping.razor.rz.scp.css */
.mapping-type-toggle .btn-check:checked + .btn[b-hyl3c1hvc0] {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.field-mapping-input .input-group-text[b-hyl3c1hvc0] {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
    font-weight: 500;
}

.default-value-input .input-group-text[b-hyl3c1hvc0] {
    background-color: #f3e5f5;
    border-color: #9c27b0;
    color: #7b1fa2;
    font-weight: 500;
}

/* Professional styling for mapping value display */
.mapping-value-container[b-hyl3c1hvc0] {
    min-height: 42px;
    display: flex;
    align-items: center;
}

.field-mapping-display[b-hyl3c1hvc0] {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    color: #1976d2;
    position: relative;
    overflow: hidden;
}

.field-mapping-display[b-hyl3c1hvc0]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2196f3;
}

.default-value-display[b-hyl3c1hvc0] {
    background: linear-gradient(135deg, #f3e5f5 0%, #f8f9fa 100%);
    border: 2px solid #9c27b0;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    color: #7b1fa2;
    position: relative;
    overflow: hidden;
}

.default-value-display[b-hyl3c1hvc0]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #9c27b0;
}

.mapping-value-text[b-hyl3c1hvc0] {
    flex-grow: 1;
    margin-right: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.mapping-action-buttons[b-hyl3c1hvc0] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.mapping-action-btn[b-hyl3c1hvc0] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    background: white;
    transition: all 0.2s ease;
    font-size: 12px;
}

.mapping-action-btn:hover[b-hyl3c1hvc0] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-edit[b-hyl3c1hvc0] {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-edit:hover[b-hyl3c1hvc0] {
    background: #0d6efd;
    color: white;
}

.btn-clear[b-hyl3c1hvc0] {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-clear:hover[b-hyl3c1hvc0] {
    background: #dc3545;
    color: white;
}

.empty-mapping-state[b-hyl3c1hvc0] {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.mapping-type-indicator[b-hyl3c1hvc0] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.validation-error-professional[b-hyl3c1hvc0] {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 4px;
    color: #c53030;
    font-size: 12px;
    font-weight: 500;
}

/* Enhanced professional input styling */
.professional-input-group[b-hyl3c1hvc0] {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.professional-input-group:focus-within[b-hyl3c1hvc0] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.professional-input-group.default-value-input:focus-within[b-hyl3c1hvc0] {
    border-color: #9c27b0;
}

.professional-input-group.field-mapping-input:focus-within[b-hyl3c1hvc0] {
    border-color: #2196f3;
}

.professional-input-group input[b-hyl3c1hvc0] {
    border: none;
    font-weight: 500;
    padding: 10px 12px;
}

.professional-input-group input:focus[b-hyl3c1hvc0] {
        box-shadow: none !important;
        outline: none !important;
}

.professional-input-group .btn[b-hyl3c1hvc0] {
    border: none;
    border-radius: 0;
}

/* Professional Default Value Input Enhancements */
.professional-default-value-container[b-hyl3c1hvc0] {
    width: 100%;
}

.professional-default-input[b-hyl3c1hvc0] {
    background: rgba(255,255,255,0.95);
    border: 2px solid #9c27b0 !important; /* Increased border width and added !important */
    font-weight: 500;
    color: #7b1fa2;
    transition: all 0.3s ease;
    min-height: 38px; /* Set a specific height */
    padding: 8px 12px; /* Controlled padding */
}

.professional-default-input:focus[b-hyl3c1hvc0] {
    background: rgba(255,255,255,1);
    border-color: #9c27b0 !important;
    box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25) !important;
    color: #7b1fa2;
}

.professional-default-input[b-hyl3c1hvc0]::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

.professional-clear-btn[b-hyl3c1hvc0] {
    border: 2px solid #9c27b0 !important; /* Match the input border */
    color: #9c27b0;
    transition: all 0.2s ease;
    min-height: 38px; /* Match input height */
}

.professional-clear-btn:hover[b-hyl3c1hvc0] {
    background: #9c27b0 !important;
    border-color: #9c27b0 !important;
    color: white;
    transform: scale(1.05);
}

.professional-empty-default-state[b-hyl3c1hvc0] {
    background: linear-gradient(135deg, #f3e5f5 0%, #f8f9fa 100%);
    border: 2px dashed #9c27b0;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.professional-empty-default-state:hover[b-hyl3c1hvc0] {
    border-style: solid;
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.15);
}

.professional-empty-default-state[b-hyl3c1hvc0]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #9c27b0;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.professional-empty-default-state:hover[b-hyl3c1hvc0]::before {
    opacity: 1;
}

/* Enhanced focus states for professional input groups - FIXED */
.professional-input-group.default-value-input[b-hyl3c1hvc0] {
    border: 2px solid #9c27b0 !important; /* Force the container border */
    border-radius: 8px;
    overflow: hidden;
}

.professional-input-group.default-value-input:focus-within[b-hyl3c1hvc0] {
    border-color: #9c27b0 !important;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3) !important;
}

/* Professional styling for input group text in default value context */
.default-value-input.professional-input-group .input-group-text[b-hyl3c1hvc0] {
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
    border: 2px solid #9c27b0; /* Match the container */
    border-right: none; /* Remove right border to connect with input */
    color: #7b1fa2;
    font-weight: 600;
    min-height: 38px; /* Match input height */
}

/* Enhanced button styling within professional context */
.professional-input-group .btn-outline-danger[b-hyl3c1hvc0] {
    border: 2px solid #9c27b0; /* Match the theme */
    border-left: none; /* Remove left border to connect with input */
    transition: all 0.2s ease;
    min-height: 38px; /* Match input height */
}

.professional-input-group .btn-outline-danger:hover[b-hyl3c1hvc0] {
    border-left-color: transparent;
}

/* Override any Bootstrap defaults that might interfere */
.professional-input-group input.form-control[b-hyl3c1hvc0] {
    border-left: none !important;
    border-right: none !important;
    border-top: 2px solid #9c27b0 !important;
    border-bottom: 2px solid #9c27b0 !important;
}

/* Invalid input styling for data type validation */
.professional-default-input.is-invalid[b-hyl3c1hvc0] {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.professional-default-input.is-invalid:focus[b-hyl3c1hvc0] {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Data type validation error message */
.data-type-validation-error[b-hyl3c1hvc0] {
    background: #fff1f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 6px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .data-type-validation-error i[b-hyl3c1hvc0] {
        color: #ef4444;
    }

/* Enhanced validation container */
.validation-container[b-hyl3c1hvc0] {
    position: relative;
}

/* Data type indicator badge styling */
.data-type-badge[b-hyl3c1hvc0] {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    opacity: 0.8;
}

/* Calendar button styling for date/datetime inputs */
.professional-calendar-btn[b-hyl3c1hvc0] {
    border: 2px solid #9c27b0 !important;
    color: #9c27b0 !important;
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%) !important;
    transition: all 0.2s ease;
    min-height: 38px;
    border-left: 1px solid #9c27b0 !important;
    border-radius: 0;
    font-weight: bold;
    padding: 0 12px;
}

.professional-calendar-btn:hover[b-hyl3c1hvc0] {
    background: linear-gradient(135deg, #9c27b0 0%, #8e24aa 100%) !important;
    border-color: #9c27b0 !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.3);
}

.professional-calendar-btn:focus[b-hyl3c1hvc0] {
    box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25) !important;
    outline: none;
}

/* Date input containers get special spacing */
.default-value-input.professional-input-group:has(input[type="date"])[b-hyl3c1hvc0],
.default-value-input.professional-input-group:has(input[type="datetime-local"])[b-hyl3c1hvc0],
.default-value-input.professional-input-group:has(input[type="time"])[b-hyl3c1hvc0] {
    border-color: #9c27b0 !important;
}

/* Style the native date picker icons */
.professional-default-input[b-hyl3c1hvc0]::-webkit-calendar-picker-indicator {
    opacity: 0.6;
    cursor: pointer;
}

.professional-default-input[b-hyl3c1hvc0]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Custom styling for date inputs when focused */
.professional-input-group input[type="date"]:focus[b-hyl3c1hvc0],
.professional-input-group input[type="datetime-local"]:focus[b-hyl3c1hvc0],
.professional-input-group input[type="time"]:focus[b-hyl3c1hvc0] {
    border-color: #9c27b0 !important;
    box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25) !important;
}

/* Enhanced date input styling - NO JAVASCRIPT NEEDED */
input[type="date"][b-hyl3c1hvc0],
input[type="datetime-local"][b-hyl3c1hvc0],
input[type="time"][b-hyl3c1hvc0] {
    cursor: pointer !important;
    min-width: 180px; /* Ensure enough space for date display */
}

/* Auto-focus styling for date inputs */
input[type="date"]:focus[b-hyl3c1hvc0],
input[type="datetime-local"]:focus[b-hyl3c1hvc0],
input[type="time"]:focus[b-hyl3c1hvc0] {
    border-color: #9c27b0 !important;
    box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25) !important;
    transform: scale(1.02);
    outline: none;
}

/* Make the native date picker calendar icon more visible */
input[type="date"][b-hyl3c1hvc0]::-webkit-calendar-picker-indicator,
input[type="datetime-local"][b-hyl3c1hvc0]::-webkit-calendar-picker-indicator,
input[type="time"][b-hyl3c1hvc0]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23212529' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z'/%3e%3c/svg%3e");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    opacity: 0.8;
    width: 20px;
    height: 20px;
}

input[type="date"][b-hyl3c1hvc0]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"][b-hyl3c1hvc0]::-webkit-calendar-picker-indicator:hover,
input[type="time"][b-hyl3c1hvc0]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: rgba(156, 39, 176, 0.1);
    border-radius: 4px;
}

/* Auto-highlight date inputs when they become active */
.date-input-active[b-hyl3c1hvc0] {
    animation: dateInputHighlight-b-hyl3c1hvc0 0.3s ease-in-out;
}

@keyframes dateInputHighlight-b-hyl3c1hvc0 {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: rgba(156, 39, 176, 0.1);
    }

    100% {
        background-color: transparent;
    }
}

/* Define the custom button classes */
.btn-field[b-hyl3c1hvc0] {
    color: #0d6efd;
    border-color: #0d6efd;
    background-color: transparent;
}

.btn-field:hover[b-hyl3c1hvc0] {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-default[b-hyl3c1hvc0] {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}

.btn-default:hover[b-hyl3c1hvc0] {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Enhanced selected button styling - BOTH become blue when checked */
.mapping-type-toggle .btn-check:checked + .btn-field[b-hyl3c1hvc0],
.mapping-type-toggle .btn-check:checked + .btn-default[b-hyl3c1hvc0] {
    background-color: #0d6efd !important;
    /*border-color: #0b5ed7 !important;*/
    border: 1px solid black !important;
    color: white !important;
    font-weight: 600;
    border-width: 2px;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
    transform: translateY(-1px);
}

/* Enhanced hover effects */
.mapping-type-toggle .btn:hover[b-hyl3c1hvc0] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.15s ease;
}

/* Keep checked buttons elevated even on hover - BOTH get blue hover */
.mapping-type-toggle .btn-check:checked + .btn-field:hover[b-hyl3c1hvc0],
.mapping-type-toggle .btn-check:checked + .btn-default:hover[b-hyl3c1hvc0] {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(13, 110, 253, 0.4);
}

/* Smooth transitions */
.mapping-type-toggle .btn[b-hyl3c1hvc0] {
    transition: all 0.15s ease;
    border-width: 1px; /* Default border width */
}

/* Optional: Make the button group look more cohesive */
.mapping-type-toggle[b-hyl3c1hvc0] {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Focus states for accessibility */
.mapping-type-toggle .btn-check:focus + .btn[b-hyl3c1hvc0] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Better mobile support for date inputs */
@media (max-width: 768px) {
    input[type="date"][b-hyl3c1hvc0],
    input[type="datetime-local"][b-hyl3c1hvc0],
    input[type="time"][b-hyl3c1hvc0] {
        min-width: 150px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
/* /Components/Pages/Dashboard/Dashboard.razor.rz.scp.css */
/* ========================================
   DASHBOARD COMPONENT STYLES
   ======================================== */

/* === BASE CHART STYLES === */
.chart-container[b-6d02d6bqlr] {
    margin: 60px 40px 60px 80px;
    position: relative;
}

.chart-y-axis-labels[b-6d02d6bqlr] {
    position: absolute;
    left: -70px;
    top: 0;
    height: 300px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}

.chart-y-axis-label[b-6d02d6bqlr] {
    font-size: 0.75rem;
    line-height: 1;
}

.chart-y-axis-title[b-6d02d6bqlr] {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: center;
    width: 200px;
    text-align: center;
}

.chart-area[b-6d02d6bqlr] {
    height: 300px;
    border-left: 2px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-around;
    padding: 10px 5px;
}

.chart-bar-container[b-6d02d6bqlr] {
    flex: 1;
    max-width: 80px;
    margin: 0 2px;
}

.chart-bar[b-6d02d6bqlr] {
    height: 280px;
    position: relative;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
}

.chart-segment[b-6d02d6bqlr] {
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-bars[b-6d02d6bqlr] {
    position: relative;
}

.chart-column[b-6d02d6bqlr] {
    position: relative;
}

.chart-bar-stack[b-6d02d6bqlr] {
    position: relative;
}

.chart-total-label[b-6d02d6bqlr] {
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.chart-month-label[b-6d02d6bqlr] {
    transform: rotate(0deg);
    white-space: nowrap;
    color: #666;
}

.chart-month-group[b-6d02d6bqlr] {
    transition: all 0.2s ease;
}

.chart-month-group:hover[b-6d02d6bqlr] {
    transform: translateY(-2px);
}

.chart-y-axis[b-6d02d6bqlr] {
    color: #666;
}

.chart-x-axis-labels[b-6d02d6bqlr] {
    display: flex;
    justify-content: space-around;
    margin-top: 5px;
    padding: 0 5px;
}

.chart-x-axis-label[b-6d02d6bqlr] {
    flex: 1;
    max-width: 80px;
    margin: 0 2px;
    font-size: 0.7rem;
    writing-mode: horizontal-tb;
    transform: rotate(-45deg);
    display: inline-block;
    white-space: nowrap;
}

.chart-grid-line[b-6d02d6bqlr] {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.chart-stacked-bar[b-6d02d6bqlr] {
    margin: 0 1px;
}

.chart-responsive[b-6d02d6bqlr] {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.chart-no-data[b-6d02d6bqlr] {
    font-size: 0.7rem;
}

.chart-bar-label[b-6d02d6bqlr] {
    margin-top: 0.25rem;
    font-size: 0.65rem;
}

.selected-month[b-6d02d6bqlr] {
    border: 2px solid #0d6efd !important;
}

.clickable-bar[b-6d02d6bqlr] {
    transition: all 0.15s ease;
}

.clickable-bar:hover[b-6d02d6bqlr] {
    opacity: 0.8;
    transform: scale(1.02);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* === CHART SCROLLBAR STYLES === */
.chart-responsive[b-6d02d6bqlr]::-webkit-scrollbar {
    height: 8px;
}

.chart-responsive[b-6d02d6bqlr]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.chart-responsive[b-6d02d6bqlr]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.chart-responsive[b-6d02d6bqlr]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.chart-scroll-indicator[b-6d02d6bqlr] {
    display: none;
    text-align: center;
    margin-top: 10px;
    color: #6c757d;
    font-size: 0.8em;
}

/* === LEGEND STYLES === */
/*.legend-item {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 20px;
}*/

.legend-color[b-6d02d6bqlr] {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 2px;
}

/* === BOOTSTRAP COLOR OVERRIDES === */
.bg-primary[b-6d02d6bqlr] {
    background-color: #0d6efd !important;
}

.bg-success[b-6d02d6bqlr] {
    background-color: #198754 !important;
}

.bg-info[b-6d02d6bqlr] {
    background-color: #0dcaf0 !important;
}

.bg-warning[b-6d02d6bqlr] {
    background-color: #ffc107 !important;
}

.bg-danger[b-6d02d6bqlr] {
    background-color: #dc3545 !important;
}

.bg-secondary[b-6d02d6bqlr] {
    background-color: #6c757d !important;
}

.bg-dark[b-6d02d6bqlr] {
    background-color: #212529 !important;
}

/* === FILTER SYSTEM STYLES === */

/* Filter cards */
.filter-commission[b-6d02d6bqlr],
.filter-commission-card[b-6d02d6bqlr] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.filter-commission-card[b-6d02d6bqlr] {
    height: 300px;
}

.filter-account-card[b-6d02d6bqlr] {
    height: 400px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.filter-transaction-status-card[b-6d02d6bqlr] {
    min-height: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.filter-transaction-status-card.collapsed .card-body[b-6d02d6bqlr] {
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-commission-card .card-header[b-6d02d6bqlr],
.filter-account-card .card-header[b-6d02d6bqlr] {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
    color: white;
}

.filter-commission-card .card-body[b-6d02d6bqlr],
.filter-account-card .card-body[b-6d02d6bqlr] {
    padding: 1rem;
    overflow-y: auto;
    height: calc(100% - 60px);
}

.filter-account-card .card-body[b-6d02d6bqlr] {
    max-height: 350px;
}

/* Mobile filter cards */
.mobile-filter-card[b-6d02d6bqlr] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.mobile-filter-card .card-header[b-6d02d6bqlr] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.mobile-filter-card .card-body[b-6d02d6bqlr] {
    padding: 0.75rem;
}

.filter-scroll-container[b-6d02d6bqlr] {
    overflow-y: auto;
    max-height: 200px;
}

/* Form labels in filters */
.filter-commission label[b-6d02d6bqlr],
.filter-commission-card label[b-6d02d6bqlr],
.form-check-label[b-6d02d6bqlr] {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
    max-width: 100% !important;
    display: block !important;
}

.card-header:has(.bi-funnel)[b-6d02d6bqlr] {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* === OFFCANVAS STYLES === */
.offcanvas.offcanvas-start[b-6d02d6bqlr] {
    width: 320px;
}

.offcanvas-body[b-6d02d6bqlr] {
    padding: 1rem;
}

/* === PERFORMANCE AND USER INTERFACE === */
.performance-chart-item[b-6d02d6bqlr] {
    font-size: 0.7rem;
}

.empty-state-icon[b-6d02d6bqlr] {
    font-size: 3rem;
}

.summary-card-icon[b-6d02d6bqlr] {
    font-size: 2rem;
    opacity: 0.8;
}

.user-actions[b-6d02d6bqlr] {
    margin-top: 1rem;
}

.performance-progress[b-6d02d6bqlr] {
    height: 4px;
    margin-top: 2px;
}

.user-header-responsive[b-6d02d6bqlr] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.user-header-responsive .user-period-controls[b-6d02d6bqlr] {
    margin-left: auto;
    margin-top: 0;
}

.filter-transaction-status-card .card-body[b-6d02d6bqlr] {
    padding: 0.5rem !important;
    max-height: 1000px; /* Large enough to accommodate content */
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-transaction-status-card .card-header[b-6d02d6bqlr] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.filter-transaction-status-card .card-header:hover[b-6d02d6bqlr] {
    background-color: #0366a3 !important;
}

.filter-transaction-status-card .collapse-icon[b-6d02d6bqlr] {
    transition: transform 0.3s ease;
    float: right;
    margin-left: 0.5rem;
}

.filter-transaction-status-card.collapsed .collapse-icon[b-6d02d6bqlr] {
    transform: rotate(-90deg);
}

.filter-transaction-status-card .row[b-6d02d6bqlr] {
    margin: 0 !important;
}

.filter-transaction-status-card .col-md-12[b-6d02d6bqlr] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-bottom: 0.25rem !important;
}

.filter-transaction-status-card h6[b-6d02d6bqlr] {
    margin-bottom: 0.25rem !important;
}

.filter-transaction-status-card .form-check-inline[b-6d02d6bqlr] {
    margin-right: 1rem !important;
    margin-bottom: 0.25rem !important;
}

.filter-account-card.empty[b-6d02d6bqlr] {
    height: auto !important;
    min-height: 120px;
}

.filter-account-card.with-data[b-6d02d6bqlr] {
    height: 1250px !important;
}

/* ========================================
   RESPONSIVE FILTER SYSTEM - CLEAN & SIMPLE
   ======================================== */

/* === DESKTOP (1025px and above): Show left filter panel === */
@media (min-width: 1025px) {
    /* Force show desktop filter panel */
    .filter-desktop-panel.d-md-block[b-6d02d6bqlr] {
        display: block !important;
    }
    
    /* Hide mobile filter button */
    .filter-mobile-toggle.d-md-none[b-6d02d6bqlr] {
        display: none !important;
    }
    
    /* Hide mobile offcanvas */
    .offcanvas.d-md-none[b-6d02d6bqlr] {
        display: none !important;
    }
    
    /* Desktop layout: 25% filter + 75% content */
    .dashboard-content-area.col-md-9[b-6d02d6bqlr] {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
    
    .user-header-responsive[b-6d02d6bqlr] {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .user-header-responsive .user-period-controls[b-6d02d6bqlr] {
        margin-left: auto;
        margin-top: 0;
    }
    
    /* Desktop chart behavior */
    .chart-responsive[b-6d02d6bqlr] {
        overflow-x: visible;
    }
    
    .chart-scroll-indicator[b-6d02d6bqlr] {
        display: none;
    }
    
    .chart-container[b-6d02d6bqlr] {
        margin: 60px 40px 60px 80px;
    }
}

@media (min-width: 767px) and (max-width: 1025px) {
    .filter-transaction-status-card[b-6d02d6bqlr] {
        min-height: auto;
    }

    .transaction-badge[b-6d02d6bqlr] {
        margin-bottom: 1rem;
    }

    .description-text[b-6d02d6bqlr] {
        margin-bottom: 1rem;
    }

    .description-text[b-6d02d6bqlr] {
        display: inline-block;
        width: 100%;
        gap: 1rem;
    }
}

/* === TABLETS (768px to 1024px): Show mobile filter button === */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Hide desktop filter panel */
    .filter-desktop-panel.d-md-block[b-6d02d6bqlr] {
        display: none !important;
    }
    
    /* Show mobile filter button */
    .filter-mobile-toggle.d-md-none[b-6d02d6bqlr] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Show mobile offcanvas */
    .offcanvas.d-md-none[b-6d02d6bqlr] {
        display: block !important;
    }
    
    /* Full width dashboard content */
    .dashboard-content-area.col-md-9[b-6d02d6bqlr] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Responsive layout adjustments */
    .user-header-responsive[b-6d02d6bqlr] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    
    .user-header-responsive .user-period-controls[b-6d02d6bqlr] {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem !important;
    }

    /* TABLET-SPECIFIC: Make dropdowns longer - double the width */
    .user-period-controls .form-select[b-6d02d6bqlr],
    .dashboard-period-row .form-select[b-6d02d6bqlr] {
        min-width: 150px !important;
        width: 150px !important;
        max-width: 150px !important;
    }

    .user-period-controls > div[b-6d02d6bqlr] {
        min-width: 150px !important;
        width: 150px !important;
    }

    .user-period-controls > div.me-3[b-6d02d6bqlr],
    .user-period-controls > div:first-child[b-6d02d6bqlr] {
        margin-right: 0.5rem !important;
    }

    .dashboard-period-row .col-3[b-6d02d6bqlr] {
        min-width: 150px !important;
        flex: 0 0 150px !important;
        max-width: 150px !important;
    }

    .dashboard-period-row .col-3:first-child[b-6d02d6bqlr] {
        margin-right: 0.5rem !important;
    }

    .dashboard-period-row.row[b-6d02d6bqlr] {
        gap: 0.5rem !important;
    }
    
    /* Chart responsive behavior */
    .chart-responsive[b-6d02d6bqlr] {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .chart-container[b-6d02d6bqlr] {
        margin: 60px 10px 60px 60px;
        min-width: 700px;
        position: relative;
    }
    
    .chart-bars[b-6d02d6bqlr] {
        min-width: 700px;
        width: max-content;
    }
    
    .chart-month-group[b-6d02d6bqlr] {
        min-width: 90px;
        flex: 0 0 90px;
    }
    
    .chart-month-label[b-6d02d6bqlr] {
        white-space: nowrap;
        font-size: 0.75em !important;
    }
    
    .chart-scroll-indicator[b-6d02d6bqlr] {
        display: block;
        text-align: center;
        margin-top: 10px;
        color: #6c757d;
        font-size: 0.85em;
    }
    
    .offcanvas.offcanvas-start[b-6d02d6bqlr] {
        width: 350px;
    }
}

/* === MOBILE (below 768px): Show mobile filter button === */
@media (max-width: 767px) {
    /* Hide desktop filter panel */
    .filter-desktop-panel.d-md-block[b-6d02d6bqlr] {
        display: none !important;
    }
    
    /* Show mobile filter button */
    .filter-mobile-toggle.d-md-none[b-6d02d6bqlr] {
        display: block !important;
    }
    
    /* Show mobile offcanvas */
    .offcanvas.d-md-none[b-6d02d6bqlr] {
        display: block !important;
    }
    
    /* Full width dashboard content */
    .dashboard-content-area.col-md-9[b-6d02d6bqlr] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Mobile layout adjustments */
    .user-header-responsive[b-6d02d6bqlr] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem;
        width: 100% !important;
    }
    
    .user-header-responsive .user-period-controls[b-6d02d6bqlr] {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Mobile chart optimizations */
    .chart-container[b-6d02d6bqlr] {
        margin: 40px 5px 40px 50px;
        min-width: 500px;
    }
    
    .chart-bars[b-6d02d6bqlr] {
        min-width: 500px;
    }
    
    .chart-month-group[b-6d02d6bqlr] {
        min-width: 70px;
        flex: 0 0 70px;
    }
    
    .chart-y-axis[b-6d02d6bqlr] {
        left: -50px !important;
        font-size: 0.65em;
    }
    
    .chart-month-label[b-6d02d6bqlr] {
        font-size: 0.65em !important;
        margin-top: 3px;
    }
    
    .chart-scroll-indicator[b-6d02d6bqlr] {
        display: block;
    }
    
    .filter-scroll-container[b-6d02d6bqlr] {
        max-height: 150px;
    }
    
    .mobile-filter-card .card-body[b-6d02d6bqlr] {
        padding: 0.5rem;
    }
}

/* Small screens below 321px - Stack year and month vertically */
@media (max-width: 321px) {

    .filter-transaction-status-card[b-6d02d6bqlr] {
        min-height: auto;
    }

    .transaction-badge[b-6d02d6bqlr] {
        margin-bottom: 0.5rem;
    }

    .description-text[b-6d02d6bqlr] {
        margin-bottom: 1rem;
    }

    .transaction-checkbox[b-6d02d6bqlr],
    .description-text[b-6d02d6bqlr] {
        display: inline-block;
        width: 100%;
    }
}

/* Small screens below 425px - Stack year and month vertically */
@media (max-width: 426px) {

    .filter-transaction-status-card[b-6d02d6bqlr] {
        min-height: auto;
    }

    .transaction-badge[b-6d02d6bqlr] {
        margin-bottom: 0.5rem;
    }

    .description-text[b-6d02d6bqlr] {
        margin-bottom: 1rem;
    }

    .transaction-checkbox[b-6d02d6bqlr],
    .description-text[b-6d02d6bqlr] {
        display: inline-block;
        width: 100%;
    }

    /* CRITICAL: Admin users - Force Bootstrap columns to stack vertically */
    .container-fluid .row.dashboard-period-row.mb-3 .col-3[b-6d02d6bqlr],
    .row.mb-3.dashboard-period-row .col-3[b-6d02d6bqlr],
    .dashboard-period-row.row.mb-3 .col-3[b-6d02d6bqlr],
    .card-body .row.dashboard-period-row .col-3[b-6d02d6bqlr],
    .dashboard-period-row .col-3[b-6d02d6bqlr] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: block !important;
    }

        .container-fluid .row.dashboard-period-row.mb-3 .col-3:last-child[b-6d02d6bqlr],
        .row.mb-3.dashboard-period-row .col-3:last-child[b-6d02d6bqlr],
        .dashboard-period-row.row.mb-3 .col-3:last-child[b-6d02d6bqlr],
        .card-body .row.dashboard-period-row .col-3:last-child[b-6d02d6bqlr],
        .dashboard-period-row .col-3:last-child[b-6d02d6bqlr] {
            margin-bottom: 0 !important;
        }

    /* CRITICAL: Force the row itself to stack vertically */
    .container-fluid .row.dashboard-period-row.mb-3[b-6d02d6bqlr],
    .row.mb-3.dashboard-period-row[b-6d02d6bqlr],
    .dashboard-period-row.row.mb-3[b-6d02d6bqlr],
    .card-body .row.dashboard-period-row[b-6d02d6bqlr],
    .dashboard-period-row.row[b-6d02d6bqlr],
    .dashboard-period-row[b-6d02d6bqlr] {
        flex-direction: column !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
    }

    /* CRITICAL: Regular users - Force flexbox to stack vertically */
    .user-header-responsive .user-period-controls.d-flex.me-4[b-6d02d6bqlr],
    .user-header-responsive .user-period-controls.d-flex[b-6d02d6bqlr],
    .user-header-responsive .user-period-controls[b-6d02d6bqlr],
    .user-period-controls.d-flex.me-4[b-6d02d6bqlr],
    .user-period-controls.d-flex[b-6d02d6bqlr],
    .user-period-controls[b-6d02d6bqlr] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    /* CRITICAL: Force individual period control containers to full width */
    .user-period-controls.d-flex.me-4 > div.me-3[b-6d02d6bqlr],
    .user-period-controls.d-flex > div.me-3[b-6d02d6bqlr],
    .user-period-controls > div.me-3[b-6d02d6bqlr],
    .user-period-controls.d-flex.me-4 > div[b-6d02d6bqlr],
    .user-period-controls.d-flex > div[b-6d02d6bqlr],
    .user-period-controls > div[b-6d02d6bqlr] {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    /* CRITICAL: Ensure form selects take full width */
    .user-period-controls .form-select[b-6d02d6bqlr],
    .dashboard-period-row .form-select[b-6d02d6bqlr] {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    /* CRITICAL: Ensure form labels are properly styled */
    .user-period-controls .form-label[b-6d02d6bqlr],
    .dashboard-period-row .form-label[b-6d02d6bqlr] {
        margin-bottom: 0.25rem !important;
        font-weight: 600 !important;
        display: block !important;
        width: 100% !important;
    }

    /* CRITICAL: Ensure proper spacing for stacked layout */
    .user-header-responsive[b-6d02d6bqlr] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* CRITICAL: Override any conflicting margin classes */
    .me-3[b-6d02d6bqlr], .me-4[b-6d02d6bqlr], .ms-3[b-6d02d6bqlr], .ms-4[b-6d02d6bqlr] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* CRITICAL: Ensure container flexibility */
    .card-body[b-6d02d6bqlr] {
        padding: 0.75rem !important;
    }
}

    /* Legend responsive styles */
    /*.legend-container {
    flex-direction: row;
}

.legend-item {
    flex-wrap: wrap;
}*/

    /* Mobile styles for legend - 425px and below */
    @media (max-width: 425px) {
        .legend-container[b-6d02d6bqlr] {
            flex-direction: column;
            align-items: flex-start !important;
        }

        .legend-item[b-6d02d6bqlr] {
            width: 100%;
            margin-bottom: 1rem;
            flex-direction: column;
            align-items: flex-start !important;
            gap: 0.5rem;
        }

            .legend-item span.fw-bold[b-6d02d6bqlr] {
                margin-bottom: 0.5rem;
                display: block;
            }

            .legend-item .d-flex[b-6d02d6bqlr] {
                margin-bottom: 0.25rem;
            }
    }
    /* ========================================
   END OF DASHBOARD STYLES
   ======================================== */
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page-background[b-3aazbt2t4a] {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align to the top */
    padding: 5rem 1rem 1rem 1rem; /* Add padding to push content down from the top */
}

[b-3aazbt2t4a] .login-title {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    border: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
    color: #333;
}

[b-3aazbt2t4a] .login-form-box {
    width: 40%;
    max-width: 800px;
    margin: 1rem auto;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white !important;
}

    [b-3aazbt2t4a] .login-form-box .form-control {
        width: 100%;
        border-radius: 0.25rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    [b-3aazbt2t4a] .login-form-box .btn-primary {
        width: 30%;
        display: block;
        margin: 0 auto;
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }

        [b-3aazbt2t4a] .login-form-box .btn-primary:hover {
            background-color: #0056b3;
            border-color: #004085;
        }

        [b-3aazbt2t4a] .login-form-box .btn-primary:disabled {
            background-color: #6c757d;
            border-color: #6c757d;
        }

/* Correct styles for the password input group */
[b-3aazbt2t4a] .input-password {
    display: flex;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    [b-3aazbt2t4a] .input-password .form-control {
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: none; /* Remove individual shadow for input group */
    }

    [b-3aazbt2t4a] .input-password .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: 0;
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }

        [b-3aazbt2t4a] .input-password .btn:hover {
            background-color: #0056b3;
            border-color: #004085;
        }

[b-3aazbt2t4a] .form-label {
    font-weight: bold;
    color: #333;
}

[b-3aazbt2t4a] .alert-danger {
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

[b-3aazbt2t4a] .spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 1440px) and (min-width: 769px){
    .login-page-background[b-3aazbt2t4a] {
        padding-top: 2rem; /* Adjust padding for mobile */
    }

    [b-3aazbt2t4a] .login-form-box {
        width: 100%;
        max-width: 90%;
        min-height: 100%;
        height: auto;
        padding: 2rem;
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 3rem;
    }

    [b-3aazbt2t4a] .login-form-box .btn-primary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .login-page-background[b-3aazbt2t4a] {
        padding-top: 2rem; /* Adjust padding for mobile */
    }

    [b-3aazbt2t4a] .login-form-box {
        width: 100%;
        max-width: 90%;
        min-height: 100%;
        height: auto;
        padding: 2rem;
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    [b-3aazbt2t4a] .login-form-box .btn-primary {
        width: 100%;
    }
}
/* /Components/Pages/Logout.razor.rz.scp.css */
.logout-page-background[b-a1q0a8n6mh] {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align to the top */
    padding: 5rem 1rem 1rem 1rem; /* Add padding to push content down from the top */
}

[b-a1q0a8n6mh] .logout-title {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    border: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
    color: #333;
}

[b-a1q0a8n6mh] .logout-form-box {
    width: 25%;
    max-width: 800px;
    margin: 1rem auto;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the text and button inside */
    background-color: white !important;
}

    [b-a1q0a8n6mh] .logout-form-box p {
        margin-bottom: 1rem;
        color: #333;
    }

    [b-a1q0a8n6mh] .logout-form-box strong {
        color: #007bff;
    }

.logout-actions[b-a1q0a8n6mh] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

[b-a1q0a8n6mh] .logout-form-box .btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    padding: 0.5rem 1.5rem;
    min-width: 100px;
}

    [b-a1q0a8n6mh] .logout-form-box .btn-primary:hover {
        background-color: #c82333;
        border-color: #bd2130;
    }

[b-a1q0a8n6mh] .logout-form-box .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    padding: 0.5rem 1.5rem;
    min-width: 100px;
}

    [b-a1q0a8n6mh] .logout-form-box .btn-secondary:hover {
        background-color: #5a6268;
        border-color: #545b62;
    }

@media (max-width: 1097.98px) {
    .logout-page-background[b-a1q0a8n6mh] {
        padding-top: 2rem; /* Adjust padding for mobile */
    }

    [b-a1q0a8n6mh] .logout-form-box {
        width: 100%;
        max-width: 100%;
        min-height: 100%;
        height: auto;
        margin: 0;
        padding: 2rem;
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .logout-actions[b-a1q0a8n6mh] {
        flex-direction: column;
        gap: 0.5rem;
    }

    [b-a1q0a8n6mh] .logout-form-box .btn-primary,
    [b-a1q0a8n6mh] .logout-form-box .btn-secondary {
        width: 100%;
        min-width: unset;
    }
}
/* /Components/Pages/TransactionReview.razor.rz.scp.css */
/* Transaction Review Mobile Responsiveness */

/* Collapsible Filters for screens below 1024px */
@media (max-width: 1880px) {
    /* Filter collapse button */
    .filter-collapse-btn[b-1pewxoq4bx] {
        width: 100%;
        background-color: #0480BE;
        border: none;
        color: white;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 0.375rem;
        margin-bottom: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
    }
    
    .filter-collapse-btn:hover[b-1pewxoq4bx] {
        background-color: #0366a0;
        color: white;
    }
    
    .filter-collapse-btn:focus[b-1pewxoq4bx] {
        box-shadow: 0 0 0 2px rgba(4, 128, 190, 0.25);
        outline: none;
    }
    
    .filter-collapse-btn .bi[b-1pewxoq4bx] {
        transition: transform 0.3s ease;
    }
    
    .filter-collapse-btn[aria-expanded="true"] .bi-chevron-down[b-1pewxoq4bx] {
        transform: rotate(180deg);
    }
    
    /* Filter section adjustments */
    .filters-card[b-1pewxoq4bx] {
        border: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .filters-card .card-header[b-1pewxoq4bx] {
        display: none; /* Hide original header when collapsed */
    }
    
    .filters-card .card-body[b-1pewxoq4bx] {
        padding: 1rem;
    }
    
    /* Collapsible content */
    .filter-collapse-content[b-1pewxoq4bx] {
        transition: all 0.3s ease;
    }
    
    .filter-collapse-content.collapsing[b-1pewxoq4bx] {
        transition: height 0.35s ease;
    }

    /* Table container with horizontal scroll */
    .table-responsive-custom[b-1pewxoq4bx] {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        border-radius: 0.375rem;
        border: 1px solid #dee2e6;
    }

    .table-responsive-custom[b-1pewxoq4bx]::-webkit-scrollbar {
        height: 8px;
    }

    .table-responsive-custom[b-1pewxoq4bx]::-webkit-scrollbar-track {
        background: #f8f9fa;
        border-radius: 4px;
    }

    .table-responsive-custom[b-1pewxoq4bx]::-webkit-scrollbar-thumb {
        background: #6c757d;
        border-radius: 4px;
    }

    .table-responsive-custom[b-1pewxoq4bx]::-webkit-scrollbar-thumb:hover {
        background: #5a6268;
    }

    /* Table width and column constraints */
    .table-responsive-custom table[b-1pewxoq4bx] {
        min-width: 800px; /* Minimum table width */
        margin-bottom: 0;
    }

    .table-responsive-custom th[b-1pewxoq4bx],
    .table-responsive-custom td[b-1pewxoq4bx] {
        white-space: nowrap;
        min-width: 100px;
        padding: 0.5rem 0.75rem;
    }

    /* Fixed column widths for better horizontal scrolling */
    .table-responsive-custom th:first-child[b-1pewxoq4bx],
    .table-responsive-custom td:first-child[b-1pewxoq4bx] {
        min-width: 60px; /* ID column */
    }

    .table-responsive-custom th:nth-child(2)[b-1pewxoq4bx],
    .table-responsive-custom td:nth-child(2)[b-1pewxoq4bx] {
        min-width: 120px; /* Date column */
    }

    .table-responsive-custom th:nth-child(3)[b-1pewxoq4bx],
    .table-responsive-custom td:nth-child(3)[b-1pewxoq4bx] {
        min-width: 150px; /* Member column */
    }

    .table-responsive-custom th:last-child[b-1pewxoq4bx],
    .table-responsive-custom td:last-child[b-1pewxoq4bx] {
        min-width: 120px; /* Actions column */
        position: sticky;
        right: 0;
        background-color: white;
        border-left: 1px solid #dee2e6;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    /* Filter Cards Mobile Optimization */
    .filter-collapse-btn[b-1pewxoq4bx] {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .card-header h5[b-1pewxoq4bx] {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .card-header small[b-1pewxoq4bx] {
        display: block;
        margin-top: 0.25rem;
    }
    
    /* Form controls in filters */
    .form-select[b-1pewxoq4bx],
    .form-control[b-1pewxoq4bx] {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Refresh button adjustments */
    .btn-group .btn[b-1pewxoq4bx] {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    .dropdown-menu[b-1pewxoq4bx] {
        font-size: 0.85rem;
    }

    /* Status cards mobile improvements */
    .card-body[b-1pewxoq4bx] {
        padding: 1rem 0.75rem;
    }

    .card-title[b-1pewxoq4bx] {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .display-6[b-1pewxoq4bx] {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .cursor-pointer[b-1pewxoq4bx] {
        transition: transform 0.1s ease-in-out;
    }

    .cursor-pointer:hover[b-1pewxoq4bx] {
        transform: scale(1.02);
    }

    /* Card header adjustments */
    .card-header .d-flex[b-1pewxoq4bx] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .card-header h5[b-1pewxoq4bx] {
        margin-bottom: 0.25rem;
    }

    .card-header small[b-1pewxoq4bx] {
        align-self: flex-end;
    }

    /* footer */
    .card-footer[b-1pewxoq4bx] {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .card-footer > div:first-child[b-1pewxoq4bx] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .form-select-sm[b-1pewxoq4bx] {
        width: auto !important;
        min-width: 80px;
    }

    /* Auto-refresh notice mobile optimization */
    .alert[b-1pewxoq4bx] {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .alert .btn[b-1pewxoq4bx] {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        margin-left: 0.5rem;
    }

    /* Empty state improvements */
    .text-center.text-muted.py-4[b-1pewxoq4bx] {
        padding: 2rem 1rem !important;
    }

    .text-center.text-muted.py-4 .display-4[b-1pewxoq4bx] {
        font-size: 2.5rem;
    }

    .text-center.text-muted.py-4 p[b-1pewxoq4bx] {
        font-size: 0.9rem;
    }

    /* Focus improvements for mobile */
    .btn:focus[b-1pewxoq4bx],
    .form-select:focus[b-1pewxoq4bx],
    .form-control:focus[b-1pewxoq4bx] {
        box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
        outline: none;
    }

    /* Increase touch targets */
    .card.cursor-pointer[b-1pewxoq4bx] {
        min-height: 80px;
    }

    .card.cursor-pointer .card-body[b-1pewxoq4bx] {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Smaller table text for mobile */
    .table-responsive-custom[b-1pewxoq4bx] {
        font-size: 0.85rem;
    }
    
    .table-responsive-custom th[b-1pewxoq4bx],
    .table-responsive-custom td[b-1pewxoq4bx] {
        padding: 0.4rem 0.6rem;
        min-width: 80px;
    }
}

/* Status Cards Mobile Layout */
@media (max-width: 992px) {
    /* Stack status cards on medium screens */
    .row .col-md-4:has(.card.border-warning)[b-1pewxoq4bx],
    .row .col-md-4:has(.card.border-success)[b-1pewxoq4bx],
    .row .col-md-4:has(.card.border-danger)[b-1pewxoq4bx] {
        margin-bottom: 1rem;
    }
}

/* Mobile-specific button improvements */
@media (max-width: 576px) {
    /* Smaller buttons on very small screens */
    .btn[b-1pewxoq4bx] {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .btn-sm[b-1pewxoq4bx] {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    /* Filter collapse button for very small screens */
    .filter-collapse-btn[b-1pewxoq4bx] {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }
    
    /* Dropdown menu improvements */
    .dropdown-menu[b-1pewxoq4bx] {
        font-size: 0.8rem;
        min-width: 160px;
    }
    
    .dropdown-item[b-1pewxoq4bx] {
        padding: 0.4rem 0.75rem;
    }
    
    /* Status card display adjustments */
    .display-6[b-1pewxoq4bx] {
        font-size: 1.75rem;
    }
    
    .card-title[b-1pewxoq4bx] {
        font-size: 0.9rem;
    }
    
    /* Reduce spacing on very small screens */
    .container-fluid[b-1pewxoq4bx] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .mb-4[b-1pewxoq4bx] {
        margin-bottom: 1.5rem !important;
    }

    /* Loading indicator mobile adjustments */
    .spinner-border[b-1pewxoq4bx] {
        width: 2rem !important;
        height: 2rem !important;
    }

    .text-center.my-5[b-1pewxoq4bx] {
        margin: 2rem 0 !important;
    }

    .text-center.my-5 p[b-1pewxoq4bx] {
        font-size: 0.9rem;
        margin-top: 1rem !important;
    }

    /* Badge and count change indicators */
    .badge[b-1pewxoq4bx] {
        font-size: 0.65rem;
    }

    .ms-2[b-1pewxoq4bx] {
        margin-left: 0.25rem !important;
    }

    .ms-3[b-1pewxoq4bx] {
        margin-left: 0.5rem !important;
    }

    /* Prevent horizontal scroll on small screens */
    .row[b-1pewxoq4bx] {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .row > *[b-1pewxoq4bx] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Even smaller table text */
    .table-responsive-custom[b-1pewxoq4bx] {
        font-size: 0.8rem;
    }
    
    .table-responsive-custom th[b-1pewxoq4bx],
    .table-responsive-custom td[b-1pewxoq4bx] {
        padding: 0.3rem 0.5rem;
        min-width: 70px;
    }
    
    /* Sticky actions column for small screens */
    .table-responsive-custom th:last-child[b-1pewxoq4bx],
    .table-responsive-custom td:last-child[b-1pewxoq4bx] {
        min-width: 100px;
    }
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
    .filter-collapse-btn[b-1pewxoq4bx] {
        border: 2px solid #ffffff;
    }
    
    .table-responsive-custom[b-1pewxoq4bx] {
        border: 2px solid #000000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .filter-collapse-btn .bi[b-1pewxoq4bx],
    .filter-collapse-content[b-1pewxoq4bx],
    .cursor-pointer[b-1pewxoq4bx] {
        transition: none;
    }
}
/* /Components/Shared/UserSummaryCards.razor.rz.scp.css */
.draggable-modal .modal-header[b-z3ldb707ot] {
    cursor: move;
}

.table-container[b-z3ldb707ot] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

    .table-container[b-z3ldb707ot]::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .table-container[b-z3ldb707ot]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .table-container[b-z3ldb707ot]::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }

        .table-container[b-z3ldb707ot]::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

.modal-fullscreen .modal-dialog[b-z3ldb707ot] {
    width: 95vw;
    height: 95vh;
    max-width: none;
    max-height: none;
    margin: 2.5vh auto;
}

.modal-fullscreen .modal-content[b-z3ldb707ot] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-fullscreen .modal-body[b-z3ldb707ot] {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rounded-modal[b-z3ldb707ot] {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.custom-modal-size[b-z3ldb707ot] {
    width: 90vw;
    max-width: 90vw;
    height: 85vh;
    max-height: 85vh;
    margin: 2.5vh auto;
}

    .custom-modal-size .modal-content[b-z3ldb707ot] {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

.clickable-card:hover[b-z3ldb707ot] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.clickable-card:active[b-z3ldb707ot] {
    transform: translateY(0px);
}

.custom-modal-size[b-z3ldb707ot] {
    max-width: 95vw !important;
    width: 95vw !important;
}

/* Responsive styles for screens 700px and below */
@media (max-width: 700px) {
    /* Make modal title smaller - using very specific selector to override DraggableModalWrapper styles */
    .modal .modal-dialog .modal-content .modal-header .modal-title[b-z3ldb707ot],
    .modal .modal-dialog .modal-content .modal-header h5.modal-title[b-z3ldb707ot],
    .modal-header h5.modal-title.text-white[b-z3ldb707ot] {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }

    /* Alternative approach - target the specific header element */
    #userSummaryModalLabel[b-z3ldb707ot] {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }

    .fullscreen-button[b-z3ldb707ot],
    .close-button[b-z3ldb707ot]
    {
        font-size: 0.60rem !important;
    }

    /* Reduce padding in summary info section */
    .summary-modal[b-z3ldb707ot] {
        padding: 0.5rem !important;
    }

    /* Make summary cards more compact */
    .summary-card-body[b-z3ldb707ot] {
        padding: 0.5rem !important;
    }

    /* Reduce card title font size */
    .summary-card-body .card-title[b-z3ldb707ot] {
        font-size: 0.75rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.1;
        font-weight: bold !important;
    }

    .summary-card-body .card-value[b-z3ldb707ot] {
        font-size: 0.85rem !important;
        margin-bottom: 0.25rem !important;
    }

    .summary-card-body .card-value h4[b-z3ldb707ot] {
        font-size: 0.9rem !important;
    }

    .summary-card-body .card-value h6[b-z3ldb707ot] {
        font-size: 0.8rem !important;
    }

    [b-z3ldb707ot] .row.mb-4 {
        margin-bottom: 0.75rem !important;
    }

    [b-z3ldb707ot] .table .table-head {
        font-size: 0.7rem !important;
    }

    /* Make cards even more compact */
    [b-z3ldb707ot] .col-4 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}
