﻿.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 ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
        text-decoration: underline;
    }

    .top-row ::deep a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }*/

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }

    /*    .top-row ::deep a, .top-row ::deep .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 ::deep 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);
    box-sizing: border-box;
    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;
    }

@media (max-width: 768px) {
    .rz-dialog:not(.rz-dialog-confirm):not(.rz-dialog-alert) {
        position: absolute;
        width: 90% !important;
/*        height: 245px !important;*/
        inset-block-start: unset !important;
        border-radius: 12px;
    }
}

.rz-dialog {
    border-radius: 20px;
    box-shadow: unset;
}

/* #region snackbar dialog*/
.rz-notification {
    top: 132px !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100 !important;
    right: unset !important;
}

.rz-growl-icon-close {
    display: none;
}

.rz-notification-close {
    display: none;
}

.rz-growl-image {
    display: none;
}

.rz-notification-icon {
    display: none;
}

.rz-growl {
    min-width: auto;
    width: auto !important;
}

.rz-notification {
    min-width: auto;
    width: auto !important;
}

.rz-notification-item-wrapper {
    min-width: auto;
    width: auto !important;
}


.rz-growl-title {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rz-notification-title {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rz-growl-item-container.rz-state-highlight.rz-growl-message-info {
    width: auto;
    background: unset;
}

.rz-growl-item-container.rz-state-highlight.rz-growl-message-success {
    width: auto;
    background: unset;
}

.rz-growl-item-container.rz-state-highlight.rz-growl-message-error {
    width: auto;
    background: unset;
}

.rz-growl-message-info .rz-growl-item {
    background: #404040;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 0px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    display: flex;
    align-items: center;
}

.rz-notification-info .rz-notification-item {
    background: #404040;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 0px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    display: flex;
    align-items: center;
}

.rz-growl-message-success .rz-growl-item {
    background: #0171FF;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 0px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    display: flex;
    align-items: center;
}

.rz-notification-success .rz-notification-item {
    background: #0171FF;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 0px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    display: flex;
    align-items: center;
}

.rz-growl-message-error .rz-growl-item {
    background: #EB5757;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 0px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    display: flex;
    align-items: center;
}

.rz-notification-error .rz-notification-item {
    background: #EB5757;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: unset;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    width: auto;
    display: flex;
    align-items: center;
}
/*------------------------------------*/
.rz-alert .rz-alert-message {
    margin: 0;
}

.rz-alert-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rz-notification-item-wrapper {
    background-color: unset !important;
}

.rz-alert.rz-danger.rz-shade-default {
    background: #EB5757;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 1100
}

.rz-alert.rz-success.rz-shade-default {
    background: #43936C;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 1100
}

.rz-alert.rz-base {
    background: #404040;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.006em;
    box-shadow: 0px 2px 2px 0px #0000000A;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    margin: 0;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 1100
}

/* #endregion snackbar dialog*/
