/* ===========================
   PROTECTION DES PROGRAMMES
   Modals pour connexion/abonnement requis
   =========================== */

.protection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.protection-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.protection-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    text-align: center;
}

.protection-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f87171, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.protection-modal-icon.subscription {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.protection-modal-content h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 800;
}

.protection-modal-content p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.protection-benefits {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.protection-benefits h3 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 700;
}

.protection-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protection-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4b5563;
}

.protection-benefits li i {
    color: #16BC83;
    font-size: 1.1rem;
}

.protection-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.protection-modal-buttons .btn {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.protection-modal-buttons .btn-primary {
    background: linear-gradient(135deg, #16BC83, #0B84A5);
    color: white;
}

.protection-modal-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 188, 131, 0.3);
}

.protection-modal-buttons .btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
}

.protection-modal-buttons .btn-secondary:hover {
    background: #e5e7eb;
}

.protection-modal-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #9ca3af;
}

.protection-modal-note a {
    color: #16BC83;
    text-decoration: none;
    font-weight: 600;
}

.protection-modal-note a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .protection-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .protection-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .protection-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .protection-modal-content p {
        font-size: 1rem;
    }
    
    .protection-modal-buttons {
        flex-direction: column;
    }
    
    .protection-modal-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
