/* reviews */
.review_video img, .review_video iframe{
    aspect-ratio: 9/16;
    object-fit: cover;
    width: 100%;
    height: auto;
    border: 0px;
  	border-radius: 8px;
}
.review_video{
    position: relative;
    overflow: hidden;
}
.bg_overlay{
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #00000090, transparent);
    border-radius: 8px;
}
.review_play{
    position: absolute;
    z-index: 3;
    background: var(--main);
    height: 64px;
    width: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
}
.review_play::before{
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 22px solid #f5f1ef;
}
.review_card_avatar{
    height: 48px;
    width: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid #fff;
    object-fit: cover;
    overflow: hidden;
}
.review_card_avatar img{
    width: 200%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}
.revie_name{
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
    font-weight: 500;
}
.review_card_text p{
    color: #fff;
}
.review_card{
    position: relative;
}
.review_card_text{
    position: absolute;
    bottom: 32px;
    left: 24px;
    z-index: 10;
}


/* why_our_website */
.why_our_website_text{
    width: 40%;
}
.img_manager{
    position: relative;
    width: 50%;
}
.img_manager img{
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
}
.img_manager img.manager{
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    aspect-ratio: inherit;
}

/* smart_choice */
.smart_choice_div{
    padding: 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 30%;
    flex-grow: 1;
}
.smart_choice_row{
    width: 100%;
}

/* how_to_use */
.how_to_use_row{
    width: 100%;
}
.how_to_use_div{
    border-radius: 8px;
    background: var(--secondary-bg-light);
    width: 20%;
    flex-grow: 1;
    padding: 24px;
}

/* faq */
.toggle_faq{
    height: 24px;
    width: auto;
    aspect-ratio: 1;
    background: var(--main);
    border-radius: 3px;
    cursor: pointer;
}
.toggle_faq span{
    width: 10px;
    height: 2px;
    background: #fff;
    display: block;
    transform: translate(0, 1px);
}
.toggle_faq span:last-child{
    transform: translate(0, -1px) rotate(90deg);
}
.toggle_faq_active span:last-child {
    transform: translate(0, -1px) rotate(0deg);
}
.faq_questions_row{
    width: 50%;
}
.faq_header{
    width: 100%;
    background: var(--secondary-bg-light);
    padding: 24px 32px;
    border-radius: 8px;
}
.faq_header p{
    max-width: 80%;
}
.faq_div, .faq_row{
    width: 100%;
}
.faq_body{
    display: none;
    padding: 24px 32px;
    background: var(--bg-light);
}
.faq_body.active{
    display: block;
}

/* cheapest */
.cheapest_row{
    width: 100%;
}
.cheapest_row_toggle{
    width: 40%;
}
.cheapest_toggle{
    padding: 16px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}
.cheapest_toggle_active, .cheapest_toggle:hover{
    background: var(--main);
    color: var(--title-text);
}
.cheapest_row_text{
    width: calc(60% - 16px);
    height: auto;
}
.cheapest_text_div{
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 32px;
    border-radius: 8px;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 16px;
}
.cheapest_text_div.active{
    display: flex;
}

/* specialists */
.specialists_row{
    width: 100%;
}
.specialists_div{
    width: 20%;
    flex-grow: 1;
}
.specialists_div img{
    width: 100%;
    height: auto;
}
.specialists_div a{
    color: var(--main);
}

/* offer */
#offer .container{
    border-radius: 16px;
    position: relative;
    background: var(--main);
    padding: 20px 80px 0px 80px;
    overflow: hidden;
}
.offer_bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-image: url('https://storage.perfectcdn.com/7sqnow/l6kur0bh409mgck7.svg');
    background-size: cover;
    background-position: center;
}
.offer_text{
    position: relative;
    z-index: 2;
    max-width: 580px;
}
.offer_text h2{
    color: var(--title-text);
}
.offer_text p{
    color: var(--text);
}

/* payments */
.swiper_payments{
    position: relative;
}
.swiper_payments .swiper-wrapper{
    transition-timing-function: linear !important;
}
.swiper_payments .swiper-slide img{
    filter: grayscale(1) brightness(0);
    height: 32px;
    width: auto;
    opacity: .7;
}
.swiper_payments .swiper-slide{
    padding: 24px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper_payments::before{
    position: absolute;
    content: "";
    display: block;
    left: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: linear-gradient(to right, var(--bg-light), transparent);
    z-index: 2;
}
.swiper_payments::after{
    position: absolute;
    content: "";
    display: block;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: linear-gradient(to left, var(--bg-light), transparent);
    z-index: 2;
}

/* footer */
footer{
    background: var(--secondary-bg-light);
    padding: 80px 0px 120px 0px;
    margin-top: 120px;
    border-top: 1px solid var(--border-light);
}
footer p, footer a{
    color: var(--title-text-light);
}
footer a:hover{
    color: var(--main);
}
footer p.big_size{
    color: var(--main);
}
.footer_div_href_list{
    max-width: 220px;
}
.footer_show_more{
    background: transparent;
    border: 0px;
    color: var(--main);
    font-weight: 400;
    text-decoration: underline;
}

/* text */
#text img{
    width: 40%;
}
.text_row_text{
    width: 50%;
}
.text_row_reverse{
    flex-direction: row-reverse;
}
#text p.medium{
    font-weight: 500;
}
#text a{
    color: var(--main);
}

/* services */
#main.main_gradient::after,
#main.main_gradient::before{
    display: none;
}
.services_table{
    padding: 24px;
    border-radius: 8px;
    background: var(--secondary-bg-light);
    width: 100%;
}
.btn_search{
    height: auto;
    width: auto;
    padding: 12px 16px;
    background: var(--main);
    border-radius: 4px;
  	aspect-ratio: 1;
}
.btn_search img{
    height: 18px;
}
.search_div{
    flex-grow: 1;
}
.search_div input{
    height: auto;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 12px 16px;
    width: 490px;
}
input:focus, input:active,
select:focus, select:active{
    outline: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: var(--text-light) !important;
    transition: background-color 9999s ease-in-out 0s;
}
input:read-only{
    cursor: no-drop;
}
input::placeholder{
    color: var(--text-light);
    opacity: .6;
}
.nav-pills{
    display: flex;
    width: 100%;
    align-items: center;
    gap: 32px;
    justify-content: space-between;
}

/* page */
#page h1{
    margin-bottom: 24px;
}
#page a{
    color: var(--main);
}
#page h3{
    margin-top: 16px;
}

/* api */
.api{
    width: 100%;
    padding: 24px;
    border-radius: 8px;
	background: var(--secondary-bg-light);
}
table{
    width: 100%;
    border-collapse: collapse !important;
}
table td{
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    color: var(--text-light);
}
table th{
    padding: 8px 16px;
    border: 1px solid var(--main);
    background: var(--main);
    text-align: left;
    color: #fff;
    font-weight: 400;
}
.api pre{
    background: #222222;
    border-radius: 4px;
    padding: 16px;
    color: var(--bg-light);
}
.api a{
    color: var(--main);
  	display: block;
}

/* sign_up */
.sign_up{
    padding: 40px 32px;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    max-width: 480px;
    width: 100%;
}
#main.main_page .sign_up_text h1{
    max-width: 580px;
    text-align: left;
}
#main.main_page .sign_up_text p{
    text-align: left;
    max-width: 580px;
}
.sign_up .input_div,
.sign_up input, .sign_up .flex,
.sign_up button{
    width: 100%;
}
.sign_up .btn_main{
    height: 62px;
}
.sign_up p a{
    color: var(--main);
    text-decoration: underline;
}
.sign_up .form-group{
    width: 100%;
}
.sign_up .btn_google_custom{
    display: flex;
    align-items: center;
    justify-content: center;
}
.sign_up button.close{
    width: 18px;
    background: transparent;
    border: 1px solid red;
    color: red;
}

/* 2fa */
.account_div_standart.reset_password_block{
    max-width: 60%;
}

/* account */
.right_section{
    padding: 24px 0px 32px 0px;
    background: #F8FAFC;
    width: 18%;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    border-right: 1px solid var(--border-light);
}
.right_section .logo{
    margin-left: 24px;
    height: 40px;
}
.right_section .logo img{
    height: 40px;
}
.tg_chat{
    background: var(--secondary-bg-light);
    padding: 16px 24px;
    border-radius: 4px;
    margin: 0px 24px;
}
ul.account_setting{
    padding: 0;
    width: 100%;
    flex-grow: 1;
  	gap: 0;
}
ul.account_setting li{
    list-style: none;
    width: 100%;
}
ul.account_setting li a{
    padding: 16px 24px;
    background: #F8FAFC;
    border-left: 2px solid #F8FAFC;
    transition: .3s;
    width: 100%;
}
ul.account_setting li a img{
    filter: grayscale(1) brightness(0);
    transition: .3s;
    height: 22px;
}
ul.account_setting li a:hover, ul.account_setting li.active_link a{
    background: var(--secondary-bg-light);
    border-left: 2px solid var(--main);
}
ul.account_setting li a:hover img,
ul.account_setting li.active_link img{
    filter: grayscale(0) brightness(1);
}
ul.account_setting li a:hover p,
ul.account_setting li.active_link a p{
    color: var(--main);
}
.left_section{
    width: 82%;
    position: relative;
    background: var(--secondary-bg-light);
    padding: 108px 20px 32px 20px;
    height: auto;
}
.account_bar_left img{
    height: 40px;
    width: auto;
    aspect-ratio: 1;
    border: 1px solid var(--main);
    padding: 4px;
    object-fit: cover;
    border-radius: 50%;
}
.account_bar{
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 18%);
    padding: 24px 32px;
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}
.account_bar_right a img{
    filter: grayscale(1) brightness(0);
}
.left_section_column, .right_section_column{
    width: calc(50% - 12px);
}
.account_div_standart{
    width: 100%;
    padding: 24px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 8px;
}
.account_div_standart h4{
    margin-bottom: 8px;
}
input, select{
    width: 100%;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 16px 20px;
    font-size: 16px;
}
.account_div_standart .flex{
    width: 100%;
}
.account_div_standart .flex p span{
    color: var(--red);
}
.account_div_standart .flex p,
.form-group label{
    opacity: .8;
}
.alert{
    color: var(--red);
    border-radius: 4px;
    background: #EF444440;
    font-size: 14px;
    display: inline-block;
    padding: 4px 8px;
}
.alert_top{
    margin-bottom: 16px;
}
.alert.alert-success{
    background: #3B82F640;
    color: var(--main);
}
.alert.error-summary{
    background: transparent;
    padding: 8px 0px;
}
.dropdown-currencies{
    position: relative;
}
#currencies-list{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    z-index: 1000;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    min-width: 140px;
    padding: 0;
    overflow: hidden;
}
#currencies-list.show{
    display: block;
}
.dropdown-currencies .dropdown-toggle{
    padding: 4px 8px;
    background: var(--secondary-bg-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  	border-radius: 4px;
}
#currencies-list li a{
    display: block;
    padding: 8px 12px;
    text-decoration: none;
  	border-radius: 4px;
}
#currencies-list li{
    list-style: none;
    border-bottom: 1px solid var(--secondary-bg-light);
    transition: .3s;
}
#currencies-list li:hover{
    background: var(--secondary-bg-light);
}
#currencies-list li:last-child{
    border-bottom: 0px;
}
.tooltip.fade{
    display: none !important;
}

/* modal  */
.modal{
    display: none;
    position: fixed;
    background: rgb(0,0,0,.7);
    backdrop-filter: blur(10px);
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 10000;
}
.modal-dialog{
    max-width: 520px;
    width: 100%;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 32px 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#changeEmailForm .form-group{
    justify-content: start;
    align-items: start;
    width: 100%;
}
  
/* ==== DARK THEME ==== */
html.dark-theme .bg_media{
    background-color: var(--light-main);
}
html.dark-theme .smart_choice_div,
html.dark-theme .how_to_use_div,
html.dark-theme .cheapest_text_div,
html.dark-theme .cheapest_toggle,
html.dark-theme footer, html.dark-theme .sign_up,
html.dark-theme .account_div_standart,
html.dark-theme .account_div_standart input,
html.dark-theme .account_div_standart select{
    background-color: var(--bg);
    border: 1px solid var(--border);
}
html.dark-theme .cheapest_toggle.cheapest_toggle_active{
    background: var(--main);
    color: var(--title-text);
}
html.dark-theme .cheapest_toggle:hover{
    background: var(--main);
    color: var(--title-text);
}
html.dark-theme .how_to_use_div img{
    filter: grayscale(1) brightness(1000);
}
html.dark-theme .faq_header, html.dark-theme footer,
html.dark-theme .api{
    background: var(--secondary-bg);
}
html.dark-theme .faq_body, html.dark-theme .api pre{
    background-color: var(--bg);
}
html.dark-theme .swiper_payments .swiper-slide,
html.dark-theme table td{
    border: 1px solid var(--border);
}
html.dark-theme .swiper_payments::before{
    background: linear-gradient(to right, var(--bg), transparent);
}
html.dark-theme .swiper_payments::after{
    background: linear-gradient(to left, var(--bg), transparent);
}
html.dark-theme .swiper_payments .swiper-slide img{
    filter: grayscale(1) invert(1);
}
html.dark-theme table td, html.dark-theme input::placeholder{
    color: var(--text);
}
html.dark-theme input:-webkit-autofill,
html.dark-theme input:-webkit-autofill:hover,
html.dark-theme input:-webkit-autofill:focus,
html.dark-theme textarea:-webkit-autofill,
html.dark-theme select:-webkit-autofill {
    -webkit-text-fill-color: var(--text) !important;
}