.simple-stories-container {
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    touch-action: pan-x pinch-zoom;
}

.simple-stories {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    width: 100%;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: all 0.5s ease-in-out;
}

.simple-stories:active {
    cursor: grabbing;
}

.simple-stories::-webkit-scrollbar {
    display: none;
}

.simple-stories .story {
    width: 86px;
    flex: 0 0 auto;
    text-align: center;
}

.simple-stories .story .item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.simple-stories .story .item-preview {
    display: block;
    width: 86px;
    height: 86px;
    position: relative;
}

.simple-stories .story .item-preview img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 4px;
    background: #fff;
    border: 2px solid #27ae60;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.simple-stories .story .info {
    display: block;
    font-size: 12px;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.simple-stories .story .info .name {
    font-weight: 500;
    color: #333;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Hover Effects */
.simple-stories .story:hover .item-preview img {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Active/Seen State */
.simple-stories .story.seen .item-preview img {
    border-color: #999;
}

/* Navigation Buttons */
.simple-stories-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.simple-stories-nav:hover {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.simple-stories-nav.prev {
    left: 5px;
}

.simple-stories-nav.next {
    right: 5px;
}

.simple-stories-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simple-stories {
        gap: 10px;
        padding: 10px;
    }
    
    .simple-stories .story {
        width: 70px;
    }
    
    .simple-stories .story .item-preview {
        width: 70px;
        height: 70px;
    }
    
    .simple-stories .story .item-preview img {
        width: 62px;
        height: 62px;
    }

    .simple-stories-nav {
        width: 25px;
        height: 25px;
    }

    .simple-stories-nav svg {
        width: 15px;
        height: 15px;
    }
} 