.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row  a, .top-row  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row  a:hover, .top-row  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640px) {
    .top-row {
        justify-content: space-between;
    }

    .top-row  a, .top-row  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.main-layout-content[aria-hidden="true"] {
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.suspension-lock-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(10px);
}

.suspension-lock-modal {
    width: min(500px, 100%);
    padding: 34px 30px 28px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .35);
    color: #17233d;
    text-align: center;
}

.suspension-lock-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-size: 28px;
    font-weight: 900;
}

.suspension-lock-modal h2 {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 900;
}

.suspension-lock-modal p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
    word-break: keep-all;
}

.suspension-lock-modal a {
    display: inline-flex;
    justify-content: center;
    min-width: 140px;
    margin-top: 24px;
    padding: 11px 24px;
    border-radius: 12px;
    background: #172033;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
