@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';
@import '_content/SibAlt/SibAlt.cqhtwsqgu9.bundle.scp.css';

/* _content/SibAlt.Admin/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-coq1qw3ayt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-coq1qw3ayt] {
    flex: 1;
}

.sidebar[b-coq1qw3ayt] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-coq1qw3ayt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-coq1qw3ayt]  a, .top-row[b-coq1qw3ayt]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-coq1qw3ayt]  a:hover, .top-row[b-coq1qw3ayt]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-coq1qw3ayt]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-coq1qw3ayt] {
        justify-content: space-between;
    }

    .top-row[b-coq1qw3ayt]  a, .top-row[b-coq1qw3ayt]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-coq1qw3ayt] {
        flex-direction: row;
    }

    .sidebar[b-coq1qw3ayt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-coq1qw3ayt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-coq1qw3ayt]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-coq1qw3ayt], article[b-coq1qw3ayt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-coq1qw3ayt] {
    color-scheme: light only;
    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[b-coq1qw3ayt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/SibAlt.Admin/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0zzhxvlbwh] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-0zzhxvlbwh] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-0zzhxvlbwh] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-0zzhxvlbwh] {
    font-size: 1.1rem;
}

.bi[b-0zzhxvlbwh] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-compass-fill-nav-menu[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-compass-fill' viewBox='0 0 16 16'%3E%3Cpath d='M15.5 8.516a7.5 7.5 0 1 1-9.462-7.24A1 1 0 0 1 7 0h2a1 1 0 0 1 .962 1.276 7.503 7.503 0 0 1 5.538 7.24zm-3.61-3.905L6.94 7.439 4.11 12.39l4.95-2.828 2.828-4.95z'/%3E%3C/svg%3E");
}

.bi-tags-fill-nav-menu[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-tags-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586V2zm3.5 4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3Cpath d='M1.293 7.793A1 1 0 0 1 1 7.086V2a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l.086-.086a1 1 0 0 0 0-1.414l-7-7z'/%3E%3C/svg%3E");
}

.bi-person-check-fill-nav-menu[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-check-fill' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 16a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm1.679-4.493-1.335 2.226a.75.75 0 0 1-1.174.144l-.774-.773a.5.5 0 0 1 .708-.708l.547.548 1.17-1.951a.5.5 0 1 1 .858.514ZM11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z'/%3E%3Cpath d='M2 13c0 1 1 1 1 1h5.256A4.493 4.493 0 0 1 8 12.5a4.49 4.49 0 0 1 1.544-3.393C9.077 9.038 8.564 9 8 9c-5 0-6 3-6 4Z'/%3E%3C/svg%3E");
}

.bi-box-arrow-right[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-box-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
}

.bi-camera-fill[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-camera-fill' viewBox='0 0 16 16'%3E%3Cpath d='M15 12V6a1 1 0 0 0-1-1h-1.172a3 3 0 0 1-2.12-.879l-.83-.828A1 1 0 0 0 9.173 3H6.828a1 1 0 0 0-.707.293l-.828.828A3 3 0 0 1 3.172 5H2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1zM2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2z'/%3E%3Cpath d='M8 10a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
}

/* Стили для иконок в кнопках */
.btn .bi[b-0zzhxvlbwh] {
    width: 1em;
    height: 1em;
    margin-right: 0.25rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.bi-list-nested-nav-menu[b-0zzhxvlbwh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-0zzhxvlbwh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
    flex-shrink: 0; /* пункты не сжимаются и не наезжают друг на друга */
}

    .nav-item:first-of-type[b-0zzhxvlbwh] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-0zzhxvlbwh] {
        padding-bottom: 1rem;
    }

    .nav-item[b-0zzhxvlbwh]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        min-height: 3rem;
        display: flex;
        align-items: center;
        line-height: 1.3;
        width: 100%;
        min-width: 0; /* даёт flex-элементу возможность сжиматься и переносить текст */
        position: relative;
        padding-inline-end: 2.25rem; /* место под бейдж уведомления */
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

.nav-item[b-0zzhxvlbwh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

    .nav-item[b-0zzhxvlbwh]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .nav-item[b-0zzhxvlbwh]  .nav-link.has-submitted,
    .nav-item[b-0zzhxvlbwh]  .nav-link.has-moderation {
        background-color: rgba(255, 193, 7, 0.2);
        color: #ffc107;
        font-weight: 500;
    }

    .nav-item[b-0zzhxvlbwh]  .nav-link.has-submitted:hover,
    .nav-item[b-0zzhxvlbwh]  .nav-link.has-moderation:hover {
        background-color: rgba(255, 193, 7, 0.3);
        color: #ffc107;
    }

    .badge-notification[b-0zzhxvlbwh] {
        position: absolute;
        top: 50%;
        right: 0.75rem;
        transform: translateY(-50%);
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.75rem;
        font-weight: bold;
        color: #fff;
        background-color: #ffc107;
        border-radius: 50%;
        line-height: 1;
    }

/* Меню в одну колонку без переноса (скролл при переполнении) */
.nav-scrollable .nav[b-0zzhxvlbwh] {
    flex-wrap: nowrap;
}

.nav-scrollable[b-0zzhxvlbwh] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-0zzhxvlbwh] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0zzhxvlbwh] {
        display: none;
    }

    .nav-scrollable[b-0zzhxvlbwh] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/SibAlt.Admin/Components/Pages/PromoDefinitions/Index.razor.rz.scp.css */
/* Стили для страницы управления промо-определениями */

.container-fluid[b-nw00waqy1v] {
    padding: 1rem;
}

.table th[b-nw00waqy1v] {
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td[b-nw00waqy1v] {
    vertical-align: middle;
}

.badge[b-nw00waqy1v] {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.btn-group .btn[b-nw00waqy1v] {
    margin-right: 0.25rem;
}

.btn-group .btn:last-child[b-nw00waqy1v] {
    margin-right: 0;
}

.modal[b-nw00waqy1v] {
    z-index: 1055;
}

.modal-dialog[b-nw00waqy1v] {
    margin: 1.75rem auto;
}

.modal-content[b-nw00waqy1v] {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header[b-nw00waqy1v] {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.modal-body[b-nw00waqy1v] {
    padding: 1.5rem;
}

.modal-footer[b-nw00waqy1v] {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.form-label[b-nw00waqy1v] {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control[b-nw00waqy1v] {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus[b-nw00waqy1v] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked[b-nw00waqy1v] {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.alert[b-nw00waqy1v] {
    border-radius: 0.5rem;
    border: none;
}

.alert-info[b-nw00waqy1v] {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-warning[b-nw00waqy1v] {
    background-color: #fff3cd;
    color: #856404;
}

.spinner-border[b-nw00waqy1v] {
    width: 3rem;
    height: 3rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container-fluid[b-nw00waqy1v] {
        padding: 0.5rem;
    }
    
    .d-flex.justify-content-between[b-nw00waqy1v] {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .d-flex.justify-content-between h1[b-nw00waqy1v] {
        margin-bottom: 1rem;
    }
    
    .table-responsive[b-nw00waqy1v] {
        font-size: 0.875rem;
    }
    
    .btn-group[b-nw00waqy1v] {
        flex-direction: column;
    }
    
    .btn-group .btn[b-nw00waqy1v] {
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
    
    .btn-group .btn:last-child[b-nw00waqy1v] {
        margin-bottom: 0;
    }
    
    .modal-dialog[b-nw00waqy1v] {
        margin: 0.5rem;
    }
    
    .modal-body[b-nw00waqy1v] {
        padding: 1rem;
    }
}

/* Анимации */
.modal.fade.show[b-nw00waqy1v] {
    animation: fadeIn-b-nw00waqy1v 0.15s ease-in-out;
}

@keyframes fadeIn-b-nw00waqy1v {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Улучшения для доступности */
.btn:focus[b-nw00waqy1v] {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control:focus[b-nw00waqy1v] {
    outline: none;
}

/* Стили для иконок Bootstrap Icons */
.bi[b-nw00waqy1v] {
    font-size: 1rem;
}

.btn .bi[b-nw00waqy1v] {
    margin-right: 0.25rem;
}

.btn-sm .bi[b-nw00waqy1v] {
    margin-right: 0;
}





/* _content/SibAlt.Admin/Components/Shared/SettlementAutocomplete.razor.rz.scp.css */
.settlement-autocomplete[b-1x8gal5sp9] {
    position: relative;
}

.suggestions-dropdown[b-1x8gal5sp9] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-item[b-1x8gal5sp9] {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
}

.suggestion-item:last-child[b-1x8gal5sp9] {
    border-bottom: none;
}

.suggestion-item:hover[b-1x8gal5sp9],
.suggestion-item.selected[b-1x8gal5sp9] {
    background-color: #f8f9fa;
}

.suggestion-name[b-1x8gal5sp9] {
    font-weight: 500;
    color: #212529;
}

.suggestion-details[b-1x8gal5sp9] {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.suggestion-region[b-1x8gal5sp9] {
    font-size: 0.75rem;
    color: #495057;
    margin-top: 0.125rem;
    font-weight: 500;
}
