/* ========================
   Video Price Badge Styles
   ======================== */

.video-price-badge {
    position: absolute;
    top: 65px;
    right: 70px;
    background: rgba(47, 47, 47, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 15;
    min-width: 140px;
    animation: priceSlideIn 0.4s ease-out;
}

@keyframes priceSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.price-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.price-value {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    direction: rtl;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* تأثير النبض للمزادات الجارية */
.video-price-badge.live-auction {
    animation: priceSlideIn 0.4s ease-out, pulseBadge 2s ease-in-out infinite;
    background: rgba(47, 47, 47, 0.95);
}

@keyframes pulseBadge {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.video-price-badge.live-auction .price-value {
    color: #ffffff;
}

.video-price-badge.live-auction .price-label {
    color: rgba(255, 255, 255, 0.75);
}

/* للمزادات المنتهية */
.video-price-badge.ended-auction {
    background: rgba(47, 47, 47, 0.95);
}

.video-price-badge.ended-auction .price-value {
    color: #ffffff;
}

.video-price-badge.ended-auction .price-label {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================
   Responsive Design
   ======================== */

/* Tablets */
@media (max-width: 768px) {
    .video-price-badge {
        top: 70px;
        right: 15px;
        padding: 10px 16px;
        min-width: 120px;
        border-radius: 14px;
    }

    .price-label {
        font-size: 10px;
    }

    .price-value {
        font-size: 16px;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .video-price-badge {
        top: 60px;
        right: 12px;
        padding: 8px 14px;
        min-width: 110px;
        border-radius: 12px;
    }

    .price-label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .price-value {
        font-size: 14px;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    .video-price-badge {
        top: 55px;
        right: 10px;
        padding: 6px 12px;
        min-width: 100px;
        border-radius: 10px;
    }

    .price-label {
        font-size: 8px;
    }

    .price-value {
        font-size: 13px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .video-price-badge {
        top: 50px;
        right: 10px;
        padding: 6px 12px;
        min-width: 100px;
    }

    .price-label {
        font-size: 8px;
    }

    .price-value {
        font-size: 12px;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .video-price-badge {
        top: 90px;
        right: 25px;
        padding: 14px 24px;
        min-width: 160px;
        border-radius: 18px;
    }

    .price-label {
        font-size: 12px;
    }

    .price-value {
        font-size: 20px;
    }
}

/* ========================
   Thumbnails Strip Styles
   ======================== */

.thumbnails-strip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 12px;
    z-index: 25;
    max-width: 90%;
    overflow-x: auto;
}

.thumbnails-strip::-webkit-scrollbar {
    height: 4px;
}

.thumbnails-strip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.thumbnails-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.thumbnail-item {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item:hover {
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.thumbnail-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Thumbnails */
@media (max-width: 768px) {
    .thumbnails-strip {
        bottom: 15px;
        padding: 6px 10px;
        gap: 6px;
    }

    .thumbnail-item {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .thumbnail-play-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .thumbnails-strip {
        bottom: 12px;
        padding: 5px 8px;
        gap: 5px;
    }

    .thumbnail-item {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 6px;
    }

    .thumbnail-play-icon {
        width: 16px;
        height: 16px;
    }
}
