/* /Components/CwLoadingOverlay.razor.rz.scp.css */
/* Frosted backdrop so the form/list dims gently while data loads. */
.cw-loading-overlay[b-twwod6o4oc]  .mud-overlay-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-loading-overlay[b-twwod6o4oc] {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* The little floating card that holds the round spinner + caption. */
.cw-loading-box[b-twwod6o4oc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 1.6rem 2.2rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: cw-loading-pop-b-twwod6o4oc 0.18s ease-out;
}

/* Soft pulsing halo behind the circular progress for a polished feel. */
.cw-loading-ring[b-twwod6o4oc] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.cw-loading-ring[b-twwod6o4oc]::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(closest-side,
        var(--mud-palette-primary, #594ae2) 0%,
        rgba(89, 74, 226, 0.12) 60%,
        transparent 100%);
    opacity: 0.25;
    animation: cw-loading-pulse-b-twwod6o4oc 1.4s ease-in-out infinite;
}

.cw-loading-text[b-twwod6o4oc] {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--mud-palette-text-primary, #424242);
    animation: cw-loading-fade-b-twwod6o4oc 1.4s ease-in-out infinite;
}

@keyframes cw-loading-pop-b-twwod6o4oc {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

@keyframes cw-loading-pulse-b-twwod6o4oc {
    0%, 100% { transform: scale(0.9);  opacity: 0.20; }
    50%      { transform: scale(1.15); opacity: 0.45; }
}

@keyframes cw-loading-fade-b-twwod6o4oc {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-veph3riooo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-veph3riooo] {
    flex: 1;
}

.sidebar[b-veph3riooo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-veph3riooo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-veph3riooo]  a, .top-row[b-veph3riooo]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-veph3riooo]  a:hover, .top-row[b-veph3riooo]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-veph3riooo]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-veph3riooo] {
        justify-content: space-between;
    }

    .top-row[b-veph3riooo]  a, .top-row[b-veph3riooo]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-veph3riooo] {
        flex-direction: row;
    }

    .sidebar[b-veph3riooo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-veph3riooo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-veph3riooo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-veph3riooo], article[b-veph3riooo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
