/* /Component/DashboardCategoryCard.razor.rz.scp.css */
.dash-card[b-2i7wfdsots] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 20px 18px 20px;
    border-radius: 16px;
    background: var(--clinic-surface, #FFFFFF);
    box-shadow: 0 1px 2px rgba(22, 33, 62, 0.04), 0 10px 28px -12px rgba(22, 33, 62, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

    .dash-card:hover[b-2i7wfdsots] {
        transform: translateY(-3px);
        box-shadow: 0 2px 4px rgba(22, 33, 62, 0.05), 0 18px 36px -14px rgba(22, 33, 62, 0.22);
    }

    .dash-card:focus-within[b-2i7wfdsots] {
        outline: 2px solid var(--accent, #0E7C86);
        outline-offset: 3px;
    }

.dash-card-heading[b-2i7wfdsots] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dash-icon-square[b-2i7wfdsots] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-title[b-2i7wfdsots] {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--clinic-ink, #16213E);
    margin-top: 16px;
}

.dash-desc[b-2i7wfdsots] {
    color: var(--clinic-muted, #64748B);
    margin-top: 4px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
    font-size: 0.875rem;
}

.dash-divider[b-2i7wfdsots] {
    margin: 16px 0 14px 0 !important;
    border-color: var(--clinic-line, #E4E9EF) !important;
}

.dash-menu-list[b-2i7wfdsots] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* No margin-top:auto here on purpose — items sit right after the
       divider (top-aligned); any leftover height in a stretched card
       stays as empty space below the list instead of pushing buttons down. */
}

.dash-menu-btn[b-2i7wfdsots] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.20), 0 5px 8px 0 rgba(0, 0, 0, 0.14), 0 1px 14px 0 rgba(0, 0, 0, 0.12);
    transition: background-color 140ms ease, box-shadow 140ms ease, transform 100ms ease;
}

    .dash-menu-btn:hover[b-2i7wfdsots] {
        box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.20), 0 5px 8px 0 rgba(0, 0, 0, 0.14), 0 1px 14px 0 rgba(0, 0, 0, 0.12);
    }

    .dash-menu-btn:active[b-2i7wfdsots] {
        transform: scale(0.98);
    }

    .dash-menu-btn:focus-visible[b-2i7wfdsots] {
        outline: 2px solid var(--accent, #0E7C86);
        outline-offset: 2px;
    }

/* Primary: the one main action per card — solid, filled */
.dash-menu-btn--primary[b-2i7wfdsots] {
    background: var(--accent, #0E7C86);
    color: #FFFFFF;
    font-weight: 600;
}

    .dash-menu-btn--primary .dash-menu-chevron[b-2i7wfdsots] {
        color: #FFFFFF;
        opacity: 0.9;
    }

/* Secondary: supporting actions — soft tint, quiet until hovered */
.dash-menu-btn--secondary[b-2i7wfdsots] {
    background: var(--accent-tint, #F1F5F9);
    color: var(--clinic-ink, #16213E);
    font-weight: 500;
}

    .dash-menu-btn--secondary:hover[b-2i7wfdsots] {
        background: color-mix(in srgb, var(--accent, #0E7C86) 18%, var(--accent-tint, #F1F5F9));
    }

    .dash-menu-btn--secondary .dash-menu-chevron[b-2i7wfdsots] {
        color: var(--accent, #0E7C86);
        opacity: 0.7;
    }

@media (prefers-reduced-motion: reduce) {
    .dash-card[b-2i7wfdsots], .dash-menu-btn[b-2i7wfdsots] {
        transition: none;
    }

        .dash-card:hover[b-2i7wfdsots] {
            transform: none;
        }
}
/* /Component/GenderStatCard.razor.rz.scp.css */
.gender-stat-card[b-50p0eeg7si] {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--clinic-line, #E4E9EF);
    border-radius: 16px;
    background: var(--clinic-surface, #FFFFFF);
    padding: 28px 16px;
    box-shadow: 0 1px 2px rgba(22, 33, 62, 0.04), 0 10px 28px -12px rgba(22, 33, 62, 0.10);
}

.gender-stat-item[b-50p0eeg7si] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gender-divider[b-50p0eeg7si] {
    width: 1px;
    align-self: stretch;
    background: var(--clinic-line, #E4E9EF);
    margin: 4px 8px;
}

.gender-circle[b-50p0eeg7si] {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 6px solid #EEF1F5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.gender-circle-pct[b-50p0eeg7si] {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1;
}

.gender-circle-label[b-50p0eeg7si] {
    font-size: 0.75rem;
    color: var(--clinic-muted, #64748B);
}

.gender-count[b-50p0eeg7si] {
    font-size: 0.85rem;
    color: var(--clinic-muted, #64748B);
}
/* /Component/SummaryStatCard.razor.rz.scp.css */
.summary-stat-card[b-2fir0nbodl] {
    border: 1px solid var(--clinic-line, #E4E9EF);
    border-radius: 14px;
    background: var(--clinic-surface, #FFFFFF);
    padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(22, 33, 62, 0.04), 0 10px 28px -12px rgba(22, 33, 62, 0.10);
    height: 100%;
}

.summary-stat-title[b-2fir0nbodl] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--clinic-muted, #64748B);
    font-size: 0.9rem;
}

.summary-stat-value[b-2fir0nbodl] {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--clinic-ink, #16213E);
    margin-top: 8px;
}

.summary-stat-sub[b-2fir0nbodl] {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ry486eettm] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ry486eettm] {
    flex: 1;
}

.sidebar[b-ry486eettm] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ry486eettm] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ry486eettm]  a, .top-row[b-ry486eettm]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ry486eettm]  a:hover, .top-row[b-ry486eettm]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ry486eettm]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ry486eettm] {
        justify-content: space-between;
    }

    .top-row[b-ry486eettm]  a, .top-row[b-ry486eettm]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ry486eettm] {
        flex-direction: row;
    }

    .sidebar[b-ry486eettm] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ry486eettm] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ry486eettm]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ry486eettm], article[b-ry486eettm] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.language-menu-heading[b-ry486eettm] {
    display: block;
    padding: 8px 16px 4px;
    color: var(--mud-palette-text-secondary);
}

.language-option[b-ry486eettm] {
    display: block;
    min-width: 112px;
    text-align: start;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-witdzi274f] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-witdzi274f] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-witdzi274f] {
    font-size: 1.1rem;
}

.bi[b-witdzi274f] {
    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-witdzi274f] {
    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-witdzi274f] {
    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-witdzi274f] {
    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-witdzi274f] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-witdzi274f] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-witdzi274f] {
        padding-bottom: 1rem;
    }

    .nav-item[b-witdzi274f]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-witdzi274f]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-witdzi274f]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-witdzi274f] {
        display: none;
    }

    .collapse[b-witdzi274f] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-witdzi274f] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.section-heading[b-jnfwzmvwof] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--clinic-ink, #16213E);
    margin-bottom: 16px;
}

.dashboard-subheading[b-jnfwzmvwof] {
    color: var(--clinic-muted, #64748B);
    margin-top: -12px;
}

.quick-actions-row[b-jnfwzmvwof] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-action-btn[b-jnfwzmvwof] {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    background: #635BFF;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 14px -6px rgba(99, 91, 255, 0.5);
    transition: filter 140ms ease, transform 100ms ease;
}

    .quick-action-btn:hover[b-jnfwzmvwof] {
        filter: brightness(1.08);
    }

    .quick-action-btn:active[b-jnfwzmvwof] {
        transform: scale(0.98);
    }

    .quick-action-btn:focus-visible[b-jnfwzmvwof] {
        outline: 2px solid #635BFF;
        outline-offset: 2px;
    }
