/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px!important;
    right: 20px!important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    max-width: 400px;
    width: calc(100vw - 40px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateX(0);
}

.cookie-banner-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner-content {
    flex: 1;
}

.cookie-banner-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner-icon {
    width: 22px;
    height: 22px;
    opacity: 0.9;
}

.cookie-banner-text {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.cookie-banner-text a {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: #ffed4e;
    text-decoration: none;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 90px;
    justify-content: center;
}

.cookie-btn-accept {
    background: #10b981;
    color: white;
}

.cookie-btn-accept:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.cookie-btn-settings {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    width: 100%;
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 15px;
        right: 15px;
        max-width: 350px;
        width: calc(100vw - 30px);
    }
    
    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        max-width: 320px;
        width: calc(100vw - 20px);
        padding: 1.25rem;
    }
    
    .cookie-banner-title {
        font-size: 1rem;
    }
    
    .cookie-banner-text {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        padding: 0.55rem 1rem;
        font-size: 0.75rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Animation for fade in */
@keyframes cookieFadeIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cookie-banner.animate-in {
    animation: cookieFadeIn 0.5s ease-out forwards;
}

/* Hide banner when accepted/declined */
.cookie-banner.hide {
    transform: translateX(100%);
    opacity: 0;
}
