/* ===== Shorts Enhancement CSS ===== */

/* Hide default MediaElement controls on shorts for cleaner look */
.pt_shorts_swipe .swiper-wrapper .mejs__controls {
    display: none !important;
}

/* Tap-to-pause overlay icon */
.shorts-pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 20;
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.shorts-pause-indicator.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.shorts-pause-indicator svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* Double-tap heart animation */
.shorts-heart-anim {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 25;
    pointer-events: none;
    opacity: 0;
}
.shorts-heart-anim.animate {
    animation: shortsHeartPop 0.8s ease-out forwards;
}
.shorts-heart-anim svg {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

@keyframes shortsHeartPop {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3);
    }
    30% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    45% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -60%) scale(1);
    }
}

/* Mute/unmute toggle button */
.shorts-mute-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.45);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.shorts-mute-btn:hover {
    background: rgba(0,0,0,0.7);
}
.shorts-mute-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Progress bar at bottom of each short */
.shorts-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.2);
    z-index: 20;
    overflow: hidden;
}
.shorts-progress-fill {
    height: 100%;
    background: #ff4444;
    width: 0%;
    transition: width 0.25s linear;
}
