﻿/* Story style */
.stories-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    .stories-bar::-webkit-scrollbar {
        display: none;
    }

.story-avatar {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #ADD8E6;
    padding: 3px;
}

    .story-avatar.seen {
        border-color: #ccc;
    }

    .story-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%
    }

.viewer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

    .viewer.hidden {
        display: none;
    }

.closeBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 100000;
}

#storyContent {
    position: relative;
    width: 420px;
    max-width: 95%;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #storyContent img,
    #storyContent video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
    }

#progressContainer {
    position: absolute;
    top: 20px;
    display: flex;
    gap: 5px;
    width: 420px;
    max-width: 95%;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, .3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: white;
}

/* Category Style */

.category-slider {
    padding: 10px 0;
}

    .category-slider .item {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        margin: 10px 0;
    }

        .category-slider .item .category-img-curosel {
            width: 55px;
            height: 55px;
            border-radius: 50%;
        }

    .category-slider p {
        font-size: 10px;
        margin: 0;
        font-weight: 700;
    }
    .category-slider .owl-stage {
        display: flex;
        justify-content: center;
    }

    .owl-carousel .owl-stage-outer {
        display: flex;
        justify-content: center;
    }