/* Add this to your existing footer or create a floating cookie preferences link */

/* Floating Cookie Preferences Link */
.cookie-preferences-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(126, 85, 216);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(126, 85, 216, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.cookie-preferences-link:hover {
    background: rgba(126, 85, 216, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 85, 216, 0.4);
    color: white;
    text-decoration: none;
}

.cookie-preferences-link:focus {
    outline: 2px solid  rgba(126, 85, 216);
    outline-offset: 2px;
}

.cookie-preferences-link .cookie-icon {
    font-size: 16px;
}

/* Hide the link if cookie banner is visible */
.cookie-consent-banner.show ~ .cookie-preferences-link {
    display: none;
}

/* Animation for smooth appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-preferences-link.show {
    animation: fadeInUp 0.5s ease forwards;
}

@media (max-width: 768px) {
    .cookie-preferences-link {
        bottom: 80px; /* Move up to avoid mobile browser controls */
        left: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }
}
