/* RGNR Video Packs - Frontend Styles */

/* Styles pour les packs de vidéos */
.rsr-single.is-pack {
    position: relative;
}

.rsr-single.is-pack .rsr-progress {
    position: relative;
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    margin: 8px 0;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rsr-single.is-pack .rsr-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #FEA376 0%, #FD9A67 100%);
    border-radius: 6px;
    transition: width 0.5s ease-in-out;
    position: relative;
}

.rsr-single.is-pack .rsr-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.rsr-single.is-pack .rsr-progress-text {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
    text-align: center;
    width: 100%;
}

/* Boutons d'achat de pack */
.pack-purchase-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-buy-pack, .btn-subscribe {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-buy-pack {
    background: #FEA376;
    color: white;
    box-shadow: 0 4px 12px rgba(254, 163, 118, 0.3);
}

.btn-buy-pack:hover {
    background: #FD9A67;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 163, 118, 0.4);
    color: white;
}

.btn-subscribe {
    background: white;
    color: #FEA376;
    border: 2px solid #FEA376;
}

.btn-subscribe:hover {
    background: #FEA376;
    color: white;
}

.btn-icon {
    margin-right: 8px;
    font-size: 16px;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-title {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.btn-subtitle {
    font-size: 14px;
    font-weight: 700;
}

.btn-price {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-buy-pack, .btn-subscribe {
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .btn-price {
        font-size: 16px;
    }
}
