﻿.brequest_popup_cover {
    background: var(--cwBodyShadow, rgba(0,0,0,0.5));
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brequest_popup {
    width: 707px;
    height: 800px;
    background: var(--bg-level-1, var(--cwModalBg));
    color: var(--text-level-high, var(--cwModalTxt));
    border: 1px solid var(--bg-level-3, var(--cwModalBg2));
    border-radius: 16px;
    padding: 12px 16px 16px 16px;
    display: flex;
    flex-direction: column;
}

.brequest_popup *::-webkit-scrollbar {
    width: 6px;
}

.brequest_popup *::-webkit-scrollbar-thumb {
    border-radius: 6px;
}

/*Bonus Request Popup Header*/
.brequest_popup_header {
    display: flex;
    border-bottom: 1px solid var(--bg-level-3, var(--cwModalBg2));
    padding: 8px 0px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.brequest_popup_header_title {
    color: var(--text-level-high, var(--cwModalTxt));
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.brequest_popup_header > div{
    gap: 12px;
}

.brequest_popup_close {
    width: 24px;
    height: 24px;
    color: var(--icon-level-high, var(--cwModalTxt));
    background: none;
    border: 0;
    cursor: pointer;
}

.brequest_popup_close .dynamic_icon {
    font-size: 36px;
    line-height: 24px;
}

.brequest_popup_header p {
    color: var(--text-level-medium, var(--cwModalTxt2));
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

/*Bonus Request Popup content*/
.brequest_popup_content {
    padding-top: 16px;
    flex-grow: 1;
    max-height: calc(100% - 126px);
    overflow-y: auto;
}

.brequest_popup_item {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--bg-level-3, var(--cwModalBg2));
    background: var(--bg-level-2, var(--cwModalBgHover));
    margin-bottom: 16px;
}

.brequest_popup_inner{
    gap: 16px;
}

.brequest_popup_inner_cont {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brequest_primary_img {
    min-width: 346px;
    position: relative;
}

.brequest_popup_inner img {
    width: 100%;
    flex-shrink: 0;
    height: auto;
    border-radius: 8px;
}

.brequest_primary_img span {
    position: absolute;
    min-width: 102px;
    min-height: 26px;
    background-color: var(--btn-primary, var(--cwButtonBg));
    color: var(--text-level-high, var(--cwButtonTxt));
    font-weight: 700;
    font-size: 12px;
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0 0 12px;
    top: 0;
    left: 0;
}

.brequest_popup_item_select {
    display: flex;
    min-height: 44px;
    padding: 14px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid var(--btn-primary, var(--cwButtonBg));
    color: var(--btn-primary, var(--cwButtonBg));
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    width: 100%;
}

.brequest_popup_item_name {
    color: var(--text-level-high, var(--cwModalTxt));
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.brequest_popup_item_type {
    color: var(--text-level-medium, var(--cwModalTxt2));
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.brequest_popup_inner_cont .gap-4{
    gap: 4px;
}

.brequest_popup_item hr {
    margin-top: 16px;
    border: 0;
    border-top: 1px solid var(--bg-level-3, var(--cwModalBg2));
}

.brequest_popup_timer {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.brequest_popup_timer li {
    display: flex;
    flex-direction: column;
    width: 25%;
    gap: 4px;
}

.brequest_popup_timer li span:first-child {
    color: var(--text-level-medium, var(--cwModalTxt2));
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    text-transform: lowercase;
}

.brequest_popup_timer li span:last-child {
    order: -1;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-level-3, var(--cwModalBg3));
    text-align: center;
    color: var(--text-level-high, var(--cwModalTxt));
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    height:36px;
}

.brequest_popup_item_details {
    padding: 12px 12px 8px 12px;
    border-radius: 8px;
    background: var(--bg-level-3, var(--cwModalBg3));
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.brequest_popup_item_details_text {
    color: var(--text-level-medium, var(--cwModalTxt2));
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    max-height: 95px;
    /*display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;*/
    overflow: hidden;
}

.brequest_popup_item_details_text h1,
.brequest_popup_item_details_text h2,
.brequest_popup_item_details_text h3,
.brequest_popup_item_details_text h4,
.brequest_popup_item_details_text h5{
    color: var(--text-level-high, var(--cwModalTxt));
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 8px;
}

.brequest_popup_item_details_text img{
    max-width: 100%;
    height: auto;
}

.brequest_popup_item_details_text{
    line-height: initial;
}


.brequest_popup_item_details_text.opened {
    max-height: 212px;
    overflow-y: auto;
}

.brequest_popup_item_details_more {
    padding: 12px 0;
    background: none;
    border: 0;
    color: var(--text-level-high, var(--cwModalTxt));
    cursor: pointer;
    gap: 4px;
}

.brequest_popup_item_details_more span{
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.brequest_popup_item_details_more .less_txt{
    display: none;
}

.brequest_popup_item_details_more.show_less .more_txt {
    display: none;
}

.brequest_popup_item_details_more.show_less .less_txt {
    display: inline-block;
}

.brequest_popup_item_details_more i {
    font-size: 28px;
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: all .34s;
}

.brequest_popup_item_details_more.show_less i {
    transform: rotate(180deg);
}

/*Bonus Request Popup Footer*/
.brequest_popup_footer {
    border-top: 1px solid var(--bg-level-3, var(--cwModalBg3));
    padding-top: 12px;
}

.brequest_popup_footer_btn {
    color: var(--text-level-high, var(--cwButtonTxt));
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 14px 24px;
    border-radius: 12px;
    background: var(--btn-primary, var(--cwButtonBg));
    cursor: pointer;
    border: 0;
}

@media only screen and (max-height: 820px){
    .brequest_popup{
        height: calc(100vh - 40px);
    }
}

@media only screen and (max-width: 1080px) {
    .brequest_popup{
        width: 100%;
    }
}