﻿.loader-overlay {
    background: #1a1a1a;
    background: rgba( 26, 26, 26, 0.1 );
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    z-index: 9999;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

/**********  Вспомогательные классы для ширины колонок в Bootstrap **********/
.w-1 {
    width: 1% !important;
    min-width: 1% !important;
}

.w-5 {
    width: 5% !important;
    min-width: 5% !important;
}

.w-10 {
    width: 10% !important;
    min-width: 10% !important;
}

.w-15 {
    width: 15% !important;
    min-width: 15% !important;
}

.w-20 {
    width: 20% !important;
    min-width: 20% !important;
}

.w-25 {
    width: 25% !important;
    min-width: 25% !important;
}

.w-30 {
    width: 30% !important;
    min-width: 30% !important;
}

.w-35 {
    width: 35% !important;
    min-width: 35% !important;
}

.w-40 {
    width: 40% !important;
    min-width: 40% !important;
}

.w-45 {
    width: 45% !important;
    min-width: 45% !important;
}

.w-50 {
    width: 50% !important;
    min-width: 50% !important;
}

.w-55 {
    width: 55% !important;
    min-width: 55% !important;
}

.w-60 {
    width: 60% !important;
    min-width: 60% !important;
}

.w-65 {
    width: 65% !important;
    min-width: 65% !important;
}

.w-70 {
    width: 70% !important;
    min-width: 70% !important;
}

.w-80 {
    width: 80% !important;
    min-width: 80% !important;
}

.w-85 {
    width: 85% !important;
    min-width: 85% !important;
}

.w-90 {
    width: 90% !important;
    min-width: 90% !important;
}

.w-95 {
    width: 95% !important;
    min-width: 95% !important;
}
/********************/

.no-uppercase {
    text-transform: none !important;
}

/* Пагинация таблиц генерируется HTML-helper'ом и не участвует в CSS isolation. */
.table-pagination {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.table-pagination-summary,
.table-pagination-buttons,
.table-pagination-page-size {
    align-items: center;
    display: flex;
}

.table-pagination-summary {
    gap: 1rem;
}

.table-pagination-buttons {
    gap: .375rem;
}

.table-pagination-info {
    color: #64748b;
    font-size: .85rem;
}

.table-pagination-page-size select,
.table-pagination-page-size .select2-container {
    width: 76px !important;
}

.table-pagination-button {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .375rem;
    color: #1e293b;
    display: inline-flex;
    font-size: .85rem;
    height: 2.25rem;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0 .65rem;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.table-pagination-button:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}

.table-pagination-button.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.table-pagination-button.disabled {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: .65;
}

.table-pagination-ellipsis {
    align-items: center;
    color: #64748b;
    display: inline-flex;
    justify-content: center;
    min-width: 1.5rem;
}

@media (max-width: 767.98px) {
    .table-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}
