/* Фон */
body{
    background: rgb(30 41 59 / var(--tw-bg-opacity, 1));
}

.main_out{
    background: #FFFFFF;
}

.main_out {
    background-color: #f8f9fa;
    color: #1e293b;
    font-family: sans-serif;
    min-height: calc(100vh - 450px);
}

.card-shadow {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
}
/**/
/* Уведомления */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.notification {
    animation: slideIn 0.3s ease-in-out forwards;
}
.notification.hide {
    animation: slideOut 0.3s ease-in-out forwards;
}
/**/
/* Вкладки */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
/* Таблица */
.table-row:hover {
    background-color: rgba(46, 203, 145, 0.05);
}

.table-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
}

input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #2ecb91;
    border-color: #2ecb91;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2ecb91;
}

input:checked + .slider:before {
    transform: translateX(18px);
}
/**/
.date-filter-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 50;
    display: none;
}
.date-filter-dropdown.show {
    display: block;
}
.date-filter-option {
    padding: 10px 16px;
    cursor: pointer;
}
.date-filter-option:hover {
    background-color: rgba(46, 203, 145, 0.05);
}
.date-filter-option.active {
    background-color: rgba(46, 203, 145, 0.1);
    color: #2ecb91;
}
/* Скролбар */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
/**/
.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}
.custom-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
/**/
/**/
/**/
/* Пейджинация */
.sw_pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
}

.sw_pagination a.active {
    background-color: #2ecb91;
    color: white;
}
/* Поля */
input:read-only {
    background-color: #F1F1F1;
}
/* Мультиполя */
.editformtbl_multi_div{

}

.editformtbl_multi{

}

.editformtbl_multi td{

}

.editformtbl_multi td:focus{

}

.tredit_mc_add{
    cursor: pointer;
}

.editformtbl_multi_tr_del{
    cursor: pointer;
}
/**/
.tox-promotion{
    display: none !important;
}
/**/
body.tox-fullscreen .modal .flex{
    display: block !important;
}

body.tox-fullscreen .modal .transform{
    transform: none !important;
}
/**/
/**/
/**/
@media all and (max-width: 768px) {

    header{
        position: relative;
        padding-bottom: 35px;
    }

    header nav{
        position: absolute;
        display: block !important;
        left: 15px;
        right: 15px;
        bottom: 0px;
        margin: 0 !important;
        padding: 0 !important;
        width: auto;
        overflow-x: auto !important;
        white-space: nowrap;
    }

    header nav > *{
        display: inline-block !important;
        white-space: nowrap;
    }

    header nav a div, header nav a span{
        display: inline-block !important;
    }

    header nav > div a div span:nth-child(2){
        display: none !important;
    }

    header nav > div > div{
        position: fixed !important;
        left: auto !important;
        right: 0 !important;
    }
}
/* SW */
.tox-statusbar__branding, .tox-statusbar__path{
    display: none !important;
}
/**/