.app-sidebar .sidebar-brand .brand-text { font-weight: 600; }

.brand-mark {
    width: 1.9rem;
    height: 1.9rem;
    object-fit: contain;
    background: #fff;
    border-radius: 0.35rem;
    padding: 0.1rem;
}

.auth-mark,
.home-mark {
    width: 4.75rem;
    height: 4.75rem;
    object-fit: contain;
    background: #fff;
}

.home-mark {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.4rem;
}

body:has(.auth-layout) {
    overflow: hidden;
}

.auth-layout {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(6, 16, 34, 0.28), rgba(6, 16, 34, 0.45)),
        url("../img/fundo-login.jpg") center / cover no-repeat;
}

.home-stage {
    min-height: calc(100dvh - 8.5rem);
    margin: 0 -0.25rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.28)),
        url("../img/fundo-home.jpg") center bottom / cover no-repeat;
}

.home-card {
    max-width: 36rem;
    background: rgba(255, 255, 255, 0.94);
}

.auth-layout .auth-card { width: 100%; max-width: 420px; }
.auth-layout .auth-panel .card-body { padding: 2rem; }

.blade-busy-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: auto;
}

.blade-busy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.blade-busy-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(33, 37, 41, 0.92);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
    max-width: min(420px, 90vw);
}

.blade-busy-message {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #fff;
}

#blazor-error-ui {
    background: #b32121;
    color: #fff;
    bottom: 0;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
