body {
    background: #f8fafd;
    font-family: 'Proxima Nova', sans-serif;
    color: #262338;
}

.main__auth_form {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.block {
    padding: 34px 30px;
    background: #FFFFFF;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
}

.main__auth_form .auth__form {
    min-width: 400px;
    margin: 30px 0;
}

.main__auth_form .auth__form .auth__form__title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn {
    border: none;
    font-weight: 600;
}

.main__auth_form .auth__form .btn {
    display: block;
    width: 100%;
}

label {
    margin-bottom: 10px;
    color: #262338;
    font-weight: 600;
}

.mb-30 {
    margin-bottom: 1.5rem;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-10 {
    margin-bottom: 10px;
}

.form-control,
.select2-container--default .select2-selection--single {
    background: #EFF0F6;
    color: #14142B;
    padding: 16px 24px;
    border-radius: 16px;
    border: none;
}

.form-control::placeholder {
    color: #6E7191;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6E7191;
}

.btn:not(.btn-sm) {
    padding: 16px 24px;
    border-radius: 16px;
}

.btn.btn-sm {
    padding: 10px 12px;
    border-radius: 14px;
}

.btn.btn-primary {
    background: #0066ff;
}

.btn.btn-success {
    background: #1EC198;
}

.btn.btn-success:hover {
    background: #19a985;
}

.btn.btn-success:focus,
.btn.btn-success:active {
    background: #179a79;
}

.content {
    margin: 30px 0;
}

.menu__items ul {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.menu__items ul li:not(:last-child) {
    margin-bottom: 5px;
}

.menu__items ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: #4E4B66;
    padding: 18px 26px;
    border-radius: 16px;
    line-height: 1;
}

.menu__items ul li a svg {
    fill: #4E4B66;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.menu__items ul li a:hover,
.menu__items ul li.active a {
    background: rgba(78, 75, 102, 0.05);
    color: #262338
}

.menu__items ul li a:hover svg,
.menu__items ul li.active a svg {
    fill: #262338;
}

.menu__items ul li a img {
    margin-right: 23px;
}

.skeleton-loader:empty {
    width: 100%;
    height: 1rem;
    display: block;
    background: #eee;
    background: linear-gradient(110deg, #EFF0F6 8%, #FCFCFC 18%, #EFF0F6 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    -webkit-animation: .75s shine linear infinite;
    animation: .75s shine linear infinite;
}

@-webkit-keyframes shine {
    to {
        background-position-x: -200%;
    }
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.page__title {
    font-weight: 700;
    color: #262338;
    margin-bottom: 23px;
}

.categories__loading div.skeleton-loader {
    height: 52px;
    border-radius: 16px;
}

.categories__loading div:not(:last-child) {
    margin-bottom: 10px;
}

.block__title {
    margin-bottom: 25px;
    font-weight: 600;
}

.block__title.with_button {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block__title.with_button button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block__title.with_button button img {
    width: 16px;
    height: 16px;
}

.btn.with__icon img {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

.block .modal-header {
    padding: 0;
    margin-bottom: 20px;
    border: none;
}

.block .modal-header .block__title {
    margin-bottom: 0
}

.block .modal-body {
    padding: 0;
}

.menu__col {
    margin-top: 70px;
    width: 260px;
}

.page__col {
    width: calc(100% - 280px);
    margin-left: auto;
}

.block.block__stats {
    display: flex;
    align-items: center;
}

.block.block__stats .icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.block.block__stats .icon {
    padding: 12px;
    background: #0066ff;
    border-radius: 50%;
    margin-right: 15px;
}

.block.block__stats .text .block__title {
    margin-bottom: 0;
}

.block.block__stats .text .block__value {
    font-weight: 700;
    margin-bottom: 0;
    color: #262338;
}

.actions .btn {
    color: #FFFFFF;
    cursor: pointer !important;
}

.telegram-menu .telegram-row {
    margin-right: calc(-.5 * 5px);
    margin-left: calc(-.5 * 5px);
}

.telegram-menu .telegram-row:not(:last-child) {
    margin-bottom: 5px;
}

.telegram-menu .telegram-row .col {
    padding-right: calc(5px * .5);
    padding-left: calc(5px * .5);
}

.telegram-menu .telegram-row:empty {
    height: 50px;
    margin-right: 0;
    margin-left: 0;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    position: relative;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.telegram-menu .telegram-row:empty:after {
    content: "Перетащите кнопку или нажмите здесь";
    font-size: 13px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 18px;
    color: rgba(0, 0, 0, 0.6);
}

.telegram-menu .telegram-btn {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.telegram-menu .telegram-btn[data-hidden="1"]:before {
    content: "Скрыта";
    position: absolute;
    font-size: 10px;
    background: #262338;
    padding: 3px 6px;
    color: #fff;
    font-weight: 400;
    line-height: 10px;
    left: 4px;
    top: 4px;
    border-radius: 3px;
}

.telegram-menu .telegram-btn .actions {
    display: none;
}

.telegram-menu .telegram-btn.show-actions .actions {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.telegram-menu .telegram-btn.show-actions .actions .btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-menu .telegram-btn,
.telegram-menu .add-row,
.telegram-menu .empty-row {
    background: #e4e4e4;
    text-align: center;
    font-size: 13px;
    border-radius: 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #000;
    height: 50px;
    line-height: 50px;
}

.telegram-menu .add-row {
    color: #0089c7;
    background: rgba(0, 137, 199, 0.1);
    border: 1px dashed #0089c7;
    cursor: pointer;
}

.telegram-menu .skeleton-loader {
    height: 50px;
}

.telegram-menu .skeleton-loader:not(:last-child) {
    margin-bottom: 5px;
}

.modal-footer {
    justify-content: start;
}

.breadcrumb-item a {
    text-decoration: none;
}

.settings label:not(.mb-10) {
    margin-bottom: 0;
}

.settings .form-switch {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-left: 0;
}

.settings .form-switch .form-check-input {
    width: 32px;
    height: 22px;
}

.fr-box p {
    margin-bottom: 0;
}

.placements {
    display: flex;
    gap: 10px;
}

.placements .skeleton-loader {
    height: 41px;
}

.placements .skeleton-loader:first-child,
.placements .skeleton-loader:nth-child(4) {
    width: 16%;
    flex: 0 0 16%;
}

.placements .skeleton-loader:nth-child(2) {
    width: 12%;
    flex: 0 0 12%;
}

.placements .skeleton-loader:nth-child(3) {
    width: 28%;
    flex: 0 0 28%;
}

.placements-table p {
    margin-bottom: 0;
}

.placements-table tbody tr td:last-child {
    text-align: center;
}

.placements-table tbody tr td:last-child .btn {
    display: block;
    width: 100%;
}

.placements-table tbody tr td:last-child .btn:not(:last-child) {
    margin-bottom: 10px;
}

.select2-container {
    display: block;
    width: 100% !important;
}

.select2-dropdown {
    z-index: 1060;
}

.select2-container--default .select2-selection--single {
    border: none;
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 20px;
    right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}

.photo__edit {
    height: 200px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background: #EFF0F6;
    justify-content: center;
}

.photo__edit .image {
    text-align: center;
}

.photo__edit .image img {
    height: 100%;
    max-height: 200px;
}

.photo__edit .buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.input__wrapper {
    width: 100%;
    position: relative;
    margin: 0;
    text-align: center;
}

.input__file {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.input__file-icon-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.input__file-button-text {
    margin-top: 1px;
}

.payments-table table {
    vertical-align: middle;
}

.post .body p {
    margin-bottom: 0;
}

.post .photo {
    position: relative;
    height: 300px;
    overflow: hidden;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 20px;
}

.post .photo .bg {
    position: absolute;
    z-index: 0;
    width: 100%;
    background: #000;
}

.post .photo .bg img {
    width: 110%;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -35%);
    opacity: .6;
    filter: blur(10px);
}

.post .photo .main__photo {
    position: relative;
    z-index: 2;
    height: 100%;
    width: auto;
}

.post .bottom.row .col-xl-6,
.post .bottom.row .col-xl-12 {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.post .bottom .status {
    font-weight: 600;
    padding: 18px 26px;
    border-radius: 16px;
    color: #fff;
}

.post .bottom .status.status__0 {
    background: #0066ff;
}

.post .bottom .status.status__1,
.bg-success {
    background: #1EC198 !important;
}

.post .bottom .status.status__2 {
    background: #6c757d;
}

.post .bottom .btn svg {
    width: 18px;
    height: 18px;
}

.post .bottom .btn svg * {
    fill: #fff;
}

.block.post.loading * {
    display: block;
    background: #eee;
    background: linear-gradient(110deg, #EFF0F6 8%, #FCFCFC 18%, #EFF0F6 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    -webkit-animation: .75s shine linear infinite;
    animation: .75s shine linear infinite;
}

.block.post.loading .block__title {
    height: 24px;
}

.block.post.loading .body {
    height: 5vh;
}

.posts__empty {
    text-align: center;
}

.posts__empty svg {
    width: 148px;
    height: 148px;
}

.posts__empty svg path {
    fill: #4E4B66;
}

.posts__empty h5 {
    margin-bottom: 0;
    color: #4E4B66
}

.menu__btn {
    display: none;
}

.channels-table td {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .content {
        position: relative;
        margin: 20px 0;
    }

    .page__col {
        width: 100%;
    }

    .menu__col {
        position: absolute;
        height: 100vh;
        left: -280px;
        top: -20px;
        background: #0066ff;
        margin-top: 0;
        padding: 20px;
        transition: all .3s;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -o-transition: all .3s;
        min-width: 260px;
        z-index: 1000;
    }

    .menu__col.opened {
        left: -20px;
    }

    .menu__items ul li a {
        color: rgba(255, 255, 255, .6);
    }

    .menu__items ul li a svg {
        fill: rgba(255, 255, 255, .6);
    }

    .menu__items ul li a:hover,
    .menu__items ul li.active a {
        background: rgba(255, 255, 255, .05);
        color: #fff;
    }

    .menu__items ul li a:hover svg,
    .menu__items ul li.active a svg {
        fill: #fff;
    }

    .menu__btn {
        display: flex;
        background: #262338;
        line-height: 1;
        margin-right: 10px;
        width: 39px;
        height: 39px;
        border-radius: 12px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .menu__btn svg {
        width: 16px;
        height: 16px;
    }

    .menu__btn.close svg {
        width: 22px;
        height: 22px;
    }

    .menu__btn.close {
        width: auto;
        height: auto;
        background: transparent;
        margin-bottom: 20px;
        justify-content: flex-end;
    }

    .page__title {
        display: flex;
        align-items: center;
    }
}

.categories .actionsButtons {
    display: flex;
    gap: 5px;
}

.categories .actionsButtons button {
    background: transparent;
    border: none;
    box-shadow: none;
    line-height: 1;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all .1s;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -o-transition: all .1s;
}

.categories .category__title-child .actionsButtons button {
    color: #262338;
}

.categories .actionsButtons button:hover {
    background: rgba(0, 0, 0, .15);
    transition: all .1s;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -o-transition: all .1s;
}

.categories .actionsButtons button:active {
    background: rgba(0, 0, 0, .25);
    transition: all .1s;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -o-transition: all .1s;
}

.category:not(:last-child) {
    margin-bottom: 18px;
}

.category.category-child {
    width: 95%;
    margin-left: auto;
}

.category .category__title {
    font-weight: 600;
    padding: 18px 26px;
    border-radius: 16px;
    background: rgba(78, 75, 102, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.category.category-parent .category__title-parent {
    margin-bottom: 15px;
    background: #0066ff;
    color: #fff;
}

.modal-content {
    border-radius: 20px;
    padding: 34px 30px;
    border: none;
}

.modal-header {
    border: none;
}

.modal-title {
    font-weight: 700;
}

.modal-footer {
    border: none;
    padding-bottom: 0;
    justify-content: flex-start;
}

.modal-body h5 {
    font-size: 18px;
}