/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-wrapper[b-23frspz96l] {
    min-height: 100vh;
    background: linear-gradient(135deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-brand[b-23frspz96l] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    color: white;
}

.login-logo[b-23frspz96l] {
    font-size: 2.5rem;
    line-height: 1;
}

.login-name[b-23frspz96l] {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-card[b-23frspz96l] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
}

.login-footer[b-23frspz96l] {
    margin-top: 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-align: center;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-c2a0mz6un3] {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar[b-c2a0mz6un3] {
    width: 240px;
    min-width: 240px;
    background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-brand[b-c2a0mz6un3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.sidebar-logo[b-c2a0mz6un3] { font-size: 1.5rem; line-height: 1; }

.sidebar-name[b-c2a0mz6un3] {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.sidebar-footer[b-c2a0mz6un3] {
    margin-top: auto;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.62);
    font-size: 0.72rem;
    line-height: 1.35;
}

.footer-news-link[b-c2a0mz6un3] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.45rem;
    border-radius: 0.5rem;
    color: #ffd54f;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-news-link:hover[b-c2a0mz6un3] {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.footer-news-destaque[b-c2a0mz6un3] {
    animation: footer-pulse-b-c2a0mz6un3 2s infinite;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

@keyframes footer-pulse-b-c2a0mz6un3 {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
    }
}

.sidebar-footer-title[b-c2a0mz6un3] {
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 0.15rem;
}

/* Main area */
.main-area[b-c2a0mz6un3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top bar */
.top-bar[b-c2a0mz6un3] {
    height: auto;
    min-height: 3.5rem;
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    flex-shrink: 0;
    gap: 0.75rem;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    flex-wrap: wrap;
}

.top-bar-actions-start[b-c2a0mz6un3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.menu-toggle-btn[b-c2a0mz6un3] {
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
    line-height: 1;
    min-width: 2rem;
}

.menu-icon[b-c2a0mz6un3] {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1;
}

.top-bar-patient[b-c2a0mz6un3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.top-bar-label[b-c2a0mz6un3] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
    margin-bottom: 0;
}

.top-bar-select[b-c2a0mz6un3] { max-width: 260px; }

.top-bar-actions[b-c2a0mz6un3] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.logout-btn[b-c2a0mz6un3] {
    white-space: nowrap;
}

.top-bar-user[b-c2a0mz6un3] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
}

.top-bar-user:hover[b-c2a0mz6un3] {
    color: #052763;
    text-decoration: none;
}

.system-version[b-c2a0mz6un3] {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 0.65rem;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    color: #495057;
    background: #f8f9fa;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.user-chevron[b-c2a0mz6un3] {
    font-size: 0.65rem;
    margin-left: 2px;
    opacity: 0.6;
}

/* Dropdown usuário */
.user-menu-wrapper[b-c2a0mz6un3] {
    position: relative;
}

.user-dropdown[b-c2a0mz6un3] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-header[b-c2a0mz6un3] {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
}

.user-dropdown-divider[b-c2a0mz6un3] {
    height: 1px;
    background: #dee2e6;
}

.user-dropdown-item[b-c2a0mz6un3] {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    color: #212529;
    text-decoration: none;
    transition: background 0.12s;
    background: none;
    border: none;
    cursor: pointer;
}

.user-dropdown-item:hover[b-c2a0mz6un3] {
    background: #f8f9fa;
    color: #212529;
    text-decoration: none;
}

/* Content area */
.content-area[b-c2a0mz6un3] {
    flex: 1;
    overflow-y: auto;
    padding: 1.75rem;
    background: #f8f9fa;
}

/* Error UI */
#blazor-error-ui[b-c2a0mz6un3] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .dismiss[b-c2a0mz6un3] { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

/* Sidebar overlay for mobile */
.sidebar-overlay[b-c2a0mz6un3] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .sidebar-overlay[b-c2a0mz6un3] {
        display: block;
    }

    .sidebar[b-c2a0mz6un3] {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
    }

    .sidebar-aberto[b-c2a0mz6un3] {
        transform: translateX(0);
    }

    .sidebar-fechado[b-c2a0mz6un3] {
        transform: translateX(-100%);
    }

    .top-bar[b-c2a0mz6un3] {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
        min-height: auto;
    }

    .top-bar-actions-start[b-c2a0mz6un3] {
        flex-shrink: 0;
    }

    .top-bar-patient[b-c2a0mz6un3] {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        align-items: stretch;
    }

    .top-bar-select[b-c2a0mz6un3] {
        max-width: 100%;
        width: 100%;
        font-size: 0.875rem;
    }

    .top-bar-label[b-c2a0mz6un3] {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .content-area[b-c2a0mz6un3] {
        padding: 1rem;
    }

    .system-version[b-c2a0mz6un3] {
        display: none;
    }

    .menu-toggle-btn[b-c2a0mz6un3] {
        display: flex;
    }

    .top-bar-user[b-c2a0mz6un3] {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .user-dropdown[b-c2a0mz6un3] {
        min-width: 180px;
        right: -0.5rem;
    }

    .top-bar-actions[b-c2a0mz6un3] {
        flex-shrink: 0;
    }
}

@media (min-width: 769px) {
    .sidebar[b-c2a0mz6un3] {
        position: relative;
        transform: translateX(0);
    }

    .sidebar-overlay[b-c2a0mz6un3] {
        display: none;
    }

    .menu-toggle-btn[b-c2a0mz6un3] {
        display: none;
    }
}
/* /Components/Layout/NavItem.razor.rz.scp.css */
.nav-item-wrap[b-cvw083rlh4] {
    padding: 0 0.5rem;
}

.nav-disabled[b-cvw083rlh4] {
    opacity: 0.35;
    pointer-events: none;
}

a.nav-link-item[b-cvw083rlh4] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background 0.15s;
    width: 100%;
}

.nav-icon[b-cvw083rlh4] {
    width: 1.2rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

a.nav-link-item:hover[b-cvw083rlh4] {
    background: rgba(255,255,255,0.12);
    color: white;
    text-decoration: none;
}

a.nav-link-item.active[b-cvw083rlh4] {
    background: rgba(255,255,255,0.22);
    color: white !important;
    font-weight: 600;
    text-decoration: none;
}

.nav-destaque[b-cvw083rlh4] {
    animation: pulse-b-cvw083rlh4 2s infinite;
    background: rgba(255, 193, 7, 0.2) !important;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.nav-destaque:hover[b-cvw083rlh4] {
    background: rgba(255, 193, 7, 0.3) !important;
}

.nav-destaque.active[b-cvw083rlh4] {
    background: rgba(255, 193, 7, 0.4) !important;
}

@keyframes pulse-b-cvw083rlh4 {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
    }
}

.nav-badge[b-cvw083rlh4] {
    margin-left: auto;
    background: #ffc107;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    text-transform: uppercase;
}

a.nav-sub-link[b-cvw083rlh4] {
    display: block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.82rem;
    transition: background 0.15s;
}

a.nav-sub-link:hover[b-cvw083rlh4] {
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
}

a.nav-sub-link.active[b-cvw083rlh4] {
    background: rgba(255,255,255,0.18);
    color: white;
    text-decoration: none;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-1wdb2ytqve] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0 1rem 0;
    flex: 1;
}

.nav-paciente-ativo[b-1wdb2ytqve] {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid rgba(255,255,255,0.5);
    margin: 0.5rem 0.75rem 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0 4px 4px 0;
}

.nav-paciente-label[b-1wdb2ytqve] {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}

.nav-paciente-nome[b-1wdb2ytqve] {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.nav-section-label[b-1wdb2ytqve] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    padding: 0.75rem 1rem 0.25rem 1rem;
}

.nav-divider[b-1wdb2ytqve] {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0.5rem 1rem;
}

/* Regular nav item */
.nav-item-wrap[b-1wdb2ytqve] {
    padding: 0 0.5rem;
}

.nav-item-wrap[b-1wdb2ytqve]  .nav-link-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background 0.15s;
}

.nav-item-wrap[b-1wdb2ytqve]  .nav-link-item:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.nav-item-wrap[b-1wdb2ytqve]  .nav-link-item.active {
    background: rgba(255,255,255,0.22);
    color: white;
    font-weight: 600;
}

/* Disabled state */
.nav-disabled[b-1wdb2ytqve] {
    opacity: 0.35;
    pointer-events: none;
}

.nav-disabled[b-1wdb2ytqve]  .nav-link-item {
    cursor: not-allowed;
}

/* Group toggle (collapsible) */
.nav-item-group[b-1wdb2ytqve] {
    padding: 0 0.5rem;
}

.nav-group-toggle[b-1wdb2ytqve] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
}

.nav-group-toggle:hover:not(:disabled)[b-1wdb2ytqve] {
    background: rgba(255,255,255,0.12);
    color: white;
}

.nav-group-toggle.active[b-1wdb2ytqve] {
    background: rgba(255,255,255,0.18);
    color: white;
    font-weight: 600;
}

.nav-group-toggle:disabled[b-1wdb2ytqve] {
    opacity: 0.35;
    cursor: not-allowed;
}

.nav-chevron[b-1wdb2ytqve] {
    margin-left: auto;
    display: inline-block;
    font-size: 1rem;
    transition: transform 0.2s;
    color: rgba(255,255,255,0.5);
}

.nav-chevron.open[b-1wdb2ytqve] {
    transform: rotate(90deg);
}

.nav-icon[b-1wdb2ytqve] {
    width: 1.2rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Sub-items */
.nav-sub[b-1wdb2ytqve] {
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
    padding-bottom: 0.25rem;
}

.nav-sub[b-1wdb2ytqve]  .nav-sub-link {
    display: block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.82rem;
    transition: background 0.15s;
}

.nav-sub[b-1wdb2ytqve]  .nav-sub-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-sub[b-1wdb2ytqve]  .nav-sub-link.active {
    background: rgba(255,255,255,0.18);
    color: white;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .nav-paciente-nome[b-1wdb2ytqve] {
        font-size: 0.78rem;
    }

    .nav-item-wrap[b-1wdb2ytqve]  .nav-link-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }

    .nav-group-toggle[b-1wdb2ytqve] {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }

    .nav-sub[b-1wdb2ytqve]  .nav-sub-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }

    .nav-sub[b-1wdb2ytqve] {
        padding-left: 1.5rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-e5e4kgg31e],
.components-reconnect-repeated-attempt-visible[b-e5e4kgg31e],
.components-reconnect-failed-visible[b-e5e4kgg31e],
.components-pause-visible[b-e5e4kgg31e],
.components-resume-failed-visible[b-e5e4kgg31e],
.components-rejoining-animation[b-e5e4kgg31e] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-retrying[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-failed[b-e5e4kgg31e],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-e5e4kgg31e] {
    display: block;
}


#components-reconnect-modal[b-e5e4kgg31e] {
    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-e5e4kgg31e 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-e5e4kgg31e 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-e5e4kgg31e 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-e5e4kgg31e]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-e5e4kgg31e 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-e5e4kgg31e {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-e5e4kgg31e {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-e5e4kgg31e {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-e5e4kgg31e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-e5e4kgg31e] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-e5e4kgg31e] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-e5e4kgg31e] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-e5e4kgg31e] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-e5e4kgg31e] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-e5e4kgg31e] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-e5e4kgg31e 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-e5e4kgg31e] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-e5e4kgg31e {
    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;
    }
}
