/* _content/EMRAI.Web/Components/Layout/FeedbackModal.razor.rz.scp.css */
.rating-star[b-iqxlp647l2] {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #d1d5db;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.15s;
}

.rating-star:hover[b-iqxlp647l2],
.rating-star.active[b-iqxlp647l2] {
    color: #f59e0b;
}
/* _content/EMRAI.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ui2gycgscz] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f9fafb;
}

@media (min-width: 641px) {
    .page[b-ui2gycgscz] {
        flex-direction: row;
        min-height: 100vh;
    }
}

main[b-ui2gycgscz] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Auth pages (login, MFA, etc.) – full-viewport, no chrome */
main.auth-main[b-ui2gycgscz] {
    min-height: 100vh;
    overflow: visible;
}

.sidebar[b-ui2gycgscz] {
    background-color: #f3f4f6; /* Gray100 */
    width: 300px;
    min-width: 300px;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    overflow-x: visible;
    border-right: 1px solid #e5e7eb;
}

.sidebar-content[b-ui2gycgscz] {
    padding: 16px;
    padding-bottom: 40px;
}

/* Ensure all links in sidebar have no underlines */
.sidebar-content a[b-ui2gycgscz],
.sidebar-content NavLink[b-ui2gycgscz],
.sidebar-content[b-ui2gycgscz]  a {
    text-decoration: none !important;
}

.sidebar-header[b-ui2gycgscz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    min-height: 44px;
}

.sidebar-logo[b-ui2gycgscz] {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    visibility: visible;
}

.sidebar-header-actions[b-ui2gycgscz] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-icon-button[b-ui2gycgscz] {
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.2s;
}

.nav-icon-button:hover[b-ui2gycgscz] {
    background-color: #e5e7eb;
}

.nav-icon-button:active[b-ui2gycgscz] {
    background-color: #d1d5db;
    transform: scale(0.95);
}

.notification-button.has-notifications[b-ui2gycgscz] {
    background-color: #fef3c7;
    color: #92400e;
}

.notification-badge[b-ui2gycgscz] {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #dc2626;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.user-display[b-ui2gycgscz] {
    margin-bottom: 12px;
}

.user-display-content[b-ui2gycgscz] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: #e5e7eb;
    border-radius: 8px;
}

.user-icon[b-ui2gycgscz] {
    font-size: 16px;
}

.user-info[b-ui2gycgscz] {
    flex: 1;
}

.user-name[b-ui2gycgscz] {
    font-size: 12px;
    font-weight: bold;
    color: #111827;
}

.user-role[b-ui2gycgscz] {
    font-size: 10px;
    color: #6b7280;
}

.nav-divider[b-ui2gycgscz] {
    height: 1px;
    background: #e5e7eb;
    margin: 0 0 12px 0;
}

.nav-group-header[b-ui2gycgscz] {
    font-size: 11px;
    font-weight: bold;
    color: #4b5563;
    margin: 16px 0 8px 0;
    padding-left: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.content[b-ui2gycgscz] {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Demo mode banner - must be in document flow to displace content */
.demo-mode-banner[b-ui2gycgscz] {
    flex-shrink: 0;
    width: 100%;
    position: relative; /* Ensure it's in document flow, not fixed/absolute */
    margin: 0;
    padding: 0;
}

.top-row[b-ui2gycgscz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

    .top-row[b-ui2gycgscz]  a, .top-row[b-ui2gycgscz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ui2gycgscz]  a:hover, .top-row[b-ui2gycgscz]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ui2gycgscz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.sidebar-footer[b-ui2gycgscz] {
    position: relative;
    background-color: #f3f4f6;
    padding: 12px;
    padding-bottom: 24px;
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
    margin-bottom: 16px;
    z-index: 100;
}

.sidebar-footer .logout-button[b-ui2gycgscz],
a.logout-button[b-ui2gycgscz],
.logout-button[b-ui2gycgscz] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px;
    color: #111827 !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    position: relative;
    z-index: 101;
    pointer-events: auto !important;
    touch-action: manipulation;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.sidebar-footer .logout-button:hover[b-ui2gycgscz],
a.logout-button:hover[b-ui2gycgscz],
.logout-button:hover[b-ui2gycgscz] {
    background-color: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
    text-decoration: none !important;
}

.sidebar-footer .logout-button:active[b-ui2gycgscz],
a.logout-button:active[b-ui2gycgscz],
.logout-button:active[b-ui2gycgscz] {
    background-color: #f3f4f6 !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
    transform: scale(0.98);
    text-decoration: none !important;
}

.sidebar-footer .logout-button:focus[b-ui2gycgscz],
a.logout-button:focus[b-ui2gycgscz],
.logout-button:focus[b-ui2gycgscz] {
    outline: 2px solid #2160e8;
    outline-offset: 2px;
    color: #111827 !important;
    text-decoration: none !important;
}

.sidebar-footer .logout-button:visited[b-ui2gycgscz],
a.logout-button:visited[b-ui2gycgscz],
.logout-button:visited[b-ui2gycgscz],
.sidebar-footer .logout-button:link[b-ui2gycgscz],
a.logout-button:link[b-ui2gycgscz],
.logout-button:link[b-ui2gycgscz] {
    color: #111827 !important;
    text-decoration: none !important;
}

@media (max-width: 640.98px) {
    .sidebar[b-ui2gycgscz] {
        width: 100%;
        height: auto;
        position: relative;
    }

    .top-row[b-ui2gycgscz] {
        justify-content: space-between;
    }

    .top-row[b-ui2gycgscz]  a, .top-row[b-ui2gycgscz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ui2gycgscz] {
        flex-direction: row;
    }

    .top-row[b-ui2gycgscz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ui2gycgscz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
}

#blazor-error-ui[b-ui2gycgscz] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-ui2gycgscz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/EMRAI.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4urrlb7712] {
    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-4urrlb7712] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-4urrlb7712] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.navbar-brand[b-4urrlb7712] {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.nav-icon-button[b-4urrlb7712] {
    transition: background-color 0.2s;
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    font-size: 20px;
    cursor: pointer;
    background: #f3f4f6;
    position: relative;
}

.nav-icon-button:hover[b-4urrlb7712] {
    background-color: #d1d5db !important;
}

.notification-badge[b-4urrlb7712] {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #dc2626;
    color: white;
    border-radius: 10px;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.nav-group-header[b-4urrlb7712] {
    font-size: 11px;
    font-weight: bold;
    color: #9ca3af;
    margin: 12px 12px 4px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-display[b-4urrlb7712] {
    padding: 0 12px;
    margin-bottom: 12px;
}

.bi[b-4urrlb7712] {
    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-4urrlb7712] {
    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-4urrlb7712] {
    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-4urrlb7712] {
    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-4urrlb7712] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-4urrlb7712] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-4urrlb7712] {
        padding-bottom: 1rem;
    }

    .nav-item[b-4urrlb7712]  .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-4urrlb7712]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-4urrlb7712]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-4urrlb7712] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-4urrlb7712] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4urrlb7712] {
        display: none;
    }

    .nav-scrollable[b-4urrlb7712] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/EMRAI.Web/Components/Layout/NavMenuItem.razor.rz.scp.css */
.nav-item-wrapper[b-rdsn9dkyey] {
    display: grid;
    grid-template-columns: 4px 40px minmax(0, 1fr);
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
    width: 100%;
    user-select: none;
}

.nav-item-wrapper:hover[b-rdsn9dkyey] {
    background-color: #f9fafb;
}

.nav-item-wrapper:active[b-rdsn9dkyey] {
    opacity: 0.9;
}

.nav-item-wrapper:focus[b-rdsn9dkyey] {
    outline: 2px solid #2160e8;
    outline-offset: -2px;
}

.nav-indicator[b-rdsn9dkyey] {
    width: 4px;
    background-color: transparent;
    border-radius: 0 2px 2px 0;
    transition: background-color 0.2s;
}

.nav-indicator.active[b-rdsn9dkyey] {
    background-color: #2160e8;
}

.nav-item-wrapper:has(.nav-link-button.selected) .nav-indicator[b-rdsn9dkyey] {
    background-color: #2160e8;
}

.nav-icon[b-rdsn9dkyey] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    height: 44px;
}

/* Target the NavLink <a> tag directly with ::deep to penetrate Blazor scoping */
.nav-item-wrapper[b-rdsn9dkyey]  a {
    background: transparent !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: background-color 0.2s, color 0.2s !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    white-space: normal !important;
    overflow: visible !important;
    width: 100% !important;
    flex: 1 !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    word-wrap: break-word !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.nav-item-wrapper[b-rdsn9dkyey]  a:visited,
.nav-item-wrapper[b-rdsn9dkyey]  a:link {
    text-decoration: none !important;
    color: #111827 !important;
}

.nav-item-wrapper[b-rdsn9dkyey]  a:hover {
    text-decoration: none !important;
    background-color: #f9fafb !important;
    color: #111827 !important;
}

.nav-item-wrapper[b-rdsn9dkyey]  a:active,
.nav-item-wrapper[b-rdsn9dkyey]  a:focus {
    text-decoration: none !important;
    color: #111827 !important;
    outline: none !important;
}

.nav-item-wrapper[b-rdsn9dkyey]  a.selected {
    background-color: #2160e8 !important;
    color: white !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Legacy class support */
.nav-link-button[b-rdsn9dkyey] {
    background: transparent !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: background-color 0.2s, color 0.2s !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    white-space: normal !important;
    overflow: visible !important;
    width: 100% !important;
    flex: 1 !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

.nav-link-button:visited[b-rdsn9dkyey],
.nav-link-button:hover[b-rdsn9dkyey],
.nav-link-button:active[b-rdsn9dkyey],
.nav-link-button:focus[b-rdsn9dkyey] {
    text-decoration: none !important;
}

.nav-link-button:hover[b-rdsn9dkyey] {
    background-color: #f9fafb !important;
}

.nav-link-button.selected[b-rdsn9dkyey] {
    background-color: #2160e8 !important;
    color: white !important;
    font-weight: 600 !important;
}

.nav-link-button:active[b-rdsn9dkyey] {
    opacity: 0.9;
}
/* _content/EMRAI.Web/Components/Pages/PatientChart.razor.rz.scp.css */
.patient-chart-tabs[b-r49pik08r6] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 10px 10px 0 10px;
    overflow-x: auto;
}

.tab-btn[b-r49pik08r6] {
    padding: 10px 20px;
    border: 1px solid transparent;
    border-bottom: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    border-radius: 4px 4px 0 0;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-btn:hover[b-r49pik08r6] {
    color: #495057;
    background-color: #e9ecef;
}

.tab-btn.active[b-r49pik08r6] {
    color: #0d6efd;
    background-color: #fff;
    border-color: #dee2e6;
    border-bottom-color: #fff;
    margin-bottom: -1px;
    font-weight: 600;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

.patient-chart-content[b-r49pik08r6] {
    padding: 0 10px;
    min-height: 500px;
}
/* _content/EMRAI.Web/Components/RouteAuthorization.razor.rz.scp.css */
/* RouteAuthorization component styles */
.spinner-border[b-2nsziwttwk] {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
}

