@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-3zdfotmiz1] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-3zdfotmiz1] {
    flex: 1;
}

.sidebar[b-3zdfotmiz1] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-3zdfotmiz1] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-3zdfotmiz1]  a, .top-row[b-3zdfotmiz1]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-3zdfotmiz1]  a:hover, .top-row[b-3zdfotmiz1]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-3zdfotmiz1]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-3zdfotmiz1] {
        justify-content: space-between;
    }

    .top-row[b-3zdfotmiz1]  a, .top-row[b-3zdfotmiz1]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-3zdfotmiz1] {
        flex-direction: row;
    }

    .sidebar[b-3zdfotmiz1] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3zdfotmiz1] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-3zdfotmiz1]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-3zdfotmiz1], article[b-3zdfotmiz1] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-3zdfotmiz1] {
    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-3zdfotmiz1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-h4z4ts1bqy] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-h4z4ts1bqy] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-h4z4ts1bqy] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-h4z4ts1bqy] {
    font-size: 1.1rem;
}

.bi[b-h4z4ts1bqy] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-h4z4ts1bqy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-h4z4ts1bqy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-h4z4ts1bqy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-h4z4ts1bqy] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-h4z4ts1bqy] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-h4z4ts1bqy] {
        padding-bottom: 1rem;
    }

    .nav-item[b-h4z4ts1bqy]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-h4z4ts1bqy]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-h4z4ts1bqy]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-h4z4ts1bqy] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-h4z4ts1bqy] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-h4z4ts1bqy] {
        display: none;
    }

    .nav-scrollable[b-h4z4ts1bqy] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-e1dkuz8vr3],
.components-reconnect-repeated-attempt-visible[b-e1dkuz8vr3],
.components-reconnect-failed-visible[b-e1dkuz8vr3],
.components-pause-visible[b-e1dkuz8vr3],
.components-resume-failed-visible[b-e1dkuz8vr3],
.components-rejoining-animation[b-e1dkuz8vr3] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-retrying[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-failed[b-e1dkuz8vr3],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-e1dkuz8vr3] {
    display: block;
}


#components-reconnect-modal[b-e1dkuz8vr3] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-e1dkuz8vr3 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-e1dkuz8vr3 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-e1dkuz8vr3 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-e1dkuz8vr3]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-e1dkuz8vr3 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-e1dkuz8vr3 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-e1dkuz8vr3 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-e1dkuz8vr3 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-e1dkuz8vr3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-e1dkuz8vr3] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-e1dkuz8vr3] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-e1dkuz8vr3] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-e1dkuz8vr3] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-e1dkuz8vr3] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-e1dkuz8vr3] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-e1dkuz8vr3 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-e1dkuz8vr3] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-e1dkuz8vr3 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Dashboard Styles - Modern Financial Dashboard Aesthetic */

:root[b-d6617k4i0p] {
    /* Color Palette - Deep Navy & Vibrant Accents */
    --navy-dark: #0a1929;
    --navy-medium: #1a2942;
    --navy-light: #233554;
    --accent-primary: #00d4ff;
    --accent-success: #00ff88;
    --accent-warning: #ffb800;
    --accent-danger: #ff4757;
    --text-primary: #e8eef5;
    --text-secondary: #8ea3bd;
    --text-muted: #5f7388;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #00ff88 0%, #00d4aa 100%);
    --gradient-warning: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
    --gradient-revenue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

body[b-d6617k4i0p] {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, var(--navy-dark) 10%, var(--navy-medium) 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

/* Dashboard Container */
.dashboard-container[b-d6617k4i0p] {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    animation: fadeIn-b-d6617k4i0p 0.6s ease-out;
    overflow: auto;
    height: 100%;
}

@keyframes fadeIn-b-d6617k4i0p {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Header */
.dashboard-header[b-d6617k4i0p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    animation: slideDown-b-d6617k4i0p 0.6s ease-out;
}

@keyframes slideDown-b-d6617k4i0p {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-title[b-d6617k4i0p] {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.dashboard-subtitle[b-d6617k4i0p] {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: var(--spacing-xs);
    font-weight: 400;
}

/* Create Invoice Button - Highly Visible */
.btn-create-invoice[b-d6617k4i0p] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(102, 126, 234, 0.4);
}

.btn-create-invoice:hover[b-d6617k4i0p] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(102, 126, 234, 0.5);
}

.btn-create-invoice i[b-d6617k4i0p] {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-outline[b-d6617k4i0p] {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover[b-d6617k4i0p] {
    background: var(--accent-primary);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-icon[b-d6617k4i0p] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover[b-d6617k4i0p] {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Stats Grid */
.stats-grid[b-d6617k4i0p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card[b-d6617k4i0p] {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 5px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    animation: slideUp 0.5s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.stat-card[b-d6617k4i0p]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover[b-d6617k4i0p] {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-card:hover[b-d6617k4i0p]::before {
    opacity: 1;
}

.stat-card:nth-child(1)[b-d6617k4i0p] {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2)[b-d6617k4i0p] {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3)[b-d6617k4i0p] {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4)[b-d6617k4i0p] {
    animation-delay: 0.4s;
}

@keyframes scaleIn-b-d6617k4i0p {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-card.total-revenue[b-d6617k4i0p]::before {
    background: var(--gradient-revenue);
}

.stat-card.total-invoices[b-d6617k4i0p]::before {
    background: var(--gradient-primary);
}

.stat-card.paid-invoices[b-d6617k4i0p]::before {
    background: var(--gradient-success);
}

.stat-card.avg-invoice[b-d6617k4i0p]::before {
    background: var(--gradient-warning);
}

.stat-icon[b-d6617k4i0p] {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
}

.total-revenue .stat-icon[b-d6617k4i0p] {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(0, 242, 254, 0.2));
    color: #00f2fe;
}

.total-invoices .stat-icon[b-d6617k4i0p] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
}

.paid-invoices .stat-icon[b-d6617k4i0p] {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 212, 170, 0.2));
    color: var(--accent-success);
}

.avg-invoice .stat-icon[b-d6617k4i0p] {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.2), rgba(255, 140, 0, 0.2));
    color: var(--accent-warning);
}

.stat-label[b-d6617k4i0p] {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.stat-value[b-d6617k4i0p] {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -1px;
}

.stat-change[b-d6617k4i0p] {
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: 4px;
}

    .stat-change.positive[b-d6617k4i0p] {
        color: var(--accent-success);
    }

    .stat-change.negative[b-d6617k4i0p] {
        color: var(--accent-danger);
    }

.stat-meta[b-d6617k4i0p] {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* Content Row */
.content-row[b-d6617k4i0p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 968px) {
    .content-row[b-d6617k4i0p] {
        grid-template-columns: 1fr;
    }
}

/* Subscription Card */
.subscription-card[b-d6617k4i0p],
.quick-stats-card[b-d6617k4i0p] {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    animation: scaleIn-b-d6617k4i0p 0.6s ease-out 0.5s backwards;
}

.card-header[b-d6617k4i0p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

    .card-header h3[b-d6617k4i0p] {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0;
        color: var(--text-primary);
    }

.plan-badge[b-d6617k4i0p] {
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .plan-badge.free[b-d6617k4i0p] {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-secondary);
    }

    .plan-badge.pro[b-d6617k4i0p] {
        background: var(--gradient-primary);
        color: white;
    }

.usage-info[b-d6617k4i0p] {
    margin-bottom: var(--spacing-md);
}

.usage-bar[b-d6617k4i0p] {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.usage-progress[b-d6617k4i0p] {
    height: 100%;
    background: var(--gradient-success);
    border-radius: var(--radius-sm);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.usage-text[b-d6617k4i0p] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.validity-info[b-d6617k4i0p] {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.alert-box[b-d6617k4i0p] {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
}

    .alert-box.warning[b-d6617k4i0p] {
        background: rgba(255, 184, 0, 0.1);
        border: 1px solid rgba(255, 184, 0, 0.3);
        color: var(--accent-warning);
    }

    .alert-box p[b-d6617k4i0p] {
        margin: 0;
    }

/* Quick Stats */
.quick-stats-card h3[b-d6617k4i0p] {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.quick-stats-list[b-d6617k4i0p] {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.quick-stat-item[b-d6617k4i0p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .quick-stat-item:last-child[b-d6617k4i0p] {
        border-bottom: none;
        padding-bottom: 0;
    }

    .quick-stat-item .label[b-d6617k4i0p] {
        color: var(--text-secondary);
        font-size: 0.875rem;
        font-weight: 500;
    }

    .quick-stat-item .value[b-d6617k4i0p] {
        color: var(--text-primary);
        font-size: 1rem;
        font-weight: 700;
        font-family: 'JetBrains Mono', monospace;
    }

/* Recent Invoices Section */
.recent-invoices-section[b-d6617k4i0p] {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    animation: scaleIn-b-d6617k4i0p 0.6s ease-out 0.6s backwards;
}

.section-header[b-d6617k4i0p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

    .section-header h3[b-d6617k4i0p] {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: var(--text-primary);
    }

.view-all-link[b-d6617k4i0p] {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

    .view-all-link:hover[b-d6617k4i0p] {
        gap: 8px;
        color: var(--accent-success);
    }

/* Invoices Table */
.invoices-table[b-d6617k4i0p] {
    overflow-x: auto;
}

    .invoices-table table[b-d6617k4i0p] {
        width: 100%;
        border-collapse: collapse;
    }

    .invoices-table thead[b-d6617k4i0p] {
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .invoices-table th[b-d6617k4i0p] {
        text-align: left;
        padding: var(--spacing-sm);
        font-size: 0.8rem;
        color: var(--text-secondary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .invoices-table tbody tr[b-d6617k4i0p] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background 0.2s ease;
    }

        .invoices-table tbody tr:hover[b-d6617k4i0p] {
            background: rgba(255, 255, 255, 0.03);
        }

    .invoices-table td[b-d6617k4i0p] {
        padding: var(--spacing-md) var(--spacing-sm);
        color: var(--text-primary);
    }

.invoice-number[b-d6617k4i0p] {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--accent-primary);
}

.customer-info[b-d6617k4i0p] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customer-name[b-d6617k4i0p] {
    font-weight: 600;
}

.customer-phone[b-d6617k4i0p] {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.amount[b-d6617k4i0p] {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 1rem;
}

.date[b-d6617k4i0p] {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Status Badge */
.status-badge[b-d6617k4i0p] {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
}

.status-badge.draft[b-d6617k4i0p] {
    background: rgba(79, 172, 254, 0.2);
    color: var(--text-secondary);
}

.status-badge.sent[b-d6617k4i0p] {
    background: rgba(255, 184, 0, 0.15);
    color: var(--accent-warning);
}

.status-badge.paid[b-d6617k4i0p] {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-success);
}

.status-badge.cancelled[b-d6617k4i0p] {
    background: rgba(255, 71, 87, 0.15);
    color: var(--accent-danger);
}

/* Action Buttons */
.action-buttons[b-d6617k4i0p] {
    display: flex;
    gap: var(--spacing-xs);
}

/* Empty State */
.empty-state[b-d6617k4i0p] {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    color: var(--text-secondary);
}

    .empty-state i[b-d6617k4i0p] {
        font-size: 4rem;
        color: var(--text-muted);
        margin-bottom: var(--spacing-md);
        opacity: 0.5;
    }

    .empty-state h4[b-d6617k4i0p] {
        font-size: 1.25rem;
        color: var(--text-primary);
        margin-bottom: var(--spacing-xs);
    }

    .empty-state p[b-d6617k4i0p] {
        margin-bottom: var(--spacing-md);
    }

/* Loading State */
.loading-state[b-d6617k4i0p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: var(--spacing-md);
}

.spinner[b-d6617k4i0p] {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin-b-d6617k4i0p 1s linear infinite;
}

@keyframes spin-b-d6617k4i0p {
    to {
        transform: rotate(360deg);
    }
}

.loading-state p[b-d6617k4i0p] {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Error State */
.error-state[b-d6617k4i0p] {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
}

    .error-state i[b-d6617k4i0p] {
        font-size: 4rem;
        color: var(--accent-danger);
        margin-bottom: var(--spacing-md);
    }

    .error-state h3[b-d6617k4i0p] {
        color: var(--text-primary);
        margin-bottom: var(--spacing-xs);
    }

    .error-state p[b-d6617k4i0p] {
        margin-bottom: var(--spacing-md);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container[b-d6617k4i0p] {
        padding: var(--spacing-md);
    }

    .dashboard-header[b-d6617k4i0p] {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .dashboard-title[b-d6617k4i0p] {
        font-size: 2rem;
    }

    .stats-grid[b-d6617k4i0p] {
        grid-template-columns: 1fr;
    }

    .invoices-table[b-d6617k4i0p] {
        font-size: 0.875rem;
    }

        .invoices-table th[b-d6617k4i0p],
        .invoices-table td[b-d6617k4i0p] {
            padding: var(--spacing-xs);
        }
}
/* /Components/Pages/Invoice/CreateInvoice.razor.rz.scp.css */
/* ── Consistent button styling ── */
.btn-action[b-j1wr728mfb] {
    min-width: 120px; /* consistent minimum width */
    height: 42px; /* fixed height for all main buttons */
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.page-header[b-j1wr728mfb] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 24px;
}

@media (min-width: 576px) {
    .page-header[b-j1wr728mfb] {
        flex-direction: row;
        align-items: flex-start;
    }
}
.btn-action-sm[b-j1wr728mfb] {
    min-width: 90px;
    height: 36px;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

.premium-btn-save[b-j1wr728mfb] {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    box-shadow: 0 6px 20px rgba(99,102,241,0.25);
}

    .premium-btn-save:hover[b-j1wr728mfb] {
        transform: translateY(-1px);
        box-shadow: 0 10px 30px rgba(99,102,241,0.35);
    }

/* ── Responsive table ── */
.table-responsive[b-j1wr728mfb] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    margin-bottom: 1rem;
}

.table[b-j1wr728mfb] {
    min-width: 600px; /* forces horizontal scroll when screen < ~600px */
}

.btn-view-all-invoice[b-j1wr728mfb] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

    .btn-view-all-invoice:hover[b-j1wr728mfb] {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
    }

@media (max-width: 576px) {
    .btn-view-all-invoice[b-j1wr728mfb] {
        align-items: center;
        width: 100%;
        padding: 0.85rem;
    }
}

/* Smaller screens adjustments */
@media (max-width: 576px) {
    .btn-action[b-j1wr728mfb] {
        min-width: 100%;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .btn-action + .btn-action[b-j1wr728mfb] {
        margin-left: 0 !important;
    }

    .table th[b-j1wr728mfb], .table td[b-j1wr728mfb] {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

        /* Optional: make description column more flexible */
        .table td:first-child[b-j1wr728mfb] {
            min-width: 180px;
            white-space: normal;
        }

    /* Make remove button full width on very small screens */
    .table .btn-action-sm[b-j1wr728mfb] {
        width: 100%;
    }

    h3[b-j1wr728mfb] {
        font-size: 1.5rem;
    }
}

/* Make sure form controls are full-width and have good spacing on mobile */
.card-body .form-label[b-j1wr728mfb] {
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.card-body .form-control[b-j1wr728mfb] {
    width: 100%; /* already default, but explicit */
    padding: 0.6rem 0.75rem;
}

/* Better vertical spacing on small screens */
@media (max-width: 576px) {
    .card[b-j1wr728mfb] {
        margin-left: -0.5rem;
        margin-right: -0.5rem; /* full-bleed on mobile */
    }

    .card-body[b-j1wr728mfb] {
        padding: 1.25rem 1rem; /* slightly less horizontal padding */
    }

    .mb-3[b-j1wr728mfb] {
        margin-bottom: 1.25rem !important; /* more breathing room */
    }

    h5[b-j1wr728mfb] {
        font-size: 1.15rem; /* slightly smaller heading on phone */
    }
}

/* Optional: make card look better on very small screens */
@media (max-width: 400px) {
    .card-header[b-j1wr728mfb] {
        padding: 0.75rem 1rem;
    }

    .card-body[b-j1wr728mfb] {
        padding: 1rem 0.75rem;
    }
}
