/* ============================================================================
   SUBSCRIPTION PROTECTION STYLES
   Add these styles to your main CSS file or in a <style> tag
   ============================================================================ */

/* Locked Navigation Link Styles */
.nav-link-locked {
    position: relative;
    opacity: 0.6 !important;
    cursor: pointer !important;
}

.nav-link-locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(239, 68, 68, 0.1) 10px,
        rgba(239, 68, 68, 0.1) 20px
    );
    pointer-events: none;
    border-radius: inherit;
}

.nav-link-locked:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    transform: none !important;
}

.lock-icon {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.9em;
    animation: lockShake 2s ease-in-out infinite;
}

@keyframes lockShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Subscription Notice Overlay */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Feature Lock Badge (for individual features on pages) */
.feature-locked {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

.feature-locked::before {
    content: '🔒 Subscription Required';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
    z-index: 10;
    white-space: nowrap;
}

/* Upgrade Badge for Premium Features */
.premium-feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Subscription Status Indicator */
.subscription-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscription-indicator.active {
    border-left: 4px solid #10b981;
    color: #059669;
}

.subscription-indicator.inactive {
    border-left: 4px solid #ef4444;
    color: #dc2626;
}

.subscription-indicator.trial {
    border-left: 4px solid #f59e0b;
    color: #d97706;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lock-icon {
        font-size: 0.8em;
    }
    
    .subscription-indicator {
        bottom: 10px;
        right: 10px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .feature-locked::before {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
