/* Swipe Indicator Styles */
.swipe-indicator {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 100px;
    background: transparent;
    border-radius: 3px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9999;
}

.swipe-indicator.active {
    opacity: 1;
}

.swipe-progress {
    width: 100%;
    height: 0;
    background: var(--primary-color);
    border-radius: 3px;
    transition: height 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Page Slide Animations */
.page {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right-out {
    animation: slideRightOut 0.3s ease-out forwards;
}

.slide-right-in {
    animation: slideRightIn 0.3s ease-out forwards;
}

.slide-left-out {
    animation: slideLeftOut 0.3s ease-out forwards;
}

.slide-left-in {
    animation: slideLeftIn 0.3s ease-out forwards;
}

@keyframes slideRightOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideRightIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeftOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideLeftIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* تعطيل الإيماءات على الأجهزة الكبيرة */
@media (min-width: 769px) {
    .swipe-indicator {
        display: none;
    }
}