/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Clean slate - removed all conflicting styles */
/* The sidebar styles are now contained within the NavMenu component */

/* Only keep essential error UI styling */
#blazor-error-ui[b-zfj093s3so] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-zfj093s3so] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Mobile Header */
.mobile-header[b-wgwgse6afh] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(90deg, #4A90A4 0%, #2D5A87 100%);
    color: white;
    z-index: 1001;
    align-items: center;
    padding: 0 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn[b-wgwgse6afh] {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-right: 12px;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mobile-menu-btn:hover[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-btn:focus[b-wgwgse6afh] {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }

.mobile-logo-section[b-wgwgse6afh] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.mobile-nav-logo[b-wgwgse6afh] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.mobile-brand-name[b-wgwgse6afh] {
    font-size: 16px;
    font-weight: 600;
}

.mobile-spacer[b-wgwgse6afh] {
    width: 40px; /* Space for potential right-side elements */
}

/* Sidebar Styles */
.sidebar[b-wgwgse6afh] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(180deg, #4A90A4 0%, #2D5A87 100%);
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sidebar-header[b-wgwgse6afh] {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-close[b-wgwgse6afh] {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

    .sidebar-close:hover[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar-close:focus[b-wgwgse6afh] {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }

.logo-section[b-wgwgse6afh] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo[b-wgwgse6afh] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.brand-info[b-wgwgse6afh] {
    display: flex;
    flex-direction: column;
}

.brand-name[b-wgwgse6afh] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.brand-tagline[b-wgwgse6afh] {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

.user-profile[b-wgwgse6afh] {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar[b-wgwgse6afh] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle[b-wgwgse6afh] {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7CB342, #81C784);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

    .avatar-circle.guest[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.2);
    }

.user-info[b-wgwgse6afh] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.user-name[b-wgwgse6afh] {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email[b-wgwgse6afh] {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-info[b-wgwgse6afh] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-text[b-wgwgse6afh] {
    font-size: 14px;
    opacity: 0.8;
}

.nav-menu[b-wgwgse6afh] {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.nav-section[b-wgwgse6afh] {
    margin-bottom: 30px;
}

.nav-section-title[b-wgwgse6afh] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 20px;
    opacity: 0.7;
}

.nav-item[b-wgwgse6afh] {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    margin: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    min-height: 44px; /* Better touch targets */
    cursor: pointer;
    border: none;
    background: none;
    width: calc(100% - 20px);
}

    .nav-item:hover[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: translateX(4px);
    }

    .nav-item:focus[b-wgwgse6afh] {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }

    .nav-item.active[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

        .nav-item.active[b-wgwgse6afh]::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 20px;
            background: #7CB342;
            border-radius: 0 2px 2px 0;
        }

.nav-icon[b-wgwgse6afh] {
    width: 20px;
    font-size: 16px;
    margin-right: 12px;
    text-align: center;
    flex-shrink: 0;
}

.nav-text[b-wgwgse6afh] {
    flex: 1;
    text-align: left;
}

.nav-badge[b-wgwgse6afh] {
    background: #7CB342;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Navigation button styling for logout */
.nav-button[b-wgwgse6afh] {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    padding: 0;
}

.logout-form[b-wgwgse6afh] {
    margin: 0;
    width: 100%;
}

.sidebar-footer[b-wgwgse6afh] {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-form[b-wgwgse6afh] {
    width: 100%;
}

.logout-btn[b-wgwgse6afh] {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 44px; /* Better touch targets */
}

    .logout-btn:hover[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-1px);
    }

    .logout-btn:focus[b-wgwgse6afh] {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }

.footer-info[b-wgwgse6afh] {
    text-align: center;
}

.footer-text[b-wgwgse6afh] {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
    line-height: 1.4;
}

.sidebar-overlay[b-wgwgse6afh] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .sidebar-overlay.active[b-wgwgse6afh] {
        display: block;
        opacity: 1;
    }

/* Main content adjustment */
body[b-wgwgse6afh] {
    margin-left: 280px;
    transition: margin-left 0.3s ease;
}

/* Scrollbar Styling */
.nav-menu[b-wgwgse6afh]::-webkit-scrollbar {
    width: 4px;
}

.nav-menu[b-wgwgse6afh]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu[b-wgwgse6afh]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

    .nav-menu[b-wgwgse6afh]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

/* Contact Button */
.contact-btn[b-wgwgse6afh] {
    width: 100%;
    background: rgba(124, 179, 66, 0.15);
    border: 1px solid rgba(124, 179, 66, 0.3);
    color: #7CB342;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 44px;
    margin-bottom: 12px;
}

    .contact-btn:hover[b-wgwgse6afh] {
        background: rgba(124, 179, 66, 0.25);
        border-color: #7CB342;
        transform: translateY(-1px);
    }

    .contact-btn:focus[b-wgwgse6afh] {
        outline: 2px solid rgba(124, 179, 66, 0.5);
        outline-offset: 2px;
    }

/* Contact Modal */
.contact-modal-overlay[b-wgwgse6afh] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    padding: 20px;
}

.contact-modal-content[b-wgwgse6afh] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

    .contact-modal-content[b-wgwgse6afh]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #7CB342, #4A90A4, #2D5A87);
        border-radius: 20px 20px 0 0;
    }

.contact-modal-header[b-wgwgse6afh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

    .contact-modal-header h3[b-wgwgse6afh] {
        margin: 0;
        color: #2D5A87;
        font-weight: 600;
        font-size: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.contact-modal-close[b-wgwgse6afh] {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .contact-modal-close:hover[b-wgwgse6afh] {
        background: rgba(108, 117, 125, 0.1);
        color: #4A90A4;
    }

.contact-modal-body[b-wgwgse6afh] {
    padding: 0 30px 30px 30px;
}

.contact-description[b-wgwgse6afh] {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: center;
}

.contact-info[b-wgwgse6afh] {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item[b-wgwgse6afh] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(233, 236, 239, 0.5);
}

    .contact-item i[b-wgwgse6afh] {
        font-size: 16px;
        color: #4A90A4;
        width: 20px;
        text-align: center;
    }

    .contact-item span[b-wgwgse6afh] {
        color: #2D5A87;
        font-weight: 500;
    }

.contact-modal-actions[b-wgwgse6afh] {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.btn-cancel[b-wgwgse6afh], .btn-contact-email[b-wgwgse6afh] {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    text-decoration: none;
}

.btn-cancel[b-wgwgse6afh] {
    background: rgba(108, 117, 125, 0.1);
    border: 2px solid rgba(108, 117, 125, 0.3);
    color: #6c757d;
}

    .btn-cancel:hover:not(:disabled)[b-wgwgse6afh] {
        background: rgba(108, 117, 125, 0.2);
        border-color: #6c757d;
    }

.btn-contact-email[b-wgwgse6afh] {
    background: linear-gradient(135deg, #4A90A4 0%, #2D5A87 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

    .btn-contact-email:hover:not(:disabled)[b-wgwgse6afh] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
    }

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .mobile-header[b-wgwgse6afh] {
        display: flex;
    }

    .sidebar[b-wgwgse6afh] {
        transform: translateX(-100%);
        z-index: 1002; /* Higher than mobile header */
    }

        .sidebar.open[b-wgwgse6afh] {
            transform: translateX(0);
        }

    .sidebar-close[b-wgwgse6afh] {
        display: flex;
    }

    body[b-wgwgse6afh] {
        margin-left: 0;
        padding-top: 60px; /* Space for mobile header */
    }

        body.sidebar-open[b-wgwgse6afh] {
            overflow: hidden;
        }

    /* Make touch targets larger on mobile */
    .nav-item[b-wgwgse6afh] {
        padding: 16px 20px;
        min-height: 48px;
    }

    .logout-btn[b-wgwgse6afh] {
        padding: 16px;
        min-height: 48px;
    }

    .mobile-menu-btn[b-wgwgse6afh] {
        padding: 12px;
        min-height: 48px;
        min-width: 48px;
    }

    .sidebar-close[b-wgwgse6afh] {
        min-height: 48px;
        min-width: 48px;
    }

    .contact-modal-content[b-wgwgse6afh] {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }

    .contact-modal-header[b-wgwgse6afh], .contact-modal-body[b-wgwgse6afh] {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-modal-actions[b-wgwgse6afh] {
        flex-direction: column;
    }

    .btn-cancel[b-wgwgse6afh], .btn-contact-email[b-wgwgse6afh] {
        width: 100%;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .sidebar[b-wgwgse6afh] {
        width: 260px;
    }

    body[b-wgwgse6afh] {
        margin-left: 260px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .sidebar[b-wgwgse6afh] {
        width: 100vw;
        max-width: 320px;
    }

    .mobile-header[b-wgwgse6afh] {
        padding: 0 12px;
    }

    .mobile-brand-name[b-wgwgse6afh] {
        font-size: 14px;
    }

    .user-profile[b-wgwgse6afh] {
        padding: 16px;
    }

    .nav-menu[b-wgwgse6afh] {
        padding: 16px 0;
    }

    .sidebar-footer[b-wgwgse6afh] {
        padding: 16px;
    }

    .nav-item[b-wgwgse6afh] {
        margin: 0 8px;
        padding: 14px 16px;
    }

    .contact-modal-header[b-wgwgse6afh], .contact-modal-body[b-wgwgse6afh] {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Landscape orientation on phones */
@media (max-height: 500px) and (max-width: 768px) {
    .sidebar-header[b-wgwgse6afh] {
        padding: 12px 20px;
    }

    .user-profile[b-wgwgse6afh] {
        padding: 12px 20px;
    }

    .nav-section[b-wgwgse6afh] {
        margin-bottom: 20px;
    }

    .sidebar-footer[b-wgwgse6afh] {
        padding: 12px 20px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-item:hover[b-wgwgse6afh],
    .nav-item.active[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.25);
    }

    .logout-btn:hover[b-wgwgse6afh] {
        background: rgba(255, 255, 255, 0.25);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sidebar[b-wgwgse6afh],
    .nav-item[b-wgwgse6afh],
    .logout-btn[b-wgwgse6afh],
    .mobile-menu-btn[b-wgwgse6afh],
    .sidebar-close[b-wgwgse6afh],
    .sidebar-overlay[b-wgwgse6afh] {
        transition: none;
    }

        .nav-item:hover[b-wgwgse6afh] {
            transform: none;
        }

        .logout-btn:hover[b-wgwgse6afh] {
            transform: none;
        }
}
/* /Components/Pages/InvoiceDetails.razor.rz.scp.css */
*[b-ek6wao0q49] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body[b-ek6wao0q49] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4A90A4 0%, #2D5A87 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background decoration matching AdminReports */
.background-decoration[b-ek6wao0q49] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes[b-ek6wao0q49] {
    position: absolute;
    opacity: 0.1;
}

.shape1[b-ek6wao0q49] {
    width: 200px;
    height: 200px;
    background: #7CB342;
    border-radius: 50% 0 50% 0;
    top: 10%;
    right: 10%;
    animation: float-b-ek6wao0q49 6s ease-in-out infinite;
}

.shape2[b-ek6wao0q49] {
    width: 150px;
    height: 150px;
    background: #81C784;
    border-radius: 30% 70% 70% 30%;
    bottom: 15%;
    left: 15%;
    animation: float-b-ek6wao0q49 8s ease-in-out infinite reverse;
}

.shape3[b-ek6wao0q49] {
    width: 100px;
    height: 100px;
    background: #A5D6A7;
    border-radius: 25% 75% 25% 75%;
    top: 60%;
    right: 25%;
    animation: float-b-ek6wao0q49 10s ease-in-out infinite;
}

@keyframes float-b-ek6wao0q49 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.invoice-dashboard-container[b-ek6wao0q49] {
    max-width: 100vw; /* Use full viewport width */
    margin: 0;
    padding: 20px 10px; /* Reduced horizontal padding */
    min-height: 100vh;
}

/* Header with matching AdminReports styling */
.dashboard-header[b-ek6wao0q49] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

    .dashboard-header[b-ek6wao0q49]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #7CB342, #4A90A4, #2D5A87);
    }

.header-content[b-ek6wao0q49] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title[b-ek6wao0q49] {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2D5A87;
}

.welcome-text[b-ek6wao0q49] {
    opacity: 0.8;
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.admin-badge[b-ek6wao0q49] {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.header-actions[b-ek6wao0q49] {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Enhanced buttons matching AdminReports */
.btn[b-ek6wao0q49] {
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .btn[b-ek6wao0q49]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .btn:hover[b-ek6wao0q49]::before {
        left: 100%;
    }

.btn-primary[b-ek6wao0q49] {
    background: linear-gradient(135deg, #4A90A4 0%, #2D5A87 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

    .btn-primary:hover[b-ek6wao0q49] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
    }

.btn-secondary[b-ek6wao0q49] {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-danger[b-ek6wao0q49] {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-refresh[b-ek6wao0q49], .btn-create[b-ek6wao0q49] {
    background: linear-gradient(135deg, #4A90A4 0%, #2D5A87 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
    position: relative;
    overflow: hidden;
}

    .btn-refresh:hover:not(:disabled)[b-ek6wao0q49],
    .btn-create:hover:not(:disabled)[b-ek6wao0q49] {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
    }

    .btn-refresh:disabled[b-ek6wao0q49] {
        opacity: 0.7;
        cursor: not-allowed;
    }

/* Quick Stats Grid */
.quick-stats-grid[b-ek6wao0q49] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card[b-ek6wao0q49] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .stat-card[b-ek6wao0q49]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #7CB342, #4A90A4);
    }

    .stat-card:hover[b-ek6wao0q49] {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.stat-icon[b-ek6wao0q49] {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7CB342, #81C784);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.stat-card.new .stat-icon[b-ek6wao0q49] {
    background: linear-gradient(135deg, #42A5F5, #2196F3);
}

.stat-card.pending .stat-icon[b-ek6wao0q49] {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.stat-card.processed .stat-icon[b-ek6wao0q49] {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
}

.stat-content h3[b-ek6wao0q49] {
    font-size: 28px;
    font-weight: 700;
    color: #2D5A87;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-content p[b-ek6wao0q49] {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.stat-content small[b-ek6wao0q49] {
    color: #999;
    font-size: 11px;
    font-style: italic;
}

/* Content sections matching AdminReports */
.content-section[b-ek6wao0q49] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px; /* Reduced padding */
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%; /* Full width */
}

    .content-section[b-ek6wao0q49]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #7CB342, #4A90A4, #2D5A87);
    }

.section-header[b-ek6wao0q49] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(240, 240, 240, 0.5);
}

    .section-header h2[b-ek6wao0q49] {
        color: #2D5A87;
        font-size: 20px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

.section-count[b-ek6wao0q49] {
    color: #666;
    font-size: 14px;
    background: rgba(74, 144, 164, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.loading-indicator[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A90A4;
    font-size: 14px;
    font-weight: 500;
}

    .loading-indicator i[b-ek6wao0q49] {
        font-size: 16px;
    }

/* Filter Panel */
.filter-panel[b-ek6wao0q49] {
    margin-bottom: 25px;
}

.filter-header[b-ek6wao0q49] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.filter-title[b-ek6wao0q49] {
    color: #2D5A87;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.filter-toggle-btn[b-ek6wao0q49] {
    background: none;
    border: none;
    color: #4A90A4;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .filter-toggle-btn:hover[b-ek6wao0q49] {
        background: rgba(74, 144, 164, 0.1);
    }

.search-section[b-ek6wao0q49] {
    margin-bottom: 15px;
}

.search-group[b-ek6wao0q49] {
    max-width: 400px;
}

.filter-body[b-ek6wao0q49] {
    background: rgba(248, 249, 250, 0.8);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.filter-row[b-ek6wao0q49] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label[b-ek6wao0q49] {
    font-weight: 500;
    color: #2D5A87;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-date-range[b-ek6wao0q49], .filter-amount-range[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range-separator[b-ek6wao0q49], .amount-range-separator[b-ek6wao0q49] {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.filter-actions[b-ek6wao0q49] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.input-group[b-ek6wao0q49] {
    display: flex;
    align-items: stretch;
}

.input-group-text[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(248, 249, 250, 0.8);
    border: 2px solid rgba(225, 229, 233, 0.5);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: #666;
}

.form-control[b-ek6wao0q49] {
    padding: 12px 15px;
    border: 2px solid rgba(225, 229, 233, 0.5);
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    background: rgba(248, 249, 250, 0.8);
    transition: all 0.3s ease;
    flex: 1;
}

    .form-control:focus[b-ek6wao0q49] {
        outline: none;
        border-color: #4A90A4;
        background: white;
        box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.1);
    }

.search-group .form-control[b-ek6wao0q49] {
    border-radius: 0 10px 10px 0;
}

/* Enhanced Table for Desktop */
.invoice-table-container[b-ek6wao0q49] {
    border: 1px solid rgba(233, 236, 239, 0.5);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    max-height: 75vh; /* Increased height */
    overflow-y: auto;
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    width: 100%; /* Full width */
}

.invoice-table[b-ek6wao0q49] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    min-width: 1600px; /* Increased to accommodate larger actions column */
    table-layout: fixed;
}

    .invoice-table th[b-ek6wao0q49] {
        text-align: left;
        padding: 10px 8px; /* Reduced padding for compactness */
        background: linear-gradient(135deg, rgba(248, 249, 250, 0.9), rgba(233, 236, 239, 0.9));
        font-weight: 600;
        color: #495057;
        font-size: 11px; /* Smaller header font */
        text-transform: uppercase;
        letter-spacing: 0.3px;
        position: sticky;
        top: 0;
        z-index: 10;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap; /* Prevent text wrapping */
    }

        .invoice-table th:hover[b-ek6wao0q49] {
            background: linear-gradient(135deg, rgba(124, 179, 66, 0.1), rgba(129, 199, 132, 0.1));
            color: #7CB342;
        }

    .invoice-table td[b-ek6wao0q49] {
        padding: 8px 6px; /* Reduced padding for compactness */
        border-bottom: 1px solid rgba(233, 236, 239, 0.5);
        font-size: 12px; /* Smaller cell font */
        vertical-align: middle;
        color: #495057;
        white-space: nowrap; /* Prevent text wrapping */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .invoice-table tbody tr[b-ek6wao0q49] {
        transition: all 0.3s ease;
    }

        .invoice-table tbody tr:hover[b-ek6wao0q49] {
            background: rgba(248, 249, 250, 0.8);
            transform: scale(1.005); /* Smaller hover effect */
        }

    /* Table Column Widths */
    .invoice-table th:nth-child(1)[b-ek6wao0q49], .invoice-table td:nth-child(1)[b-ek6wao0q49] {
        width: 9%;
    }
    /* Reference No */
    .invoice-table th:nth-child(2)[b-ek6wao0q49], .invoice-table td:nth-child(2)[b-ek6wao0q49] {
        width: 7%;
    }
    /* Amount */
    .invoice-table th:nth-child(3)[b-ek6wao0q49], .invoice-table td:nth-child(3)[b-ek6wao0q49] {
        width: 9%;
    }
    /* Company */
    .invoice-table th:nth-child(4)[b-ek6wao0q49], .invoice-table td:nth-child(4)[b-ek6wao0q49] {
        width: 7%;
    }
    /* Date */
    .invoice-table th:nth-child(5)[b-ek6wao0q49], .invoice-table td:nth-child(5)[b-ek6wao0q49] {
        width: 9%;
    }
    /* Department */
    .invoice-table th:nth-child(6)[b-ek6wao0q49], .invoice-table td:nth-child(6)[b-ek6wao0q49] {
        width: 11%;
    }
    /* Purpose */
    .invoice-table th:nth-child(7)[b-ek6wao0q49], .invoice-table td:nth-child(7)[b-ek6wao0q49] {
        width: 7%;
    }
    /* Status */
    .invoice-table th:nth-child(8)[b-ek6wao0q49], .invoice-table td:nth-child(8)[b-ek6wao0q49] {
        width: 11%;
    }
    /* Additional Info */
    .invoice-table th:nth-child(9)[b-ek6wao0q49], .invoice-table td:nth-child(9)[b-ek6wao0q49] {
        width: 9%;
    }
    /* Created By */
    .invoice-table th:nth-child(10)[b-ek6wao0q49], .invoice-table td:nth-child(10)[b-ek6wao0q49] {
        width: 9%;
    }
    /* Files */
    .invoice-table th:nth-child(11)[b-ek6wao0q49], .invoice-table td:nth-child(11)[b-ek6wao0q49] {
        width: 12%;
    }
    /* Actions - INCREASED WIDTH */
    .invoice-table th:nth-child(12)[b-ek6wao0q49], .invoice-table td:nth-child(12)[b-ek6wao0q49] {
        width: 20% !important;
        min-width: 250px !important;
        white-space: normal !important;
        overflow: visible !important;
    }

/* Sort indicator */
.sort-indicator[b-ek6wao0q49] {
    margin-left: 8px;
    opacity: 0.7;
}

/* Status badges */
.status-badge[b-ek6wao0q49] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px; /* Reduced padding */
    border-radius: 12px; /* Smaller border radius */
    font-weight: 700;
    font-size: 9px; /* Smaller font */
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 60px; /* Reduced width */
}

.status-new[b-ek6wao0q49] {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
}

.status-pending[b-ek6wao0q49] {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #F57C00;
}

.status-processed[b-ek6wao0q49] {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    color: #2E7D32;
}

/* Cell styling */
.amount-cell[b-ek6wao0q49] {
    font-weight: 700;
    color: #2D5A87;
    font-size: 13px; /* Slightly smaller */
}

.company-cell[b-ek6wao0q49] {
    font-weight: 500;
    max-width: 120px; /* Reduced max width */
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-cell[b-ek6wao0q49] {
    color: #666;
    font-size: 11px; /* Smaller date font */
}

.department-cell[b-ek6wao0q49] {
    background: rgba(74, 144, 164, 0.1);
    padding: 2px 6px; /* Reduced padding */
    border-radius: 8px; /* Smaller border radius */
    font-size: 10px; /* Smaller font */
    font-weight: 500;
    color: #2D5A87;
    display: inline-block;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ENHANCED ACTION BUTTONS - Better Visibility */
.action-buttons[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Increased gap */
    min-width: 220px; /* Increased minimum width */
    max-width: 280px; /* Added max width to prevent overflow */
    padding: 6px;
    background: rgba(248, 249, 250, 0.1);
    border-radius: 8px;
}

.action-section[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 10px; /* Increased gap */
    padding: 6px 10px; /* Increased padding */
    background: rgba(248, 249, 250, 0.9);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 236, 239, 0.3);
}

    .action-section:hover[b-ek6wao0q49] {
        background: rgba(248, 249, 250, 1);
        transform: translateX(3px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.action-section-label[b-ek6wao0q49] {
    font-size: 10px; /* Slightly larger */
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 55px; /* Increased width */
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-buttons-group[b-ek6wao0q49] {
    display: flex;
    gap: 6px; /* Increased gap */
    flex-wrap: wrap;
    align-items: center;
}

/* Enhanced action buttons */
.action-btn[b-ek6wao0q49] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px; /* Increased padding */
    border-radius: 6px; /* Larger border radius */
    border: 1px solid transparent;
    background: white;
    color: #666;
    font-size: 10px; /* Slightly larger font */
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    min-height: 28px; /* Increased height */
    min-width: 65px; /* Added minimum width */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .action-btn:hover[b-ek6wao0q49] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Specific button styling */
    .action-btn.edit[b-ek6wao0q49] {
        border-color: #4A90A4;
        color: #2D5A87;
        background: rgba(74, 144, 164, 0.05);
    }

        .action-btn.edit:hover[b-ek6wao0q49] {
            background: rgba(74, 144, 164, 0.15);
            color: #2D5A87;
            border-color: #2D5A87;
        }

    .action-btn.delete[b-ek6wao0q49] {
        border-color: #dc3545;
        color: #dc3545;
        background: rgba(220, 53, 69, 0.05);
    }

        .action-btn.delete:hover[b-ek6wao0q49] {
            background: rgba(220, 53, 69, 0.15);
            border-color: #c82333;
            color: #c82333;
        }

    .action-btn.invoice-view[b-ek6wao0q49] {
        border-color: #2196F3;
        color: #1976D2;
        background: rgba(33, 150, 243, 0.05);
    }

        .action-btn.invoice-view:hover[b-ek6wao0q49] {
            background: rgba(33, 150, 243, 0.15);
        }

    .action-btn.invoice-download[b-ek6wao0q49] {
        border-color: #4CAF50;
        color: #388E3C;
        background: rgba(76, 175, 80, 0.05);
    }

        .action-btn.invoice-download:hover[b-ek6wao0q49] {
            background: rgba(76, 175, 80, 0.15);
        }

    .action-btn.payment-view[b-ek6wao0q49] {
        border-color: #FF9800;
        color: #F57C00;
        background: rgba(255, 152, 0, 0.05);
    }

        .action-btn.payment-view:hover[b-ek6wao0q49] {
            background: rgba(255, 152, 0, 0.15);
        }

    .action-btn.payment-download[b-ek6wao0q49] {
        border-color: #4CAF50;
        color: #388E3C;
        background: rgba(76, 175, 80, 0.05);
    }

        .action-btn.payment-download:hover[b-ek6wao0q49] {
            background: rgba(76, 175, 80, 0.15);
        }

/* No file text styling */
.no-file-text[b-ek6wao0q49] {
    font-size: 10px;
    color: #999;
    font-style: italic;
    padding: 4px 8px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 4px;
    border: 1px dashed rgba(233, 236, 239, 0.8);
}

/* SIMPLIFIED ACTION BUTTONS FOR TESTING */
.action-buttons-simple[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
    padding: 8px;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 8px;
    border: 2px dashed #4A90A4;
}

.action-btn-simple[b-ek6wao0q49] {
    padding: 8px 12px;
    background: #4A90A4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 26px;
}

    .action-btn-simple:hover[b-ek6wao0q49] {
        background: #2D5A87;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .action-btn-simple.delete[b-ek6wao0q49] {
        background: #dc3545;
    }

        .action-btn-simple.delete:hover[b-ek6wao0q49] {
            background: #c82333;
        }

/* Files summary styling */
.files-summary[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.file-type-group[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.file-type-label[b-ek6wao0q49] {
    font-weight: 500;
    color: #666;
    min-width: 70px;
}

.file-count[b-ek6wao0q49] {
    color: #4A90A4;
    font-weight: 500;
}

.file-info[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 4px; /* Reduced gap */
}

.file-icon[b-ek6wao0q49] {
    width: 18px; /* Smaller icon */
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px; /* Smaller icon font */
}

.file-name[b-ek6wao0q49] {
    font-size: 10px; /* Smaller font */
    max-width: 80px; /* Reduced width */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile Cards */
.invoice-mobile[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-invoice-card[b-ek6wao0q49] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

    .mobile-invoice-card[b-ek6wao0q49]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #7CB342, #4A90A4);
    }

    .mobile-invoice-card.processed-card[b-ek6wao0q49]::before {
        background: linear-gradient(90deg, #66BB6A, #4CAF50);
    }

    .mobile-invoice-card.pending-card[b-ek6wao0q49]::before {
        background: linear-gradient(90deg, #FFD700, #FFA500);
    }

    .mobile-invoice-card:hover[b-ek6wao0q49] {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    }

.mobile-card-header[b-ek6wao0q49] {
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid rgba(240, 242, 247, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.invoice-info h3[b-ek6wao0q49] {
    color: #2D5A87;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.invoice-company[b-ek6wao0q49] {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.invoice-amount[b-ek6wao0q49] {
    color: #7CB342;
    font-size: 20px;
    font-weight: 700;
}

.status-info[b-ek6wao0q49] {
    text-align: right;
}

.invoice-date[b-ek6wao0q49] {
    color: #999;
    font-size: 12px;
    margin-top: 8px;
}

.mobile-details-grid[b-ek6wao0q49] {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-item[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .detail-item:hover[b-ek6wao0q49] {
        background: rgba(248, 249, 250, 0.8);
        transform: scale(1.02);
    }

    .detail-item.full-width[b-ek6wao0q49] {
        grid-column: span 2;
    }

.detail-icon[b-ek6wao0q49] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4A90A4, #2D5A87);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.detail-content[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.detail-label[b-ek6wao0q49] {
    font-size: 10px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value[b-ek6wao0q49] {
    font-size: 14px;
    font-weight: 500;
    color: #2D5A87;
    word-wrap: break-word;
}

.mobile-files-section[b-ek6wao0q49] {
    padding: 16px 20px;
    border-top: 1px solid rgba(240, 242, 247, 0.8);
}

    .mobile-files-section h4[b-ek6wao0q49] {
        color: #2D5A87;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

.mobile-files-grid[b-ek6wao0q49] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.file-section[b-ek6wao0q49] {
    background: rgba(248, 249, 250, 0.7);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(233, 236, 239, 0.5);
}

.file-section-header[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.file-actions[b-ek6wao0q49] {
    display: flex;
    gap: 6px;
}

.mobile-btn[b-ek6wao0q49] {
    flex: 1;
    min-height: 36px;
    border-radius: 8px;
    border: none;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.mobile-btn-view[b-ek6wao0q49] {
    background: linear-gradient(135deg, #42A5F5, #2196F3);
    color: white;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.mobile-btn-download[b-ek6wao0q49] {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.mobile-btn-primary[b-ek6wao0q49] {
    background: linear-gradient(135deg, #4A90A4 0%, #2D5A87 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.mobile-btn-danger[b-ek6wao0q49] {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.mobile-btn:hover[b-ek6wao0q49] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.no-file-mobile[b-ek6wao0q49] {
    font-size: 11px;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 8px;
}

.mobile-actions[b-ek6wao0q49] {
    padding: 16px 20px 20px 20px;
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(240, 242, 247, 0.8);
}

.access-restricted[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(248, 249, 250, 0.8);
    border: 2px dashed rgba(233, 236, 239, 0.8);
    border-radius: 10px;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    width: 100%;
}

/* Loading States */
.loading-state[b-ek6wao0q49] {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

    .loading-state i[b-ek6wao0q49] {
        color: #4A90A4;
        margin-bottom: 20px;
        opacity: 0.7;
    }

    .loading-state h3[b-ek6wao0q49] {
        color: #2D5A87;
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .loading-state p[b-ek6wao0q49] {
        font-size: 16px;
        margin-bottom: 30px;
        opacity: 0.8;
    }

.stat-loading[b-ek6wao0q49] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

    .stat-loading i[b-ek6wao0q49] {
        font-size: 24px;
        color: #4A90A4;
        opacity: 0.7;
    }

.loading-spinner[b-ek6wao0q49] {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.spinner-bounce[b-ek6wao0q49] {
    width: 70px;
    text-align: center;
}

    .spinner-bounce > div[b-ek6wao0q49] {
        width: 12px;
        height: 12px;
        background-color: #4A90A4;
        border-radius: 100%;
        display: inline-block;
        animation: sk-bouncedelay-b-ek6wao0q49 1.4s infinite ease-in-out both;
        margin: 0 2px;
    }

    .spinner-bounce .bounce1[b-ek6wao0q49] {
        animation-delay: -0.32s;
    }

    .spinner-bounce .bounce2[b-ek6wao0q49] {
        animation-delay: -0.16s;
    }

    .spinner-bounce .bounce3[b-ek6wao0q49] {
        animation-delay: 0s;
    }

@keyframes sk-bouncedelay-b-ek6wao0q49 {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

/* Empty State */
.empty-state[b-ek6wao0q49] {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

    .empty-state i[b-ek6wao0q49] {
        font-size: 48px;
        margin-bottom: 20px;
        opacity: 0.5;
        color: #4A90A4;
    }

    .empty-state h3[b-ek6wao0q49] {
        margin-bottom: 10px;
        color: #2D5A87;
        font-size: 24px;
    }

    .empty-state p[b-ek6wao0q49] {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.5;
    }

.empty-results[b-ek6wao0q49] {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

    .empty-results .empty-icon[b-ek6wao0q49] {
        font-size: 32px;
        margin-bottom: 15px;
        opacity: 0.5;
        color: #4A90A4;
    }

    .empty-results p[b-ek6wao0q49] {
        margin-bottom: 15px;
        font-size: 14px;
    }

/* Modal Styles */
.modal-backdrop[b-ek6wao0q49] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-ek6wao0q49] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

    .modal-content[b-ek6wao0q49]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #7CB342, #4A90A4, #2D5A87);
        border-radius: 20px 20px 0 0;
    }

.modal-header[b-ek6wao0q49] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

    .modal-header h4[b-ek6wao0q49] {
        margin: 0;
        color: #2D5A87;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.modal-title[b-ek6wao0q49] {
    color: #2D5A87;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close[b-ek6wao0q49] {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .modal-close:hover[b-ek6wao0q49] {
        background: rgba(108, 117, 125, 0.1);
        color: #4A90A4;
    }

.modal-body[b-ek6wao0q49] {
    margin-bottom: 20px;
}

.modal-footer[b-ek6wao0q49] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(233, 236, 239, 0.5);
}

.pdf-viewer[b-ek6wao0q49] {
    width: 100%;
    height: 60vh;
    border: 1px solid rgba(233, 236, 239, 0.5);
    border-radius: 10px;
}

.img-fluid[b-ek6wao0q49] {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Form styling for edit modal */
.edit-form .row[b-ek6wao0q49] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.form-label[b-ek6wao0q49] {
    font-weight: 500;
    color: #2D5A87;
    font-size: 14px;
}

.file-preview[b-ek6wao0q49] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid rgba(233, 236, 239, 0.5);
}

.file-preview-icon[b-ek6wao0q49] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-preview-details[b-ek6wao0q49] {
    flex: 1;
}

.file-preview-name[b-ek6wao0q49] {
    font-weight: 500;
    color: #2D5A87;
    margin-bottom: 4px;
}

.file-preview-meta[b-ek6wao0q49] {
    font-size: 12px;
    color: #666;
}

/* Files grid for modal */
.files-grid[b-ek6wao0q49] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.file-card[b-ek6wao0q49] {
    border: 1px solid rgba(233, 236, 239, 0.5);
    border-radius: 12px;
    padding: 1rem;
    background-color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .file-card:hover[b-ek6wao0q49] {
        border-color: #4A90A4;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.file-card-icon[b-ek6wao0q49] {
    text-align: center;
    font-size: 2rem;
    padding: 0.5rem 0;
}

.file-card-details[b-ek6wao0q49] {
    flex: 1;
    text-align: center;
}

.file-card-name[b-ek6wao0q49] {
    font-weight: 500;
    color: #2D5A87;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.file-card-meta[b-ek6wao0q49] {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

.file-card-actions[b-ek6wao0q49] {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Alerts */
.alert[b-ek6wao0q49] {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.alert-success[b-ek6wao0q49] {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger[b-ek6wao0q49] {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-icon[b-ek6wao0q49] {
    font-size: 18px;
}

/* Loading overlay */
.loader-overlay[b-ek6wao0q49] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.loader-container[b-ek6wao0q49] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.loader[b-ek6wao0q49] {
    border: 4px solid rgba(74, 144, 164, 0.2);
    border-radius: 50%;
    border-top: 4px solid #4A90A4;
    width: 50px;
    height: 50px;
    animation: spin-b-ek6wao0q49 1s linear infinite;
}

.loader-text[b-ek6wao0q49] {
    margin-top: 20px;
    font-weight: 600;
    color: #2D5A87;
    text-align: center;
}

@keyframes spin-b-ek6wao0q49 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive utilities */
.desktop-only[b-ek6wao0q49] {
    display: block !important;
}

.mobile-only[b-ek6wao0q49] {
    display: none !important;
}

.text-center[b-ek6wao0q49] {
    text-align: center;
}

.py-4[b-ek6wao0q49] {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.text-muted[b-ek6wao0q49] {
    color: #6c757d;
}

.text-danger[b-ek6wao0q49] {
    color: #dc3545;
}

.text-primary[b-ek6wao0q49] {
    color: #007bff;
}

.text-info[b-ek6wao0q49] {
    color: #17a2b8;
}

.text-secondary[b-ek6wao0q49] {
    color: #6c757d;
}

.btn-sm[b-ek6wao0q49] {
    padding: 8px 16px;
    font-size: 12px;
}

.col-6[b-ek6wao0q49] {
    width: 100%;
}

/* Responsive breakpoints */
@media (max-width: 1400px) {
    .invoice-table[b-ek6wao0q49] {
        min-width: 1400px;
    }
}

@media (max-width: 1200px) {
    .invoice-table[b-ek6wao0q49] {
        min-width: 1200px;
    }

        .invoice-table th[b-ek6wao0q49], .invoice-table td[b-ek6wao0q49] {
            padding: 6px 4px;
            font-size: 11px;
        }

    .action-buttons[b-ek6wao0q49] {
        min-width: 180px;
    }

    .action-btn[b-ek6wao0q49] {
        min-width: 50px;
        padding: 5px 8px;
        font-size: 9px;
    }

    .action-section[b-ek6wao0q49] {
        padding: 4px 8px;
        gap: 8px;
    }
}

@media (max-width: 992px) {
    .action-buttons[b-ek6wao0q49] {
        min-width: 160px;
    }

    .action-section-label[b-ek6wao0q49] {
        min-width: 40px;
        font-size: 9px;
    }
}

/* Main responsive breakpoint */
@media (max-width: 768px) {
    .desktop-only[b-ek6wao0q49] {
        display: none !important;
    }

    .mobile-only[b-ek6wao0q49] {
        display: block !important;
    }

    .invoice-dashboard-container[b-ek6wao0q49] {
        padding: 15px;
    }

    .header-content[b-ek6wao0q49] {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .header-actions[b-ek6wao0q49] {
        width: 100%;
        justify-content: flex-start;
    }

    .dashboard-header[b-ek6wao0q49] {
        padding: 20px;
    }

    .dashboard-title[b-ek6wao0q49] {
        font-size: 24px;
    }

    .quick-stats-grid[b-ek6wao0q49] {
        grid-template-columns: 1fr;
    }

    .filter-row[b-ek6wao0q49] {
        grid-template-columns: 1fr;
    }

    .filter-date-range[b-ek6wao0q49], .filter-amount-range[b-ek6wao0q49] {
        flex-direction: column;
        gap: 8px;
    }

    .filter-actions[b-ek6wao0q49] {
        flex-direction: column;
    }

    .mobile-details-grid[b-ek6wao0q49] {
        grid-template-columns: 1fr;
    }

    .detail-item.full-width[b-ek6wao0q49] {
        grid-column: span 1;
    }

    .mobile-files-grid[b-ek6wao0q49] {
        grid-template-columns: 1fr;
    }

    .mobile-actions[b-ek6wao0q49] {
        flex-direction: column;
    }

    .modal-content[b-ek6wao0q49] {
        width: 95%;
        padding: 20px;
    }

    .edit-form .row[b-ek6wao0q49] {
        grid-template-columns: 1fr;
    }

    .files-grid[b-ek6wao0q49] {
        grid-template-columns: 1fr;
    }

    .file-type-group[b-ek6wao0q49] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .file-type-label[b-ek6wao0q49] {
        min-width: auto;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .invoice-dashboard-container[b-ek6wao0q49] {
        padding: 10px;
    }

    .content-section[b-ek6wao0q49], .dashboard-header[b-ek6wao0q49] {
        padding: 20px 15px;
    }

    .stat-card[b-ek6wao0q49] {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .stat-content h3[b-ek6wao0q49] {
        font-size: 24px;
    }

    .mobile-invoice-card[b-ek6wao0q49] {
        margin: 0 -5px 20px -5px;
        border-radius: 12px;
    }

    .mobile-card-header[b-ek6wao0q49] {
        padding: 16px 16px 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .status-info[b-ek6wao0q49] {
        text-align: left;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .detail-icon[b-ek6wao0q49] {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .modal-content[b-ek6wao0q49] {
        padding: 15px;
        margin: 10px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .invoice-info h3[b-ek6wao0q49] {
        font-size: 16px;
    }

    .stat-content h3[b-ek6wao0q49] {
        font-size: 20px;
    }

    .btn-refresh[b-ek6wao0q49], .btn-create[b-ek6wao0q49] {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .mobile-invoice-card:hover[b-ek6wao0q49],
    .detail-item:hover[b-ek6wao0q49],
    .mobile-btn:hover[b-ek6wao0q49] {
        transform: none;
    }

    .stat-card:hover[b-ek6wao0q49],
    .invoice-table tbody tr:hover[b-ek6wao0q49] {
        transform: none;
    }
}
