#rega_files {
    position: relative;
    overflow: hidden;
    background: url(../assets/paper.jpg);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.30), 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    padding: 16px 0;
}

#rega_files {
    overflow: hidden;
}

.subscribe_head2 {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.left_rega {
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.files_block {
    opacity: 0;
    transform: translateX(40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

#rega_files.is-visible .subscribe_head2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

#rega_files.is-visible .left_rega,
#rega_files.is-visible .files_block {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.35s;
}


.rega_files {
    padding: 4px 0;
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
}

.rega_files .subscribe_head {
    padding: 64px 16px;
    position: relative;
}

#rega_files:before {
    content: "";
    position: absolute;
    bottom: 25px;
    width: 100%;
    left: 0;
    height: 2px;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
    z-index: 1;
}

#rega_files:after {
    content: "";
    position: absolute;
    top: 25px;
    width: 100%;
    left: 0;
    height: 2px;
    background: linear-gradient(270deg, #4D4336 0.05%, #714A27 63.49%, #8B6849 78.97%, #5E5548 98.45%);
    z-index: 1;
}

.rega_files_wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0;
}

.rega_files_body {
    width: 100%;
    height: 100%;
    position: relative;
    background: url(../assets/paper.jpg);
    padding: 84px 64px 152px;
}

.rega_files_body:before {
    content: '';
    width: 100%;
    height: 87px;
    background: url(../assets/long_form.png) center / contain no-repeat;
    position: absolute;
    top: 6px;
    left: 0;
}

.rega_files_body:after {
    content: '';
    width: 100%;
    height: 87px;
    background: url(../assets/long_form.png) center / contain no-repeat;
    transform: scale(-1);
    position: absolute;
    bottom: 6px;
    left: 0;
}

.rega_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#signup-form {
    padding: 63px 0 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 100%;
    position: relative;
}

.files_block {
    position: relative;
    width: 100%;
    border-radius: 30px;
    background: url(../assets/white-paper.jpg);
    box-shadow: 0 1px 2px 0 #0000004d, 0 2px 6px 2px #00000026;
    padding: 16px;
    height: fit-content;
    max-width: 640px;
    margin: 0 auto;
}

.files_border {
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 3px;
}

.form_titlereg,
.block_files_h3 {
    font-family: Colus;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.32px;
    text-align: center;
}

.form-group input {
    color: #080808;
    font-size: 18px;
    line-height: 24px;
    width: 100%;
    height: 56px;
    padding: 16px 32px;
    border-radius: 5px;
    background: #F5F5F5;
    box-shadow: 0 1px 4px 0 #00000040 inset;
}

.prefiks_block {
    border-radius: 5px;
    background-color: #F5F5F5 !important;
    box-shadow: 0 1px 4px 0 #00000040 inset;
    color: #9E9E9E !important;
    font-size: 18px !important;
    line-height: 24px;
    margin: 0 6px 0 0;
}

.left_rega {
    width: 100%;
    max-width: 491px;
}

.checkbox label {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.001em;
    text-align: left;
    display: flex;
    gap: 8px;
    position: static;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.form-group {
    position: relative;
    width: 100%;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
    position: absolute;
    top: 3px;
    left: 3px;
    display: inline-block;
    content: "";
    width: 12px;
    height: 12px;
    border: #ffffff solid 2px;
    background: #aa0909;
    border-radius: 3px;
}

input[type="checkbox"]::after,
input[type="radio"]::after {
    display: inline-block;
    content: "";
    width: 20px;
    height: 20px;
    border: 1px solid #c9c9c9;
    background: #FFFFFF;
    transition: .2s linear;
    border-radius: 3px;
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
    background: #aa0909;
}

.checkbox label {
    font-family: Evolventa;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.001em;
    text-align: left;
    display: flex;
    gap: 12px;
    position: static;
    width: 100%;
    height: auto;
}

input[type="checkbox"] {
    width: 20px;
    height: 15px;
    min-width: 20px;
    border: none;
    background: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0;
}

.input-group {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#form-signup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.help-block {
    font-size: 14px;
    line-height: 16px;
}

.has-error .help-block {
    color: #AA0909;
}

.alert.alert-success {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 10000;
    padding: 16px;
    background: #271d10;
    border-radius: 16px;
    max-width: 300px;
    color: #f3e9dc;
    font-family: Colus;
    font-size: 18px;
    font-style: normal;
    line-height: 30px;
    letter-spacing: -0.192px;
    box-shadow: 0px 0px 5px 5px #eed18763;
}

.block_files {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 44px;
    border-radius: 18px;
    background: url(../assets/white-paper.jpg);
    width: 100%;
    height: 100%;
    position: relative;
}


.block_files:after {
    content: "";
    position: absolute;
    bottom: 4px;
    height: calc(100% - 10px);
    left: 4px;
    border: 1px dotted #997759;
    border-radius: 16px;
    width: calc(100% - 10px);
    pointer-events: none;
}

.files_name {
    color: #AA0909;
    font-family: Evolventa Bold;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -0.24px;
}

.files_text {
    font-size: 18px;
    line-height: 24px;
}

.files_between {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    color: #928158;
    font-family: Colus;
    font-size: 18px;
    line-height: 110%;
}

.files_between_line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #685C3E 0%, #685c3e00 100%);
}

.block_files_download {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.files_title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.files_download_part {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block_files_content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
    justify-content: space-between;
}

.video_tutorial {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video_tutorial iframe {
    height: 281.813px;
    align-self: stretch;
    aspect-ratio: 501.00/281.81;
    border-radius: 12px;
    box-shadow: 0 -1.232px 0.822px 0 #FFF inset, 0 -2.472px 0.494px 0 rgba(255, 255, 255, 0.30) inset, 0 1.236px 2.472px 0 rgba(0, 0, 0, 0.40) inset, 0 0.822px 0 0 #FFF, 0 -0.822px 0 0 rgba(0, 0, 0, 0.25);
}

.video_text {
    font-family: Evolventa Bold;
    font-size: 16px;
    line-height: 130%;
}

#form-signup .gold_button {
    width: 100%;
}

.video_popup_wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #141721ad;
    top: 0;
    left: 0;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: all 0.6s ease;
}

.mb-16 a {
    color: #AA0909;
}

.video_popup_body {
    width: 100%;
    position: relative;
    padding: 32px;
    max-width: 800px;
    aspect-ratio: 16 /9;
}

.video_popup_body iframe {
    width: 100%;
    height: 100%;
}

.video_popup_close_wrapper {
    position: absolute;
    right: 32px;
    top: -30px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #F7E8B232;
}

.video_popup_close {
    background: url(../assets/close.svg) center / cover no-repeat;
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(98%) sepia(10%) saturate(373%) hue-rotate(220deg) brightness(117%) contrast(81%);
}

.video_popup_close_wrapper:hover .video_popup_close {
    transform: scale(1.2);
}

.rega_files_info {
    border: 1px solid #f7e8b23d;
    display: flex;
    max-width: 1191px;
    width: 100%;
    padding: 32px;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.6s ease;
}

.rega_files_info.visible {
    transform: translateY(0);
    opacity: 1;
}

.rega_files_info_img {
    width: 24px;
    min-width: 24px;
    height: 24px;
    background: url(../assets/info.svg) center / cover no-repeat;
}

.rega_files_info_text {
    color: #FFF6D4;
    font-size: 16px;
    line-height: 130%;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none !important;
    z-index: 1000;
    gap: 0 !important;
    border-radius: 30px !important;
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), linear-gradient(180deg, #E0E0E0 0%, rgba(224, 224, 224, 0.85) 100%) !important;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 2px 6px 2px rgba(0, 0, 0, 0.15) !important;
    padding: 16px !important;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    width: 620px;
    height: fit-content;
}

.popup_body {
    border-radius: 20px;
    border: 3px solid #997759;
    padding: 40px;
    position: relative;
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), linear-gradient(180deg, #E0E0E0 0%, rgba(224, 224, 224, 0.85) 100%);
    width: 100%;
    height: 100%;
}

.popup_body:after {
    content: "";
    position: absolute;
    bottom: 4px;
    height: calc(100% - 10px);
    left: 4px;
    border: 1px dotted #997759;
    border-radius: 16px;
    width: calc(100% - 10px);
    pointer-events: none;
}

.popup_text {
    font-family: Colus;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: -0.32px;
    padding-bottom: 8px;
    max-width: 410px;
}

.popup_more {
    padding-bottom: 67px;
    max-width: 290px;
    line-height: 24px;
    font-size: 18px;
}

.popup_body button {
    position: relative !important;
}

.sova {
    position: absolute;
    right: -20px;
    bottom: 0;
    z-index: 6;
    pointer-events: none;
}

.popup_text span {
    color: #AA0909;
}

.mt-16 {
    margin-top: 16px !important;
}

.bonuses {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1160px) {
    .video_tutorial iframe {
        height: 220.5px;
        align-self: stretch;
        aspect-ratio: 392.00/220.50;
    }

    .block_files {
        gap: 32px;
        padding: 37px;
    }

    .files_name {
        font-size: 18px;
        line-height: 130%;
        letter-spacing: -0.18px;
    }

    .files_text {
        font-size: 14px;
        line-height: 130%;
    }

    .video_text {
        font-size: 14px;
        line-height: 130%;
    }

    .rega_files_body:after,
    .rega_files_body:before {
        background-size: cover;
    }
}

@media (max-width: 980px) {

    .rega_files_body:after,
    .rega_files_body:before {
        height: 63px;
    }

    .left_rega {
        margin: 0 auto;
    }

    .rega_files_wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .rega_files_body {
        padding: 54px 16px 90px;
    }

    .rega_files .subscribe_head {
        padding: 32px 16px;
    }

    #signup-form {
        padding: 30px 0 0;
    }

    .form_titlereg,
    .block_files_h3 {
        font-size: 24px;
        line-height: 36px;
        letter-spacing: -0.24px;
    }

    .files_block {
        padding: 8px;
    }

    .block_files {
        gap: 32px;
        padding: 24px;
    }
}

@media (max-width: 660px) {

    .sova {
        display: none;
    }

    .popup {
        width: 95% !important;
    }

    .popup_body {
        padding: 30px;
    }

    .popup_text {
        font-size: 24px;
        line-height: 25px;
    }

    .popup_more {
        padding-bottom: 32px;
    }

    .popup .btn {
        width: 250px !important;
        height: 52px !important;
        min-height: 52px !important;
    }
}

@media (max-width: 450px) {
    .video_tutorial iframe {
        height: 156.938px;
        align-self: stretch;
        aspect-ratio: 279.00/156.94;
    }
}