.story-placeholder{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #030303;
}
.story-modal-wrapper
{
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    background-color: #1A1A1A;
    z-index: 2020;
}
.story-modal-container
{
    position: relative;
    /* background-color: #c03737; */
    background-color: #030303;
    max-width: 464px;
    max-height: 889px;
    height: 100%;
    direction: rtl;
    overflow: hidden;
}
.dismiss-wrapper
{
    width: 28px;
    height: 28px;
    position: absolute;
    top: 24px;
    right: 40px;
    z-index: 101;
    cursor: pointer;
}
.dismiss-wrapper svg
{
    width: 100%;
    height: 100%;
}
.logo-wrapper
{
    width: 140px;
    height: 30px;
    position: absolute;
    top: 24px;
    left: 24px;
}
.logo-wrapper svg
{
    width: 100%;
    height:100%;
}
.story-header
{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 24px;
    width: calc(100% - 32px);
    right: 16px;
    gap: 8px;
    z-index: 100;
}
.progress-bar-wrapper
{
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 100px;
}
.progress-bar-wrapper span
{
    width: 1%;
    height: 100%;
    background: #ffffff;
    display: block;
    transition: width 0.3s linear;
}
.story-time
{
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #ffffff;
    display: flex;
    gap: 4px;
    align-items: center;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}
.story-user-info{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}
.avatar-container{
    border-radius: 50%;
    border: 1px solid  #FFF;
    background-color: #dddddd;
    width: 32px;
    height: 32px;
    overflow: hidden;
}
.avatar-container span{
    width: 100%;
    height: 100%;
    display: flex;
    background-position: center;
    background-size: cover;
}
.story-full-name{
    color:#FFF;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}
.progress-control-container{
    width: 16px;
    height: 18px;
    display: block;
    cursor: pointer;
}
.progress-control{
    position: relative;
}
.progress-control .dismiss-wrapper{
    display: none;
}
.waiting-loader{
    width: 32px;
    height: 32px;
    position: absolute;
    left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.waiting-loader .spinner-wrapper{
    /* width: 48px;
    height: 48px; */
    position: unset;

}
/* .waiting-loader .spinner-border{
    width: 48px;
    height: 48px;
    position: unset;

} */
.story-content{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.request-image
{
    width: 100%;
    height: auto;
    filter: blur(1px) brightness(0.75);
}
.request-sticker-wrapper
{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}
.request-sticker{
    position: relative;
    min-width: 312px;
    max-width: 384px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 16px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 24px;
    border-radius: 16px;
}
.request-sticker .owner-info{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    margin-top: 48px;
    gap: 8px;
}
.request-sticker .request-owner{
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 27px;
    color: #030303;
}

.story-profile-photo-container {
    position: absolute;
    top: -37px;
    left: 7;
    width: 90%;
    display: flex;
    justify-content: center;
}

.request-sticker .owner-image-wrapper{
    position: relative;
    left: 6px;
    /* right: calc(50% - 32px); */
    width: 74px;
    height: 74px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
    background-color: #dddddd;
}
.request-location
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 24px;
    color: rgba(3, 3, 3, 0.7);
}
.request-location svg 
{
    width: 20px;
    height: 20px;
}
.search-for{
    color: #030303;
}
.search-for span:first-child{
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 31px;
    text-align: right;
}
.search-for span:last-child{
    font-weight: 500;
    font-size: 20px;
    line-height: 34px;
    text-align: center;
}
.phone-num-btn
{
    width: 100%;
    height: 40px;
    display: flex;
    background: #FF9828;
    border-radius: 8px;
    border: 0;
    color: #ffffff;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.phone-num-btn svg
{    width: 14px;
    height:20px;
}
.phone-num-btn:focus,
.phone-num-btn:focus-visible
{
    box-shadow: unset;
    outline: unset;
}
.phone-num-btn.disable {
    background: #c4c4c4 !important;
    color: rgba(255, 255, 255, 0.7);
}
.story-footer
{
    position: absolute;
    bottom: 0;
    width: 100%;
}
.story-footer .no-bg
{
    background: transparent;
}
.story-footer .product-info-wrapper
{
    display: flex;
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(0deg, rgba(38, 38, 38, 0.60) 0%, rgba(38, 38, 38, 0.00) 100%), linear-gradient(0deg, rgba(26, 26, 26, 0.10) 0%, rgba(128, 128, 128, 0.00) 100%);
    backdrop-filter: blur(1.5px);
}
.story-footer .product-info-wrapper .product-name
{
    color:  #F9F9F9;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}
.story-footer .detail-redirection
{
    display: flex;
    align-items: center;
    cursor: pointer;
}
.story-footer .detail-redirection span
{
    color:  #CBCBCB;
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
}
.story-footer .detail-redirection svg
{
    width: 20px;
    height: 20px;
}
.phone-message-wrapper{
    display: grid;
    grid-template-columns: auto 48px;
    width: 100%;
    min-height: 60px;
    align-items: center;
    background: #000;
    direction: ltr;
    z-index: 200;
    padding: 8px 12px 8px 16px;
    gap: 4px;
}
.story-footer .phone-message-wrapper.just-message
{
    display: flex;
}
.story-message-wrapper {
    border: 1px solid #FFF;
    border-radius: 25px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}
.story-message-wrapper.full-width {
    width: 100%;
}
.story-message-wrapper textarea {
    border: none;
    padding: 8px 16px 0;
    direction: rtl;
    text-align: right;
    box-shadow: 0px 4px 8px rgb(0 0 0 / 15%);
    background-color: unset;
    color: #ffffff;
    resize: none;
    /* gray/97 */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 44px;
    max-height: 130px;
    border-radius: 25px;
}

.story-message-wrapper textarea::placeholder {
    color: #FFF;
}


.story-message-wrapper textarea::-webkit-scrollbar {
  display: none;
}
.story-message-button-wrapper {
  flex-basis: 56px;
  display: flex;
  max-height: 150px;
}
.story-message-button-wrapper {
  flex-basis: 56px;
  display: flex;
  flex-direction: column-reverse;
  max-height: 150px;
}

.story-button-wrapper {
    position: relative;
    z-index: 101;
}

.story-button-wrapper button {
  display: flex;
  align-items: center;
  /* width: 40px;
  height: 40px; */
  padding: 0;
  bottom: 8px;
  border: 0;
  background-color: unset;
  /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); */
  border-radius: 50%;
}

.story-button-wrapper button svg {
    width: 28px;
    height: 28px;
}

.story-message-button-wrapper button svg {
  margin-top: 2px;
  padding-left: 3px;
}
.success-message {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 36px;
    left: 0;
    bottom: 84px;
    padding: 0 16px;
}
.success-message span{
    direction: rtl;
    width: auto;
    height: auto;
    background: #757575;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #ffffff;
    padding: 8px;
}
.story-body {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: 32px auto 32px;
    align-items: center;
    direction: ltr;
    gap: 16px;
}

.control {
    display: flex;
    align-items: center;
    justify-content: center;
}
.buskool-icon-button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 4px;
}
.buskool-icon-button span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    padding: 8px;
}
.control-icon {
    width: 32px;
    height: 32px;
    background-color: #ededed;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;  
}
.control-icon.disabled {
    background: #757575;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
}
.control-icon svg {
    pointer-events: none;
}
.control-icon.disabled svg path{
    fill:#030303;
}
.disable-touch {
    pointer-events: none !important;
}
/* .spinner-wrapper .spinner-border{
    color: #ffffff!important;
    width: 3rem;
    height: 3rem;
} */
/* .waiting-loader{
    position: absolute;
    top: 16px;
    left: 0;
} */
.waiting-loader .spinner-border{
    width: 2rem;
    height: 2rem;
    position: unset;
    color: #ffffff!important;
}
@media (min-width:1024px) {
    .story-modal-container
    {
        width: 464px;
    }
}
@media (max-width:1023px) {
    .story-modal-container
    {
        width: 396px;
    }
    

    .request-sticker{
        min-width: 312px;
        max-width: 348px;
    }
}
@media (max-width:991px) {  
    .story-modal-container
    {
        max-height: unset;
    }
} 
@media (max-width:767px) {   
    .logo-wrapper
    {
        display: none;
    }
    .dismiss-wrapper
    {
        top: 16px;
        right: 16px;
    }
    .story-modal-container
    {
        position: absolute;
        width: 464px;
        /* height: 100%; */
        top: 0;
    }
    .request-sticker{
        min-width: 312px;
        max-width: 416px;
    }
    .next-story{
        position: absolute;
        left: 0;
        z-index: 100;
        height: calc(100vh - 110px);
        top: 50px;
        width: 50px;
    }
    .previous-story{
        position: absolute;
        right: 0;
        z-index: 100;
        height: calc(100vh - 110px);
        top: 50px;
        width: 50px;
    }
    .control-icon{
        display: none;
    }
    .story-body {
        width: 464px;
    }
}
@media (min-width:599px) {
    .progress-control .just-mobile{
        display: none;
    }
}
@media (max-width:599px) {
    .not-mobile{
        display: none;
    }
    .story-body
    {
        width: 100%;
    }
    .story-modal-container
    {
        width: 100%;
        max-width: unset;
    }
    .story-header
    {
        top: 8px;
    }
    .request-sticker{
        min-width: 260px;
        max-width: 312px;
    }
    .progress-control-container{
        display: none;
    }
    .dismiss-wrapper
    {
        display: none;
    }
    .progress-control .dismiss-wrapper
    {
        display: block;
        width: 28px;
        height: 28px;
        cursor: pointer;
        position: unset;
    }
}

.story-body .promotion-modal-v3-container{
    width: 420px !important;
}
@media( max-width:991px){
    .story-body .promotion-modal-v3-container{
        width: 312px !important;
    }

}
