#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
    width: 90%;
    font-size: 14px;
    line-height: 1.5;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    animation: slideIn 0.5s ease-out forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cookie-banner p {
    margin: 0;
    color: #bdc3c7;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

#cookie-banner button {
    flex: 1;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: scale(1);
}

#cookie-banner button:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#cookie-banner button:active {
    transform: scale(0.98);
}

#accept-cookies {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

#accept-cookies:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

#reject-cookies {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

#reject-cookies:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

#cookie-banner a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
}

#cookie-banner a:hover {
    color: #2980b9;
    text-decoration: underline;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    #cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
        animation: slideUp 0.4s ease-out forwards;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .cookie-buttons {
        flex-direction: row;
    }
    
    #cookie-banner button {
        padding: 12px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cookie-banner {
        animation: none;
        transform: none;
        opacity: 1;
    }
    
    #cookie-banner button:hover {
        transform: none;
    }
}