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

.jeg_container,
.jeg_content,
.jeg_boxed .jeg_main .jeg_container,
.jeg_autoload_separator {
    background: transparent;
}

.service_page {
    font-family: "Montserrat", sans-serif;
    color: #fff;
    font-weight: 500;
    line-height: normal;
    position: relative;
    z-index: 3;
}

.jeg_post_title {
    font-family: "Montserrat", sans-serif !important;
    color: #fff !important;
}

._animate {
    opacity: 0;
    -webkit-transition: 1.2s;
    -o-transition: 1.2s;
    transition: 1.2s;
    -webkit-transform: translateY(0.8em);
    -ms-transform: translateY(0.8em);
    transform: translateY(0.8em);
}

._animate._opacity-only {
    -webkit-transition: 1.5s;
    -o-transition: 1.5s;
    transition: 1.5s;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

._animate._animated {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 20px
}

.tab_btn {
    opacity: 0.7;
}

.tab_btn.active {
    opacity: 1;
}

.result {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.form_block,
.totals,
.block {
    padding: 30px;
    background: radial-gradient(50% 50% at 50% 50%, #563B6D 0%, #2C193C 100%);
    border: 1px solid rgba(195, 195, 195, 1);
    border-radius: 24px;
}

.form_block .label-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.entry_text a,
.form_block .label-text a {
    font-weight: 600;
    color: rgba(227, 47, 209, 1);
    transition: 0.4s;
}

.entry_text a:hover,
.form_block .label-text a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.tab {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px
}

input[type=checkbox],
input[type=radio] {
    width: auto
}

.hidden {
    display: none !important;
}

.line {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    line-height: 100%;
}

.total {
    font-size: 24px;
    font-weight: bold;
    margin-top: 15px
}

.tab-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.radio-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.tab_title {
    display: flex;
    gap: 15px;
}

.tab_title h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #fff;
}

.calculator {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 3;
}

.calculator label {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator input[type="number"] {
    max-width: 140px;
}

.total_lines {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.totals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.time_line {
    display: flex;
    gap: 10px;
    justify-content: start;
    align-items: end;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-title,
.fg_title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    line-height: 100%;
    font-weight: 600;
    margin-bottom: -10px;
}

.input-title {
    gap: 10px;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-form textarea {
    resize: none;
    height: 103px;
    border: 1px solid rgba(152, 152, 152, 0.51);
    border-radius: 27px;
    font-size: 16px;
    text-align: left;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0;
}

.block_bg {
    position: relative;
}

.block_bg::after {
    content: '';
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('/wp-content/themes/jnews/assets/img/order_bg.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 1;
}

.btn_white {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 40px 16px 40px;
    border-radius: 27px;
    box-shadow: 0px -0.76px 17.17px 0px rgba(255, 255, 255, 0.24), 0px -1.91px 43.44px 0px rgba(255, 255, 255, 0.34);
    background: rgb(240, 237, 237);
    color: rgb(6, 6, 6);
    border: none;
    height: 52px;
    text-transform: none;
    font-size: 16.75px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: left;
    transition: 0.4s;
    width: 100%;
}

.btn_white span {
    font-size: 16px;
    font-weight: 500;
}

.btn_white:hover {
    color: rgb(6, 6, 6);
    box-shadow: 0px -0.76px 37.17px 0px rgba(255, 255, 255, 0.24), 0px -1.91px 43.44px 0px rgba(255, 255, 255, 0.34);
}

.btn_white.active {
    opacity: 1;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

/* скрываем стандартный чекбокс */
.custom-checkbox input {
    display: none;
}

/* круг */
.custom-checkbox .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
}

/* активное состояние */
.custom-checkbox input:checked+.checkmark {
    background: transparent;
}

/* галочка */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    /* цвет галочки */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

/* показываем галочку */
.custom-checkbox input:checked+.checkmark::after {
    opacity: 1;
}

.form_block .custom-checkbox {
    align-items: start;
}

/* текст */
.custom-checkbox .label-text {
    color: #fff;
    font-size: 18px;
    flex: 1 1;
}

#actorsWrap,
#audioActorsWrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 30px;
}

.number-input {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    width: 138px;
    position: relative;
}

/* input */
.number-input input {
    border: none;
    background: #fff;
    outline: none;
    width: 100%;
    padding-right: 0;
    -moz-appearance: textfield;
}

.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* блок стрелок */
.number-input .controls {
    display: flex;
    flex-direction: column;
    margin-left: -10px;
}

/* кнопки */
.number-input .btn {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.number-input .btn:hover {
    background: none;
    box-shadow: none;
}

/* стрелка вверх */
.number-input .btn.up::before {
    content: "";
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #000;
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
}

/* стрелка вниз */
.number-input .btn.down::before {
    content: "";
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #4b2c63;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

/* hover */
.number-input .btn:hover::before {
    filter: brightness(1.2);
}

.entry_text {
    display: flex;
    max-width: 80%;
    justify-content: center;
    text-align: center;
    margin: auto;
    flex-direction: column;
    gap: 20px;
}

.entry_text p,
.entry_text {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

.tooltip {
    position: relative;
    display: inline-block;
    height: 24px;
}

.tooltip-content {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 10px;
    border-radius: 12px;
    background-color: #21192a;
    color: #fff;
    padding: 8px;
    border: 1px solid;
    border-color: #fff;
    font-size: 12px;
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    width: 200px;
    z-index: 10;
}

.tooltip-content p {
    margin: 0 0 0 15px;
    line-height: 150%
}

.tooltip-content strong {
    color: rgba(227, 47, 209, 1);
}

.chk-tooltip .label-text {
    flex: 0 !important;
}

@media (hover: hover) {
    .tooltip:hover .tooltip-content {
        opacity: 1;
        visibility: visible;
    }
}

.tooltip.active .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.chk-tooltip {
    display: flex;
    gap: 10px;
    align-items: center;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    color: #fff;
    border: 2px solid rgb(152, 152, 152);
    border-radius: 12px;
    background: radial-gradient(222.34% 68.59% at 41% 32%, rgb(62, 43, 79) 22.396%, rgb(27, 15, 37) 100%);
    width: 90%;
    max-width: 420px;
    text-align: center;
    transition: 0.2s ease;
    padding: 20px;
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
}

@media (max-width: 768px) {
    .grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .result {
        gap: 20px;
    }

    .tooltip-content {
        top: 50%;
        left: 0%;
        transform: translateY(-120%);
    }

    .block_bg::after {
        background: none;
    }

    .entry_text {
        max-width: 100%;
    }

    .entry_text p,
    .entry_text {
        font-size: 14px;
    }

    .btn_white span {
        font-size: 14px;
    }

    .btn_white {
        padding: 0;
        height: 35px;
    }

    .calculator {
        gap: 0px;
    }

    .tabs {
        gap: 5px;
    }

    .form_block,
    .totals,
    .block {
        padding: 15px;
    }

    .tab_title h3 {
        font-size: 20px;
        margin: 0;
    }

    .custom-checkbox .label-text,
    .input-title,
    .fg_title {
        font-size: 14px;
        line-height: normal;
    }

    .tab-container {
        gap: 20px;
    }

    .calculator input[type="number"],
    .number-input {
        width: 73px;
        height: 31px;
    }

    .calculator input[type="number"] {
        padding-left: 15px;
    }

    .number-input .controls {
        margin-left: -30px;
    }

    .number-input .btn {
        padding: 0px;
        width: 18px;
        height: 16px;
    }

    .custom-checkbox .checkmark {
        width: 20px;
        height: 20px;
    }

    .custom-checkbox .checkmark::after {
        left: 6px;
    }

    .line {
        font-size: 14px;
    }

    .total {
        font-size: 20px;
    }

    .order-form textarea {
        height: 146px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .order-form input {
        height: 34px;
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer {
        padding-top: 0;
    }

    .service_page {
        padding-bottom: 160px;
        position: relative;
    }

    .service_page::after {
        content: '';
        display: flex;
        position: absolute;
        bottom: -40px;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background-image: url('/wp-content/themes/jnews/assets/img/order_bg.png');
        background-position: bottom center;
        background-repeat: no-repeat;
        background-size: 100%;
        z-index: 1;
    }

    .g-recaptcha {

        scale: 0.85 !important;
        width: 150px !important;
        margin: 0 !important;
        margin-left: -10px !important;
    }
}