/* /Components/Pages/Billing/InvoicesPanel.razor.rz.scp.css */
/* Billing account selector – compact inline row.
   NOTE: none of these scoped rules reach inside MudBlazor component DOM
   (the scope attribute never appears in MudBlazor-rendered ancestors).
   The real fixes are in app.css as global CSS scoped by .billing-selector-select.
   The properties below only apply to the bottom-nav items and other directly-
   rendered elements in this component, but are kept for documentation clarity. */

[b-ts71ty2j0u] .detail-status-field {
    justify-content: flex-start;
}

[b-ts71ty2j0u] .detail-status-chip {
    vertical-align: middle;
    margin-top: 0;
}

[b-ts71ty2j0u] .detail-status-chip .mud-chip-content {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

/* Tabs: roomy on larger screens so labels are visible. */
[b-ts71ty2j0u] .invoices-tabs .mud-tab {
    min-width: 132px;
    padding: 8px 16px;
}

/* Tabs: no overflow scroll — touch events bubble up to the swipe handler */
[b-ts71ty2j0u] .invoices-tabs .mud-tabs-tabbar {
    overflow-x: visible;
}

/* Bottom navigation bar (mobile only) */
.invoices-bottom-nav[b-ts71ty2j0u] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.bottom-nav-item[b-ts71ty2j0u] {
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.bottom-nav-item--active[b-ts71ty2j0u] {
    opacity: 1;
    color: var(--mud-palette-primary, #594ae2);
}

.bottom-nav-item--active[b-ts71ty2j0u]  .mud-icon-root,
.bottom-nav-item--active[b-ts71ty2j0u]  .mud-typography {
    color: var(--mud-palette-primary, #594ae2);
}

@media (max-width: 600px) {
    .billing-selector-row[b-ts71ty2j0u] {
        flex-wrap: wrap;
    }

    .billing-selector-select[b-ts71ty2j0u] {
        max-width: 100%;
        width: 100%;
    }

    /* Keep tabs compact and icon-only on phone. */
    [b-ts71ty2j0u] .invoices-tabs .mud-tab {
        min-width: 48px;
        max-width: 64px;
        padding: 8px 10px;
    }

    /* Hide the top tab bar on mobile — replaced by bottom navigation */
    [b-ts71ty2j0u] .invoices-tabs .mud-tabs-tabbar {
        display: none;
    }

    /* Add bottom padding so content isn't hidden behind the bottom nav (~72px) */
    [b-ts71ty2j0u] .invoices-tabs .mud-tabs-panels {
        padding-bottom: 72px;
    }
}
/* /Components/Pages/Customer/Dashboard.razor.rz.scp.css */
.dashboard-card[b-1agardqcza] {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
    height: 100%;
}

.dashboard-card:hover[b-1agardqcza] {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.dashboard-card-icon-wrap[b-1agardqcza] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.dashboard-card--invoices .dashboard-card-icon-wrap[b-1agardqcza] {
    background: rgba(37, 99, 235, 0.12);
}

.dashboard-card--hosting .dashboard-card-icon-wrap[b-1agardqcza] {
    background: rgba(16, 185, 129, 0.12);
}

.dashboard-card--account .dashboard-card-icon-wrap[b-1agardqcza] {
    background: rgba(139, 92, 246, 0.12);
}

.dashboard-card--invoices .dashboard-card-icon[b-1agardqcza] {
    color: #2563eb;
}

.dashboard-card--hosting .dashboard-card-icon[b-1agardqcza] {
    color: #10b981;
}

.dashboard-card--account .dashboard-card-icon[b-1agardqcza] {
    color: #8b5cf6;
}

.dashboard-card-title[b-1agardqcza] {
    font-weight: 700;
}

.dashboard-card-sub[b-1agardqcza] {
    opacity: 0.7;
}

.dashboard-card-btn[b-1agardqcza] {
    border-radius: 10px !important;
}
