.story_overall_container{
    max-width: 98vw;
    display: flex;
    flex-flow: row nowrap;
    overflow-x:scroll;
    overflow-y: hidden;
    margin: 0.5rem auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.story_container{
    display: flex;
    flex-flow:column wrap;
    margin: 0.4rem;
}
.stories_videos{
    border-radius: 9999999999px;
    border: 4px solid white;
    outline:0.13rem solid rgb(123, 0, 255);
    background-color: rgb(228, 228, 228);
}
.story_title{
    text-align: center;
    color: rgba(72, 72, 72, 0.708);
    font-weight: 500;
    font-size: 0.6rem;
    margin-top:0.7rem;
    line-height: 0.9rem;
}
@media only screen and (max-width: 720px){
    .stories_videos{
        border-radius: 9999999999px;
        border: 4px solid white;
        outline: 0.13rem solid rgb(255, 0, 111);
    }
    .stories_overall_main_container{
        position: relative;
        z-index: 999999999999999999;
    }
    .stories_video_player_overall_container{
        display: flex;
        position: fixed;
        z-index: 999999999999999999999;
        top: 0px;
        right: 0px;
        width: 100vw;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.808);
    }
    .lowest_z_index{
        z-index: 99;
    }
    .stories_video_player_controll_all_container{
        width: 100vw;
        position: fixed;
        top: 0px;
        right: 0px;
    }
    .stories_video_player_controll_all_container svg{
        color: white;
    }
    .stories_video_player_top_progress_bar{
        width: 95vw;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* Equal-width columns */
        gap: 2px; /* Optional spacing */
        flex-flow: row-reverse nowrap;
        justify-content: space-around;
        margin:0.5rem auto;
        margin-top: 0rem;
        padding-top: 0.5rem;
        transform: rotateY(180deg);
    }
    .stories_video_player_top_controllers_container{
        width: 90vw;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        margin: 1rem auto;
    }
    .stories_video_player_top_controllers_inner_container{
        width: 2.8rem;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
    }
    .stories_video_player_midle_container{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* Equal-width columns */
        gap: 0px; /* Optional spacing */
        align-items: end;
        height: 55vh;
        width: 100vw;
    }
    .stories_video_player_top_container{
        height: 10vh;
        background: rgb(0,0,0);
        background: -moz-linear-gradient(180deg, rgba(0,0,0,0.6446953781512605) 0%, rgba(0,0,0,0) 100%);
        background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.6446953781512605) 0%, rgba(0,0,0,0) 100%);
        background: linear-gradient(180deg, rgba(0,0,0,0.6446953781512605) 0%, rgba(0,0,0,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
    }
    .stories_video_player_controll_left_liked_view_container{
        display: flex;
        flex-flow: row nowrap;
        align-items: flex-end;
        justify-content: space-between;
        margin:0rem;
        height: 20vh;
    }
    .stories_video_player_controll_left_liked_view_container>div{
        display: flex;
        flex-flow: column;
    }
    .stories_video_player_controll_left_liked_view_container_first_one{
        margin-bottom: 1.5rem;
    }
    .stories_video_player_bottom_description{
        width: 75%;
        color: white;
        font-weight: 500;
        font-size: 0.7rem;
        margin: 0.5rem;
        background: rgb(0,0,0);
        background: -moz-linear-gradient(270deg, rgba(0,0,0,0.4206057422969187) 0%, rgba(0,0,0,0.15730042016806722) 100%);
        background: -webkit-linear-gradient(270deg, rgba(0,0,0,0.4206057422969187) 0%, rgba(0,0,0,0.15730042016806722) 100%);
        background: linear-gradient(270deg, rgba(0,0,0,0.4206057422969187) 0%, rgba(0,0,0,0.15730042016806722) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
        padding: 0.5rem 0.2rem;
        line-height: 1.2rem;
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
    .stories_video_player_controll_right{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    .stories_video_player_controll_right svg{
        font-size: 1.5rem;
        color: #fff;
        font-weight: 900;
        opacity: 0;
        margin-bottom: 30%;
        margin-left: 2rem;
        border-radius: 50%;
        background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
        padding: 1.2rem;
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 32px rgba(0,0,0,0.1),
        inset 0 4px 12px rgba(255,255,255,0.15);
    }
    .stories_video_player_controll_midle{
        height: 100%;
    }
    .stories_video_player_controll_left{
        height: 100%;
    }
    .stories_video_player_controll_left_backword{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 70%;
    }
    .stories_video_player_controll_left_backword svg{
        margin-top: 120%;
        font-weight: 900;
        opacity: 0;
        margin-right: 2rem;
        border-radius: 50%;       
        font-size: 1.5rem;
        color: #fff;
        background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
        padding: 1.2rem;
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 32px rgba(0,0,0,0.1),
        inset 0 4px 12px rgba(255,255,255,0.15);
        
    }
    .stories_video_player_controll_left_liked_view_container{
        height: 30%;
    }
    .forward_backward_animat{
        animation: opacityScale 0.3s linear;
    }
    .display_none{
        display: none;
    }
    .prevent-zoom {
        touch-action: manipulation; /* Prevent double-tap zoom on mobile */
        user-select: none; /* Prevent text selection */
        -webkit-user-drag: none; /* Prevent image dragging in Safari */
    }

    /* Disable text selection for entire container */
    .select-none {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    .stories_video_player_bottom_container{
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        height: 20vh;
        background: rgb(0,0,0);
        background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6951155462184874) 62%, rgba(0,0,0,0) 100%);
    }
    .stories_video_player_bottom_controllers{
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
    }
    .stories_video_player_progress_bar_container{
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
    }
    .stories_video_player_progress_bar_range{
        width: 15rem;
        transform: rotateY(180deg);
    }
    .stories_video_player_progress_bar_currentTime{
        color: white;
        font-weight: 600;
        margin-top: 0.4rem;
        font-size: 0.8rem;
    }
    .stories_video_player_bottom_prodcut{
        width: 80%;
        display: flex;
        flex-flow: row nowrap;
        background-color: white;
        margin: 0.5rem;
        border-radius: 10px;
        margin-top: 0.8rem;
        margin-bottom: 1rem;
        
    }
    .stories_video_player_bottom_prodcut_details_title{
        display: inline-block;
        width:10rem;
        height: 1rem;
        font-size: 0.65rem;
        font-weight: 500;
        margin: 1rem 0.5rem 0rem 0rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .stories_video_player_bottom_prodcut_image{
        border-radius: 0px 10px 10px 0px;
    }
    .stories_video_player_bottom_prodcut_details_price{
        font-size: 0.6rem;
        font-weight: 500;
        margin-right: 0.7rem;
    }
    input[type=range]{
        -webkit-appearance: none;
        appearance: none;
        background: transparent;
        cursor: pointer;
    }
    
    input[type=range]::-webkit-slider-runnable-track {
        height: 4px;
        background: #ddd;
        border: none;
        border-radius: 5px;
    }
    
    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        border: none;
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background: rgb(218, 32, 134);
        margin-top: -6px;
    }
    
    input[type=range]:focus {
        outline: none;
    }
    
    input[type=range]:focus::-webkit-slider-runnable-track {
        background: #ccc;
    }
    .stories_video_player_controll_left_liked_view_container_inner{
        display: flex;
        flex-flow: row nowrap;
        transform: translateY(-1.5rem);
        margin-left: 0.5rem;
        background: rgb(0,0,0);
        background: -moz-radial-gradient(circle, rgba(0,0,0,0.16010154061624648) 53%, rgba(0,0,0,0.07886904761904767) 88%, rgba(0,0,0,0) 100%);
        background: -webkit-radial-gradient(circle, rgba(0,0,0,0.16010154061624648) 53%, rgba(0,0,0,0.07886904761904767) 88%, rgba(0,0,0,0) 100%);
        background: radial-gradient(circle, rgba(0,0,0,0.16010154061624648) 53%, rgba(0,0,0,0.07886904761904767) 88%, rgba(0,0,0,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
        padding: 0.5rem;
        backdrop-filter: blur(5px);
        border-radius: 20px;
    }
    .stories_video_player_controll_left_liked_view_container_inner div{
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
    }
    .stories_video_player_controll_left_liked_view_container_inner span{
        font-weight: 500;
        font-size: 0.7rem;
        color: white;
        margin-top: 0.4rem;
    }
    .stories_video_player_controll_left_liked_view_container_first_one svg{
        font-size: 1.3rem;
    }
    .stories_video_player_main_video{
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 16:9 Aspect Ratio */
        overflow: hidden;
    }
    .stories_video_player_main_video_track{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* or 'contain' based on your needs */
    }
    .stories_video_player_top_progress_bar_span{
        background-color: rgba(255, 255, 255, 0.438);
        height: 0.13rem;
        border-radius: 10px;
    }
    .white_backGround_color{
        background-color: rgb(230, 230, 230);
    }
}



/* For mobile portrait orientation */
@media (max-width: 768px) and (orientation: portrait) {
    .stories_video_player_main_video {
      padding-top: 177.77%; /* 9:16 Aspect Ratio */
    }
}

/* For square aspect ratio */
@media (max-width: 480px) {
    .stories_video_player_main_video {
      padding-top: 100%; /* 1:1 Aspect Ratio */
    }
}






  .icon-enter {
    animation: iconEntrance 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards,
               iconGlow 0.8s ease-out 0.1s,
               iconExit 0.6s ease-in 0.6s forwards;
  }
  
  
  
  @keyframes iconEntrance {
    0% {
      opacity: 0;
      transform: scale(0.2);
    }
    80% {
      transform: scale(1.1);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  @keyframes iconGlow {
    0%, 100% {
      text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
      text-shadow: 0 0 12px rgba(255, 255, 255, 0.8),
                   0 0 24px rgba(255, 255, 255, 0.4);
    }
  }
  
  @keyframes iconExit {
    to {
      opacity: 0;
      transform:scale(0.8) translateY(20px);
      filter: blur(4px);
    }
  }
  
  .forward-icon {
    font-size: 4rem;
    color: #fff;
    background: linear-gradient(145deg, 
      rgba(255,255,255,0.15), 
      rgba(255,255,255,0.05));
    padding: 1rem;
    border-radius: 50%;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2),
               inset 0 2px 8px rgba(255,255,255,0.2);
  }











