@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    font-family: Roboto, serif;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    svg {
        width: 18px;
        height: 18px;
    }

    .delete-link svg {
        width: 20px;
        height: 20px;

        path {
            stroke: #d90000;
        }
    }
}

.navbar.shadow-sm {
    box-shadow: none !important;
    border-bottom: 1px solid #eaeaea;
}

.navbar {
    a {
        color: #000;
    }
}

.link-label {
    font-size: 10px;
    font-weight: 500;
    color: gray;
    text-transform: uppercase;
}

.camp-link {
    background-color: #fff;
    padding: 7px;
    border-radius: 4px;

    a {
        font-weight: 500;
    }
}

.add-exp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #b7b7b7;
    color: #838383;
    transition: 0.3s;
}
.add-exp:hover {
    border: 1px solid #000;
    color: #000;
}
.exp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;

    .exp-list-item {
        .exp-header {
            background-color: #f2f7fd;
            border-radius: 4px;
            border: 1px solid #ccdcef;
            border-bottom-right-radius: 0 !important;
            padding: 2px 6px;
            display: flex;
            align-items: center;

            .expand-exp {
                width: 26px;
                display: flex;
                align-items: center;
                justify-content: start;

                svg {
                    width: 20px;
                    height: 20px;

                    path {
                        stroke: #888888;
                    }
                }
            }

            .title {
                flex: 1;
                width: 100%;
                display: flex;
                align-items: center;
                gap: 6px;

                input {
                    flex: 1;
                    border: 0;
                    background-color: #f2f7fd;
                    padding-left: 7px;
                    padding-right: 7px;
                    height: 26px;
                }
                input::placeholder {
                    color: #bacada;
                }
                input:focus {
                    outline: none !important;
                }

            }

            .exp-actions {
                width: 26px;
                display: flex;
                align-items: center;
                justify-content: end;

                .exp-delete {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .exp-delete svg {
                    width: 20px;
                    height: 20px;

                    path {
                        stroke: #ce6868;
                    }
                }
            }
        }

        .exp-body {
            margin-left: 39px;
            border-left: 1px solid #ccdcef;
            border-bottom: 1px solid #ccdcef;
            border-right: 1px solid #ccdcef;

            padding: 6px 10px;

            .add-segment {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 1px 3px;
                border-radius: 3px;
                border: 1px solid #b7b7b7;
                color: #838383;
                transition: 0.3s;
                text-decoration: none;
                font-size: 11px;
            }

            .add-segment:hover {
                border: 1px solid #000;
                color: #000;
            }

            .exp-segments {
                margin-top: 10px;
                list-style: none;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 3px;

                li {
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    .segment-code {
                        flex: 1;
                        border: 0;
                        background-color: #fff;
                        padding-left: 7px;
                        padding-right: 7px;
                        height: 26px;
                    }

                    .segment-percent {
                        flex: 1;
                        border: 0;
                        background-color: #fff;
                        padding-left: 7px;
                        padding-right: 7px;
                        height: 26px;
                    }

                    .segm-delete {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 20px;
                        height: 20px;

                        path {
                            stroke: #ce6868;
                        }
                    }
                }
            }
        }
    }
}
.hidden-elem {
    display: none !important;
}
#popcon {
    position: absolute !important;
}
.small-preview {
    width: 75px;
    border-radius: 6px;
}
.small-preview2 {
    width: 40px;
    border-radius: 6px;
}
.template-selector {
    overflow: hidden !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Выравнивание элементов по началу ряда */
    row-gap: 10px;
    column-gap: 10px;
}
.template-item {
    height: 600px;
    width: calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .title {
        background-color: #000;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}
.template-selector a {
    width: 100% !important; /* Для 3 в ряд на мобильных устройствах */
    overflow: hidden !important;
    flex: 1;
    height: 365px !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
}

@media (max-width: 768px) {
    .template-selector a {
        width: calc(50% - 10px); /* Для 6 в ряд на ПК */
    }

    .template-item {
        height: 300px;
    }
}
.preview-block {
    max-width: 80%;
    margin: 0 auto;
    img {
        width: 100%;
        border-radius: 10px;
    }
}
.selected-file {
    max-width: 80%;
    margin: 0 auto;
    img {
        width: 100%;
        border-radius: 10px;
    }
}
.hidden-elem {
    display: none !important;
}
.controls {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.selected-file {
    margin-top: 10px;
}
.preview-block-toggled {
    position: relative;
    /*height: 270px;*/

    img {
        /*position: absolute;*/
        /*top: 0;*/
        /*left: 0;*/
        max-height: 100%;
    }

    .toggler {
        /*position: absolute;*/
        right: 0;
        top: 0;
        color: #fff;
        background-color: #000;
        text-decoration: none;
        font-size: 13px;
        padding: 2px 7px;
        border-radius: 4px;
    }
}
.templ-img {
    position: relative;
    overflow: hidden !important;

    .title {
        position: absolute;
        z-index: 100;
        left: 0;
        top: 0;
        right: 0;
        text-decoration: none;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.59);
        padding: 3px 8px;
        display: inline-block;

        text-align: center;
    }
}
.container {
    input[type=text], input[type=number], input[type=password], textarea, select {
        background-color: #fff;
    }
    input[type=text]:focus, input[type=number]:focus, input[type=password]:focus, textarea:focus, select:focus {
        background-color: #fff;
    }
}
.pos-input {
    width: 100px;
    text-align: center;
    border: 1px solid silver;
    border-radius: 5px;
}
.full-width-label {
    width: 550px !important;
}
.config-row {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    .param-title {
        width: 230px;
    }
    .param-value {
        width: 200px;

        input, textarea {
            border: 1px solid #dcdcdc;
            text-align: center;
            width: 100%;
        }
        textarea {
            text-align: left;
        }
        span {
            opacity: 0.4;
        }
    }
}
.label-upload-text {
    text-align: center;
}
.lora-upload-form {
    padding: 12px;
    background-color: #ddf2ff;
    border-radius: 6px;
    margin-bottom: 10px;

}
.disabled-style {
    opacity: 0.4;
}
.gen-status {
    span {
        font-size: 13px;
        font-weight: normal;
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }
}
.gender {
    font-size: 11px;
    padding: 3px;
    background-color: #e3e3e3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 3px;
}
.gender.f {
    background-color: #f6d6ff;
}
.gender.m {
    background-color: #d2e0ff;
}
.photo-block {
    display: flex;
    flex-direction: column;
    column-gap: 10px;
    row-gap: 10px;

    .open-photo {


        max-width: 100%;

        img {
            width: 100%;
            border-radius: 7px !important;
        }
    }
}
.female-count, .male-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.female-count {
    color: #e55a72;
    font-weight: 500;
}
.male-count {
    color: #5a81e5;
    font-weight: 500;
}
.hover-opacity td {
    transition: 0.2s;
}
.hover-opacity:hover  td {
    opacity: 1;
}
.to-payment-form {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    input {
        width: 60px;
        text-align: center;
        border: 1px solid #d5d5d5;
        border-radius: 3px;
    }
}
.fields-box, .ob-screen-fields {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 65%;

    .fields-row {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 5px;

        input {
            border: 1px solid #cbcbcb;
            border-radius: 3px;
            flex: 1;
        }


        .delete-field-link {
            svg {
                width: 20px;
            }
            width: 20px;
        }

        .upload-field-link {
            svg {
                width: 20px;
            }
            width: 20px;
        }
    }
}
.ob-screen-fields {
    margin-top: 12px;
    width: 100% !important;
}
.stat-filter {
    .form-group {

    }
    label {
        color: #a2a2a2;
        font-size: 12px;
        margin-bottom: 2px;
    }

    .period-form {
        display: flex;
        align-items: center;
        gap: 4px;

        input {
            background-color: #fff;
        }
    }

}
.stat-table {
    thead th {
        text-transform: uppercase;
        color: #afafaf;
        font-weight: bolder;
    }
}
.date-stat {
    tr, td, th {
        font-size: 11px !important;
    }
}
.send-progress {
    max-width: 250px;
}
.segments {
    display: flex;
    flex-direction: column;
    gap: 6px;

    li {
        display: flex;
        /*align-items: center;*/
        gap: 6px;
        height: 46px;
        align-items: flex-end;

        .item-block {
            display: flex;
            flex-direction: column;
            gap: 1px;

            span {
                flex: 1;
                color: #969696;
                font-size: 11px;
            }

            input, select {
                border: 1px solid #969696;
                border-radius: 3px;
                height: 27px;
            }

            .delete-segment {
                svg {
                    width: 20px;
                }
            }


        }

        .action-item {
            display: flex;
        }

        .allocation-item input {
            text-align: center;
            width: 80px !important;
        }
    }
}
.mr-10 {
    margin-right: 10px;
}
.stat-filter-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    a {
        text-decoration: none;
    }

    .period-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 18px;
    }
}
.text-right {
    text-align: right;
}
.pl-12 {
    padding-left: 22px;
}
.filter-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.check-box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.pos-template, .pos-template-effect, .pos-template-scenario, .pos-template-animation, .pos-higgsfield-animation, .pos-template-tools, .pos-editor {
    border: 1px solid silver;
    border-radius: 4px;
    text-align: center;
    max-width: 50px;
}
.chart-container {
    position: relative;
    height: 544px;
    padding: 0;
    width: 100%;

    canvas {

    }
}
.chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.multi-picker-row {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

    span {
        width: auto;
    }

    select {
        width: auto !important;
    }

    .period-form {
        display: inline-flex;
        align-items: center;
        gap: 10px;

        input {
            background-color: #fff;
        }
    }

    .width-120 {
        width: 120px;
    }
}
.template-author {
    margin-top: 6px;
    font-size: 11px;
    color: #656565;
}
.exp-row {
    cursor: pointer;
}
.children-category {
    .category-title-cell {
        margin-left: 35px;
    }

}
.fitting-image-category {
    width: 35px;
    border-radius: 4px;
}
.category-title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.table-extra-small {
    font-size: 11px;
}
.text-right {
    text-align: right !important;
}
.bank-number-item {
    font-size: 11px;
    color: #575757;
    cursor: pointer;
}
copy-tooltip {
    position: absolute;
    background: black;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    z-index: 1000; /* Чтобы тултип был поверх других элементов */
}
.toggle-block {
    display: block;
    cursor: pointer;
    span {
        display: inline-block;
        border-bottom: 1px dotted #505050;
    }
}
.req-row {
    display: flex;

    strong {
        width: 320px !important;
    }
    span {
        flex: 1;
    }
}
.req-row:hover {
    background-color: #d5d5d5;
}
.group-preview-image-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: inline-flex;
    flex-wrap: wrap;
    row-gap: 5px;
    column-gap: 5px;

    li {
        width: 90px;
        height: 90px;
        border-radius: 5px;
        position: relative;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #121212;

        background-position: center;

        a {
            position: absolute;
            top: 0;
            right: 3px;
            width: 16px;
            height: 16px;

            svg {
                stroke: #a50000 !important;
            }
        }
    }
}
.scenario-selector {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    column-gap: 10px;
    row-gap: 10px;
    flex-wrap: wrap;

    li {
        width: 90px;
        height: 90px;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #121212;

        background-position: center;
        border-radius: 5px;
        cursor: pointer;
        opacity: 0.7;
        transition: 0.2s;
        outline: 2px solid rgba(0, 0, 0, 0);

        input {
            display: none;
        }
    }
    li:hover {
        opacity: 1;
    }
    li.active {
        opacity: 1;;
        outline: 4px solid #ac0000;
    }
}
.scenarios-flex {
    display: flex;
    align-items: center;
    gap: 10px;

    input {
        flex: 1;
    }
    button {
        width: 140px;
    }
}
.country-title-flex {
    display: flex;
    align-items: center;
    gap: 6px;
}
.flex-justify {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mass-actions-flex {
    display: flex;
    align-items: flex-end;
    gap: 23px;
    flex: 1;
    width: 100%;
    margin-bottom: 13px;

    .mass-action-item {
        display: flex;
        flex-direction: column;
        gap: 2px;


        span {
            flex: 1;
        }
    }
}
.filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.banner-filter {
    .mass-action-item {

    }
}
.package-selector {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    .package-selector-cont {
        flex: 1 !important;
    }

    span {
        width: 200px;
    }

    select {
        flex: 1;
    }
}
.buttons-group {
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 7px;
    height: 30px;
    display: flex;
    align-items: center;
    background-color: #002e77;
    color: #fff;
    margin-bottom: 1px;
    transition: 0.3s;
    cursor: pointer;
}
.buttons-group:hover {
    background-color: #3d77cf;
}
.custom-sort {
    a {
        text-decoration: none;
    }
}
.active-sort-mode {
    text-decoration: underline !important;
    font-weight: bolder !important;
}
.active-column {
    background-color: #dbe8ff !important;
}
.survey-questions-box {
    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;

        li {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1px;

            .question-row {
                flex: 1;
                display: flex;
                align-items: center;
                gap: 5px;
            }

            input {
                border: 1px solid #cbcbcb;
                border-radius: 3px;
                flex: 1;
            }

            select {
                border: 1px solid #cbcbcb;
                border-radius: 3px;
                height: 26px;
            }


            .delete-question {
                svg {
                    width: 20px;
                }
                width: 20px;
            }
        }
    }
}
.show-question-users {
    cursor: pointer;
    transition: 0.3s;
}
.show-question-users:hover {
    color: #0066ff;
}
.style-set-box {
    ul {
        max-width: 400px;
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 2px;

        li {
            display: flex;
            align-items: center;
            gap: 6px;

            .title {
                text-transform: uppercase;
                color: #5c5c5c;
                font-size: 11px;
                flex: 1;
                font-weight: bold;
                cursor: pointer;
            }

            .pos-set-input {
                border: 1px solid #5c5c5c;
                width: 50px;
                text-align: center;
                font-size: 11px;
                border-radius: 3px;
            }
        }

        li.filled {
            .pos-set-input {
                background-color: aqua !important;
            }
            .title {
                color: #00c8c8;
            }
        }
    }
}
.offers-list {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    a {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 3px;

        svg {
            width: 15px;
            height: 15px;
            opacity: 0.4;
        }
    }

    a:hover {
        color: #000 !important;
        svg {
            opacity: 1;
        }
    }
}
.res-item {
    min-width: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    svg {
        width: 15px;
        height: 15px;
    }
}
.mini-preview {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    img {
        width: 40px !important;
        border-radius: 4px;
    }
}
.edit-comment {
    text-decoration: none;
    color: #575757;
}
.edit-comment {
    margin-top: 10px;
}

.edit-comment:empty {
    margin-top: 0;
}
.comment-exp {
    font-weight: normal;
}
.variation-form-comment {
    display: flex;
    flex-direction: column;
    gap: 2px;

    textarea {
        width: 100%;
        flex: 1;
        border: 0;
        line-height: normal;
        min-height: 60px;
        resize: vertical;
        padding-left: 4px;
        padding-top: 2px;
    }

    button {
        border: 1px solid #c6c6c6;
        height: 25px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100px;
    }

    .variation-form-actions {
        display: inline-flex;
        align-items: center;
        gap: 10px;

        a {
            text-decoration: none;
            color: #676767;
            font-weight: normal;
        }
    }
}
.feed-preview {
    img, video {
        width: 100%;
        border-radius: 6px;
    }
}
.withdrawal-app-inp {
    border: 1px solid #c6c6c6;
    height: 20px;
    max-width: 100px;
}
.open-country-ob, .country-ob-metric {
    cursor: pointer;
}
.ob-screen {
    background-color: #e8f1ff;
    border-radius: 6px;
    padding: 10px;

    .ob-screen-header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .ob-pos {
            width: 50px;
            text-align: center;
            border: 1px solid #d1d1d1;
            border-radius: 3px;
        }
    }
}
.delete-ob-screen, .copy-ob-screen {
    svg {
        width: 20px;
    }
    width: 20px;
}
.ob-act {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ob-screen-fields {
    .config-param {
        flex: inherit !important;
        width: 240px !important;
        max-width: 240px !important;
    }

    .config-value {
        flex: 1 !important;
    }
}
.question-answers {
    margin-left: 25px;
    margin-bottom: 5px;

    display: flex;
    flex-direction: column;
    gap: 1px;

    label {
        display: block;
    }

    .question-answer-row {
        display: inline-flex;
        flex-direction: column;
        gap: 1px;
        max-width: 960px;

        background-color: #eaeaea;
        padding: 5px;

        transition: 0.3s;

        .two-columns {
            display: inline-flex;
            gap: 10px;

            .column-div {
                width: 320px;
            }

            input {
                width: 100%;
            }
        }
    }

    .question-answer-row:hover {
        background-color: #dcdcdc;
    }
}
.large-field {
    font-size: 15px;
    font-weight: bold;
    color: #e60000;
}
.large-field-inp {
    border: 1px solid #e60000 !important
}
